/* Revenue entry only: native controls and existing calculation hooks stay intact. */
#revenuePanel{padding:20px;border-color:#dfe9e9;border-radius:22px!important;box-shadow:0 10px 32px #0e2a4708}
#revenueForm,#revenueForm *{box-sizing:border-box}
#revenueForm{min-width:0}
#revenueForm label{font-size:12px;font-weight:650;color:#526b7b;margin:0 0 7px;line-height:1.4}
#revenueForm input,#revenueForm select{min-width:0;max-width:100%;font-size:16px;border:1px solid #dbe5e9;border-radius:12px;background:#fff;color:#163348;min-height:48px;padding:11px 12px;transition:border-color .18s,box-shadow .18s}
#revenueForm input:focus,#revenueForm select:focus{border-color:#179e7b;box-shadow:0 0 0 3px #179e7b16;outline:none}
#revenueForm .entry-person{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:12px;padding:0 0 16px;margin-bottom:16px;border-bottom:1px solid #edf1f3;align-items:center}
#revenueForm .entry-person::before{content:'';grid-row:1 / 3;width:40px;height:40px;border-radius:14px;background-color:#eaf6f1;background-position:center;background-repeat:no-repeat;background-size:22px}
#revenueForm .entry-person label{grid-column:2;margin:0 0 2px;font-size:11px;color:#718591}
#revenueForm #revenueIdentity{grid-column:2;border:0;border-radius:0;background:transparent;padding:0;min-height:0;font-size:17px;line-height:1.5;font-weight:750;overflow-wrap:anywhere;color:#163348}
#revenueForm .entry-details.grid.two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}
#revenueForm .entry-details>div{min-width:0}
#revenueForm input[type=date]{display:block;width:100%;min-width:0;max-width:100%;height:48px;min-inline-size:0;appearance:none;-webkit-appearance:none;direction:ltr;text-align:start;font-size:16px}
#revenueForm input[type=date]::-webkit-date-and-time-value{margin:0;text-align:start;min-height:1.3em}
#revenueForm select:disabled{opacity:1;background:#f7faf9;color:#163348}
#revenueForm #revenueAccess{display:block;border:0;background:transparent;border-radius:0;margin:9px 0 0;padding:0;color:#768b88;font-size:10px;line-height:1.5;overflow-wrap:anywhere}
#revenueForm .closed-day-notice{margin:12px 0 0;border:0;border-inline-start:3px solid #dab36f;border-radius:0 10px 10px 0;background:#fffaef;padding:10px 12px;gap:2px;color:#7b5a20}
#revenueForm .closed-day-notice b{font-size:12px}
#revenueForm .closed-day-notice span{font-size:11px;line-height:1.5}
#revenueForm .money-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}
#revenueForm .field-money{position:relative;min-width:0;padding:13px 14px 10px;border:1px solid #e0e9ec;border-radius:15px;background:linear-gradient(145deg,#fff,#f7faf9);transition:border-color .18s,box-shadow .18s}
#revenueForm .field-money:focus-within{border-color:#179e7b;box-shadow:0 0 0 3px #179e7b12;background:#fff}
#revenueForm .field-money label{display:flex;align-items:center;gap:7px;margin-bottom:7px;color:#4e6877;font-size:12px}
#revenueForm .field-money label::before{content:'';display:block;flex:none;width:25px;height:25px;border-radius:8px;background-color:#eaf5f0;background-position:center;background-size:16px;background-repeat:no-repeat}
#revenueForm .field-money input{display:block;width:100%;min-height:34px;height:34px;border:0;border-radius:0;padding:0;padding-inline-end:17px;background:transparent;font-size:23px;line-height:34px;font-weight:750;font-variant-numeric:tabular-nums;color:#163348;box-shadow:none!important;direction:ltr;text-align:start;-moz-appearance:textfield}
#revenueForm .field-money input::-webkit-outer-spin-button,#revenueForm .field-money input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
#revenueForm .field-money input::placeholder{color:#a6b5bb;font-weight:500;opacity:1}
#revenueForm .field-money::after{content:none}
#revenueForm .total-row{margin:14px 0 20px;padding:15px 16px!important;gap:12px;border:0;border-radius:15px!important;background:linear-gradient(110deg,#102f46,#165251)!important;color:#fff!important}
#revenueForm .total-row span{color:#d4e7e5!important;font-size:11px;font-weight:650;letter-spacing:.07em}
#revenueForm .total-row strong{color:#88ecc9!important;font-size:26px;line-height:1.2;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
#revenueForm .entry-note{margin:0 0 4px}
#revenueForm .entry-note input{background:#f9fbfb}
#revenueForm>.primary{min-height:50px;border-radius:13px!important;background:#0d6f58;box-shadow:0 4px 12px #0d6f5818;font-size:15px}
#revenueForm>.primary:disabled{box-shadow:none}
html[dir=rtl] #revenueForm .closed-day-notice{border-radius:10px 0 0 10px}
html[dir=rtl] #revenueForm .field-money input{text-align:start}
html[dir=rtl] #revenueForm .total-row strong{direction:ltr;unicode-bidi:isolate}
@media(min-width:700px){#revenueForm .money-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:620px){#revenuePanel{padding:16px;border-radius:20px!important}#revenueForm .entry-details.grid.two{gap:10px}#revenueForm .field-money{padding:12px 12px 9px}}
@media(prefers-reduced-motion:reduce){#revenueForm input,#revenueForm select,#revenueForm .field-money{transition:none}}

#revenueForm .entry-person::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23188568%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M5%2021v-2a7%207%200%200%201%2014%200v2%22%2F%3E%3C%2Fsvg%3E")}
#revenueForm .field-money:nth-child(1) label::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23188568%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%225%22%20width%3D%2220%22%20height%3D%2214%22%20rx%3D%222%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%223%22%2F%3E%3Cpath%20d%3D%22M5%208h1m12%208h1%22%2F%3E%3C%2Fsvg%3E")}
#revenueForm .field-money:nth-child(2) label::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23188568%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%222%22%20y%3D%224%22%20width%3D%2220%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M2%209h20M6%2015h4%22%2F%3E%3C%2Fsvg%3E")}
#revenueForm .field-money:nth-child(3) label::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23188568%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18%22%2F%3E%3C%2Fsvg%3E")}
#revenueForm .field-money:nth-child(4) label::before{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23188568%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%208%209-5%209%205M3%209h18M5%2011v7m5-7v7m4-7v7m5-7v7M3%2021h18%22%2F%3E%3C%2Fsvg%3E")}

/* Currency occupies its own flex column; never overlay the native number input. */
#revenueForm .money-input-row{display:flex;align-items:center;gap:8px;min-width:0;height:34px;direction:ltr;unicode-bidi:isolate}
#revenueForm .money-input-row input{flex:1 1 0;width:0;min-width:0;max-width:100%;padding:0;margin:0;direction:ltr;text-align:left}
#revenueForm .money-currency{display:block;flex:0 0 auto;position:static;font-size:16px;line-height:34px;color:#83969e;white-space:nowrap;pointer-events:none;direction:ltr}
html[dir=rtl] #revenueForm .money-input-row input{direction:ltr;text-align:left;padding:0}
