@charset "UTF-8";
:root{font-family:Tahoma,"Segoe UI",Arial,sans-serif;color:#253b34;background:#f5f7f5;font-size:15px;font-synthesis:none;--green:#116149;--green-dark:#0d4c39;--mint:#e9f4ed;--muted:#77867f;--line:#e6ece7;--white:#fff;--red:#b84b40;--orange:#a27529}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid #65a991}button{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:27px;line-height:1.5;letter-spacing:-.7px}h2{font-size:18px}h3{font-size:16px}p{line-height:1.85}a{color:var(--green)}svg{width:22px;height:22px;display:block;flex-shrink:0}.muted{color:var(--muted)}.small{font-size:12px}.ltr{direction:ltr;unicode-bidi:isolate}.hidden,[hidden]{display:none!important}.boot{min-height:100dvh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:22px}.brand-mark{direction:ltr;display:grid;place-content:center;width:43px;height:43px;flex-shrink:0;border-radius:13px;background:var(--green);color:#fff;font-family:Arial,sans-serif;font-size:28px;font-weight:800;position:relative}.brand-mark span{position:absolute;bottom:3px;right:6px;color:#b9df83;font-size:18px}.brand{display:flex;align-items:center;gap:11px}.brand-name{direction:ltr;font-family:Arial,sans-serif;font-size:22px;font-weight:750;letter-spacing:-.6px}.brand-tag{font-size:11px;color:var(--muted);margin-top:2px}.app-header{height:86px;border-bottom:1px solid var(--line);background:#fff}.header-inner{max-width:1112px;margin:auto;padding:0 28px;height:100%;display:flex;align-items:center;justify-content:space-between}.header-actions{display:flex;gap:14px;align-items:center}.store-chip{display:flex;gap:10px;align-items:center}.avatar{width:36px;height:36px;border:1px solid #dce7df;background:#f1f6ef;border-radius:50%;display:grid;place-items:center;font-weight:700;color:var(--green)}.icon-button{border:1px solid var(--line);background:#fff;display:grid;place-items:center;width:40px;height:40px;border-radius:12px}.desktop-nav{display:flex;align-items:center;gap:6px}.nav-button{border:0;background:transparent;padding:12px 16px;display:flex;align-items:center;gap:8px;color:#69786f;font-size:13px;border-radius:9px;font-weight:600}.nav-button.active{color:var(--green);background:var(--mint)}.nav-button svg{width:19px;height:19px}.app-main{max-width:1060px;margin:0 auto;padding:35px 0 128px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.eyebrow{font-size:12px;color:#7c8c80;margin-bottom:5px}.subheading{color:var(--muted);font-size:13px;margin-top:7px}.date-chip{display:flex;align-items:center;gap:8px;color:#7d8b82;font-size:12px}.date-chip svg{width:16px;height:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid var(--line);border-radius:11px;background:#fff;font-weight:600;font-size:13px;line-height:1.7;text-decoration:none}.button svg{width:18px;height:18px}.button.primary{background:var(--green);border-color:var(--green);color:#fff}.button.primary:hover{background:var(--green-dark)}.button.soft{background:var(--mint);border-color:var(--mint);color:var(--green)}.button.danger{color:var(--red);border-color:#f0d9d6;background:#fff6f5}.button.full{width:100%}.text-button{color:var(--green);font-size:12px;font-weight:600;background:none;border:none;padding:10px 0}.hero-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:18px;margin-bottom:24px}.sales-card{background:var(--green);color:#fff;border-radius:17px;padding:24px 27px;min-height:190px;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.sales-card:after{content:"";width:220px;height:220px;border:1px solid #ffffff12;border-radius:50%;position:absolute;left:-92px;top:-80px;pointer-events:none}.sales-top{display:flex;justify-content:space-between;align-items:center}.sales-label{font-size:13px;color:#e0eee7}.sales-icon{background:#ffffff15;width:37px;height:37px;border-radius:11px;display:grid;place-items:center}.money{font-variant-numeric:tabular-nums}.big-money{font-size:39px;letter-spacing:-1px;font-weight:700;line-height:1.5}.currency{font-size:12px;letter-spacing:0;font-weight:400;margin-inline-start:6px}.sales-foot{display:flex;align-items:center;gap:10px;font-size:12px;color:#d2e8dc;padding-top:14px;border-top:1px solid #ffffff22;margin-top:16px}.sales-foot strong{font-size:14px;color:#fff;letter-spacing:.2px}.balance-pair{display:grid;grid-template-columns:1fr 1fr;gap:14px}.balance-card{border:1px solid var(--line);border-radius:17px;background:#fff;padding:23px 20px;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;text-align:right;position:relative}.balance-card .label{font-size:13px;color:#69786f;margin-top:17px}.balance-card .value{font-size:24px;font-weight:700;margin-top:10px;line-height:1.5}.balance-card .small{margin-top:8px}.round-icon{display:grid;place-items:center;background:var(--mint);color:var(--green);width:38px;height:38px;border-radius:12px}.round-icon.amber{background:#fcf3e5;color:#a67a32}.home-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:20px;align-items:start}.section-card{border:1px solid var(--line);background:#fff;border-radius:16px;overflow:hidden}.section-card+.section-card{margin-top:20px}.section-head{padding:20px 22px 15px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-head h2{font-size:15px;display:flex;align-items:center;gap:8px}.count-badge{font-size:10px;background:#f1f4f0;color:#728173;padding:3px 7px;border-radius:6px;font-weight:400}.count-badge.amber{color:#a17526;background:#fbf2de}.list{margin:0;padding:0;list-style:none}.list-row{display:flex;gap:13px;align-items:center;width:100%;text-align:right;background:#fff;border:0;border-bottom:1px solid #f0f3ef;padding:16px 22px;min-height:75px;color:inherit}.list-row:last-child{border-bottom:0}.list-row:hover{background:#fafcf9}.row-icon{width:39px;height:39px;display:grid;place-items:center;flex-shrink:0;border-radius:12px;background:#f3f6f1;color:#779273}.row-icon.sale,.row-icon.received{background:#edf7ef;color:#397f56}.row-icon.purchase,.row-icon.paid{background:#faf3e7;color:#a98954}.row-body{min-width:0;flex:1}.row-title{font-size:13px;font-weight:600;line-height:1.8;overflow-wrap:anywhere}.row-subtitle{font-size:11px;color:#8a958e;line-height:1.8;margin-top:3px}.row-end{text-align:left;flex-shrink:0;max-width:43%;font-size:13px;font-weight:600;line-height:1.8}.row-end .currency{font-size:10px;margin-inline-start:3px}.badge{font-size:10px;font-weight:400;display:inline-block;border-radius:5px;padding:2px 7px;background:#f0f4ed;color:#7b886a;margin-top:4px;line-height:1.6}.badge.warning{color:#a1742a;background:#fcf4e5}.badge.danger{color:#a7564a;background:#fcece9}.badge.paid{color:#428263;background:#eff7f0}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px 22px;min-height:180px;gap:10px}.empty .empty-icon{background:#f4f7f1;color:#8aa482;width:51px;height:51px;border-radius:16px;display:grid;place-items:center;margin-bottom:4px}.empty h3{font-size:14px}.empty p{font-size:12px;color:#8a978d;max-width:290px}.home-side .empty{min-height:165px}.voice-tip{padding:19px 22px;display:flex;align-items:flex-start;gap:12px;background:#eff4ed;border:1px solid #e4eade;border-radius:14px;margin-top:20px}.voice-tip svg{color:#7b9370;width:20px;height:20px;margin-top:2px}.voice-tip strong{font-size:12px}.voice-tip p{font-size:11px;color:#829079;line-height:1.9;margin-top:4px}.rank-row{display:flex;align-items:center;gap:12px;padding:12px 22px;font-size:12px;border-bottom:1px solid #f3f5f1}.rank-number{color:#a7b5a5;font-size:11px}.rank-row strong{flex:1;font-weight:500}.rank-tabs{display:flex;padding:0 22px 8px;gap:16px}.rank-tab{border:0;background:none;padding:8px 0;font-size:11px;color:#8d9a8e;border-bottom:2px solid transparent}.rank-tab.active{border-color:#63966c;color:var(--green)}.voice-dock{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:15;display:flex;align-items:center;gap:9px;padding:8px;background:#fff;border:1px solid #dce7df;border-radius:18px;box-shadow:0 7px 30px #273f2910}.voice-button{background:var(--green);color:#fff;border:none;border-radius:12px;min-height:50px;padding:12px 26px;display:flex;align-items:center;justify-content:center;gap:11px;font-weight:600;touch-action:none;user-select:none;-webkit-user-select:none;white-space:nowrap}.voice-button svg{width:23px;height:23px}.voice-button.listening{background:#ac473e}.manual-button{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:12px 17px;min-height:50px;color:#6d7f72;font-size:12px}.manual-button svg{width:17px;height:17px}.mobile-nav{display:none}.toolbar{display:flex;align-items:center;gap:12px;margin-bottom:20px}.search-wrap{position:relative;flex:1}.search-wrap svg{position:absolute;right:15px;top:14px;color:#9dab9f;width:18px;height:18px}.search-wrap input{padding-right:43px}.toolbar .filter{width:auto;min-width:130px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field label{font-size:12px;font-weight:600;display:flex;justify-content:space-between;align-items:center;gap:8px}.field input,.field select,.field textarea,.toolbar input,.toolbar select{width:100%;min-height:46px;border:1px solid #dce5dd;border-radius:9px;background:#fff;padding:11px 13px;color:#304337;line-height:1.5;transition:border-color .1s}.toolbar .search-wrap input{padding-right:43px}.field input:focus,.field select:focus,.field textarea:focus,.toolbar input:focus,.toolbar select:focus{outline:2px solid #bad7c4;outline-offset:1px;border-color:#78a38b}.field textarea{resize:vertical;min-height:85px}.field input::placeholder,.field textarea::placeholder,.toolbar input::placeholder{color:#a0ada3}.field small{font-size:11px;color:#88978b;line-height:1.7}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.field.wide{grid-column:1/-1}.helper-link{border:0;background:none;color:var(--green);font-size:11px;padding:3px 0;font-weight:500}.panel-summary{display:flex;gap:16px;padding:21px;border-bottom:1px solid var(--line)}.summary-item{flex:1}.summary-item span{display:block;font-size:11px;color:#839283}.summary-item strong{display:block;margin-top:8px;font-size:23px}.catalog-list .list-row{padding-top:18px;padding-bottom:18px}.catalog-list .row-title{font-size:14px}.catalog-list .row-end{font-size:18px}.subnav{display:flex;gap:8px;margin:0 0 18px;flex-wrap:wrap}.pill{border:1px solid var(--line);border-radius:8px;background:#fff;padding:8px 14px;min-height:36px;font-size:12px;color:#81907f}.pill.active{background:#e9f3e9;border-color:#cce1cf;color:var(--green)}.error-box{border:1px solid #edcfc7;background:#fff4ef;color:#97493c;padding:13px 15px;border-radius:9px;font-size:12px;line-height:1.9;margin-bottom:16px}.notice{background:#f8f3e6;border:1px solid #eee2c5;color:#8d733e;padding:12px 14px;border-radius:9px;font-size:12px;line-height:1.9;margin:0 0 18px}.notice p+p{margin-top:5px}.notice.info{background:#f0f6f1;border-color:#dbe9db;color:#647f63}.loader{width:23px;height:23px;border:2px solid #deebe0;border-top-color:var(--green);border-radius:50%;animation:spin .8s linear infinite;display:inline-block}.loading{display:flex;align-items:center;justify-content:center;min-height:220px;gap:13px;color:#8a9b8c;font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:1px solid #dce5dc;border-radius:18px;padding:0;color:inherit;width:min(550px,calc(100vw - 28px));max-height:calc(100dvh - 40px);box-shadow:0 30px 100px #0b29142b;overflow:auto}dialog::backdrop{background:#152f2580;backdrop-filter:blur(2px)}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 24px 17px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{font-size:18px}.modal-body{padding:24px}.modal-body>p{font-size:13px;margin-bottom:19px;color:#7b8c7c}.modal-foot{display:flex;gap:10px;margin-top:20px}.modal-foot .primary{flex:1}.review-total{border:1px solid #dceade;background:#f2f8f1;border-radius:11px;padding:15px 18px;margin:4px 0 17px;display:flex;flex-direction:column;gap:10px}.review-total>div{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px}.review-total strong{font-size:19px}.review-total .outstanding{border-top:1px solid #dfeadf;padding-top:10px;color:#78816a}.check-field{display:flex;align-items:flex-start;gap:9px;font-size:12px;line-height:1.8;margin:0 0 18px}.check-field input{width:18px;height:18px;accent-color:var(--green);flex-shrink:0;margin:2px 0}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.choice-button{border:1px solid var(--line);background:#fff;border-radius:12px;padding:19px 14px;display:flex;gap:13px;align-items:center;text-align:right;min-height:85px}.choice-button:hover{border-color:#9bbc9c;background:#f7faf5}.choice-button strong{font-size:13px}.choice-button small{display:block;color:#97a191;font-size:10px;margin-top:5px}.details-top{display:flex;align-items:center;gap:14px;margin-bottom:23px}.details-top .round-icon{width:51px;height:51px}.details-top h3{font-size:19px}.details-values{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:18px}.detail-value{padding:15px;background:#f5f8f2;border-radius:10px}.detail-value span{font-size:11px;color:#82927d}.detail-value strong{display:block;font-size:21px;margin-top:9px}.details-actions{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px}.details-actions .button{flex:1;min-width:105px;font-size:11px}.detail-history{border:1px solid var(--line);border-radius:11px;overflow:hidden}.detail-history .list-row{padding:13px 15px}.detail-label{font-size:13px;margin:20px 0 13px}.auth-shell{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr;max-width:1200px;margin:auto;padding:45px 35px;gap:80px;align-items:center}.auth-story{padding:35px 15px 35px 40px;align-self:stretch;display:flex;flex-direction:column;justify-content:space-between}.auth-story .brand{margin-bottom:70px}.auth-story h1{font-size:40px;max-width:450px;line-height:1.6;color:#235b42}.auth-story .intro{font-size:15px;color:#819079;line-height:2.1;margin-top:22px;max-width:370px}.auth-story footer{font-size:11px;color:#91a08b;margin-top:45px}.auth-card{background:#fff;border:1px solid #e0e9df;border-radius:20px;padding:35px;max-width:460px;width:100%;box-shadow:0 15px 45px #1e402a04}.auth-card h2{font-size:22px;margin-bottom:9px}.auth-card>p{font-size:12px;color:#8c9888;margin-bottom:26px}.auth-card form>.button{margin-top:4px;min-height:48px}.auth-switch{text-align:center;font-size:12px;padding-top:20px;margin-top:23px;border-top:1px solid var(--line);color:#98a38e}.auth-switch button{background:none;border:0;color:var(--green);font-weight:600;font-size:12px;padding:6px 8px}.auth-note{font-size:10px!important;margin-top:19px!important;margin-bottom:0!important;text-align:center;line-height:1.9}.notebook{max-width:365px;background:#fff;border:1px solid #dce7d9;border-radius:15px;margin-top:36px;transform:rotate(-3deg);box-shadow:0 16px 25px #36583309;overflow:hidden}.notebook-top{background:#edf4e9;padding:14px 21px;font-size:12px;color:#67855b;display:flex;align-items:center;gap:9px}.notebook-lines{padding:10px 21px 17px}.notebook-line{padding:15px 0;border-bottom:1px solid #edf0e9;display:flex;gap:10px;align-items:center;font-size:12px;color:#789170}.notebook-line:last-child{border:0}.notebook-line svg{width:18px;height:18px}.notebook-line span{flex:1}.notebook-line i{width:40px;height:5px;border-radius:3px;background:#e2eadd}.auth-small-brand{display:none}.recovery-code{display:block;padding:17px;background:#f1f6ed;border:1px dashed #9ab48c;border-radius:8px;text-align:center;direction:ltr;font-family:monospace;font-size:18px;word-break:break-all;user-select:all;margin:19px 0}.voice-status{display:flex;flex-direction:column;align-items:center;padding:13px 0 25px;text-align:center;gap:14px}.voice-status .voice-orb{width:65px;height:65px;background:var(--mint);border-radius:50%;display:grid;place-items:center;color:var(--green)}.voice-status .voice-orb svg{width:30px;height:30px}.voice-status h3{font-size:20px}.voice-status p{font-size:12px;color:#8b9887}.transcript{background:#f5f7f2;border-radius:9px;padding:13px 15px;font-size:12px;line-height:2;white-space:pre-wrap;margin-bottom:18px;overflow-wrap:anywhere}.speech-privacy{font-size:10px;color:#9ba592;text-align:center;line-height:1.8;margin-top:13px}.voided{opacity:.6}.voided .row-title{text-decoration:line-through}#toast{position:fixed;bottom:112px;left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);background:#183f2c;color:#fff;padding:14px 22px;z-index:100;border-radius:12px;box-shadow:0 6px 22px #0002;font-size:13px;line-height:1.8;text-align:center}#connection{background:#fbebd8;color:#876c3d;font-size:12px;line-height:1.8;padding:8px 18px;text-align:center}.noscript{padding:25px;text-align:center}.busy{pointer-events:none;opacity:.6}.offline-page{min-height:100dvh;display:flex;align-items:center;justify-content:center;padding:24px}.offline-card{max-width:380px;text-align:center;background:white;padding:35px;border:1px solid var(--line);border-radius:20px}.offline-card .brand-mark{margin:auto auto 24px}.offline-card h1{font-size:23px}.offline-card p{font-size:13px;color:#84917e;margin:18px 0 24px}
@media(min-width:1600px){.app-main{padding-top:48px}.hero-grid{margin-bottom:29px}.sales-card{min-height:212px}.app-header{height:92px}}
@media(max-width:1120px){.app-main{margin:0 28px}.desktop-nav .nav-button{padding:11px 13px}.header-inner{padding:0 25px}.auth-shell{gap:25px}}
@media(max-width:800px){.app-header{height:72px}.header-inner{padding:0 21px}.desktop-nav{display:none}.brand-mark{width:37px;height:37px;font-size:24px;border-radius:11px}.brand-name{font-size:20px}.app-main{margin:0 21px;padding:27px 0 165px}.store-chip .store-name{display:none}.header-actions{gap:10px}.store-chip{gap:0}.header-actions>.icon-button{width:36px;height:36px}.page-heading{margin-bottom:20px}h1{font-size:23px}.subheading{font-size:12px}.date-chip{font-size:10px}.hero-grid{grid-template-columns:1fr;gap:13px;margin-bottom:20px}.sales-card{min-height:168px;padding:21px 22px}.balance-pair{gap:13px}.balance-card{padding:17px 18px;min-height:137px;display:block}.balance-card>.round-icon{position:absolute;left:16px;top:17px;width:31px;height:31px;border-radius:9px}.balance-card>.round-icon svg{width:17px;height:17px}.balance-card .label{margin-top:6px;font-size:12px}.balance-card .value{font-size:24px;margin-top:16px}.balance-card .small{font-size:10px}.home-grid{grid-template-columns:1fr;gap:18px}.home-side{display:contents}.home-activity{order:2}.home-side>.section-card{order:1}.home-side>.section-card+.section-card{order:3;margin-top:0}.voice-tip{order:4;margin-top:0}.mobile-nav{display:flex;position:fixed;bottom:0;right:0;left:0;z-index:20;background:#fff;border-top:1px solid var(--line);padding:9px 10px calc(9px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav .nav-button{flex-direction:column;gap:5px;padding:5px 10px;background:none;font-size:10px;min-width:60px}.mobile-nav .nav-button svg{width:21px;height:21px}.mobile-nav .nav-button.active{color:var(--green)}.voice-dock{bottom:calc(80px + env(safe-area-inset-bottom));border-radius:15px;padding:6px;gap:2px}.voice-button{min-height:47px;padding:11px 20px;font-size:13px}.manual-button{padding:10px 13px;font-size:11px;white-space:nowrap}.manual-button svg{width:15px;height:15px}.voice-button svg{width:20px;height:20px}#toast{bottom:150px}.auth-shell{grid-template-columns:1fr;max-width:500px;gap:0;padding:32px 22px}.auth-story{display:none}.auth-small-brand{display:flex;margin-bottom:28px}.auth-card{padding:27px;width:100%}.auth-card h2{font-size:21px}.section-head{padding:18px 18px 10px}.list-row{padding:15px 18px}.rank-row{padding:12px 18px}.catalog-list .list-row{padding:16px 17px}.choice-grid{gap:9px}.choice-button{padding:15px 11px;gap:10px}.date-chip svg{display:none}}
@media(max-width:420px){.app-main{margin:0 15px}.header-inner{padding:0 16px}.page-heading{gap:8px}.page-heading .button{padding:9px 11px;font-size:11px}.date-chip{display:none}.brand-tag{font-size:10px}.balance-card{padding:16px}.balance-card .value{font-size:22px}.balance-card>.round-icon{left:12px}.balance-card .currency{font-size:10px}.modal-head{padding:16px 18px}.modal-body{padding:20px 18px}.form-grid{gap:0 11px}.field label{font-size:11px}.toolbar{gap:8px}.toolbar .filter{min-width:104px;font-size:11px}.choice-button .round-icon{width:30px;height:33px}.choice-button strong{font-size:12px}.choice-button small{font-size:9px}.row-title{font-size:12px}.big-money{font-size:35px}.auth-card{padding:25px 21px}.auth-shell{padding:24px 16px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
.auth-forgot{text-align:left;margin:-5px 0 13px}.recovery-check{margin-top:20px}.accounts-summary{margin-bottom:20px}.manual-text-link{text-align:center;margin-top:16px}.opening-hint{margin:8px 0}.candidate-hint{margin:-7px 0 16px}.negative-check{margin:10px 0 0}.load-more{padding:18px;text-align:center}
/* Legible Arabic and generous touch targets across the notebook. */
:root{font-size:16px}.small,.brand-tag,.row-subtitle,.badge,.count-badge,.currency,.row-end .currency,.voice-tip p,.voice-tip strong,.rank-number,.rank-tab,.field small,.helper-link,.summary-item span,.choice-button small,.detail-value span,.auth-story footer,.auth-card>p,.auth-switch,.auth-switch button,.auth-note,.speech-privacy,.voice-status p,.date-chip,.auth-note{font-size:12px!important}.field input,.field select,.field textarea,.toolbar input,.toolbar select{font-size:16px}.field label,.nav-button,.row-title,.catalog-list .row-title,.button,.text-button,.rank-row,.balance-card .label,.sales-label,.sales-foot,.section-head h2,.choice-button strong,.detail-label,.details-actions .button,.auth-switch button{font-size:14px!important}.row-end{font-size:14px}.icon-button{min-width:44px;min-height:44px}.nav-button,.text-button,.rank-tab,.pill,.helper-link{min-height:44px}.helper-link{display:inline-flex;align-items:center}.empty h3{font-size:15px}.empty p{font-size:13px}.panel-summary{padding:22px}.notice,.error-box,.check-field,.transcript{font-size:13px}.section-head{padding-bottom:12px}.subheading{font-size:14px}.auth-note{line-height:1.9}.row-title{line-height:1.9}.load-more .button{min-height:44px}
@media(max-width:800px){.header-actions>.icon-button{width:44px;height:44px}.brand-tag{font-size:12px}.mobile-nav .nav-button{font-size:14px;padding:6px 9px;gap:4px}.mobile-nav{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom))}.voice-dock{bottom:calc(94px + env(safe-area-inset-bottom))}.app-main{padding-bottom:184px}.manual-button{font-size:13px}.balance-card .label{margin-top:5px}.balance-card .small{font-size:12px}.balance-card{min-height:153px}.date-chip{display:none}.voice-tip{padding:17px}.field label{line-height:1.7}.row-end .currency{font-size:12px}.sales-foot{gap:8px}.sales-foot strong{font-size:15px}.choice-button{align-items:flex-start}.choice-button small{line-height:1.8}.toolbar .filter{font-size:14px;min-width:125px}#toast{bottom:170px}}
@media(max-width:420px){.mobile-nav .nav-button{min-width:73px}.balance-card>.round-icon{width:26px;height:26px;top:18px;left:12px}.balance-card .label{max-width:calc(100% - 23px)}.balance-card .currency{font-size:12px}.subheading{font-size:13px}.choice-button .round-icon{width:28px;height:31px}.choice-button{gap:8px}.balance-pair{gap:10px}.balance-card{padding:15px 13px}.row-title{font-size:14px}.row-subtitle{line-height:1.9}.form-grid .field label{font-size:14px!important}.page-heading .button{font-size:13px!important}}
.voice-button{touch-action:none;user-select:none}.balance-card .money{flex-wrap:wrap;max-width:100%}.money bdi{overflow-wrap:anywhere;max-width:100%}@media(max-width:420px){.mobile-nav .nav-button{min-width:0;flex:1;padding-inline:3px}}

/* Products and services share one quiet, mobile-first notebook. */
.settings-trigger{border:0;background:transparent;padding:4px;min-height:44px;border-radius:10px;text-align:right}
.subscription-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.subscription-notice .button{flex-shrink:0;margin:0;padding:4px 0;min-height:36px}
.subscription-summary{padding:16px;background:#f4f7f1;border-radius:10px;margin-top:20px;line-height:1.9}
.subscription-summary p{margin-top:7px}
.contact-picker{padding:14px;border:1px solid var(--line);border-radius:12px;background:#fafcf9}
.contact-picker label{flex-wrap:wrap;gap:4px}
.contact-picker .contact-create{justify-content:flex-start;min-height:44px}
.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.voice-dock{display:flex;flex-direction:column;gap:1px;max-width:calc(100vw - 24px)}
.voice-dock-actions{display:flex;align-items:center;gap:5px;width:100%}
.dock-privacy{font-size:11px;line-height:1.7;text-align:center;color:#647469;padding:1px 6px 3px;max-width:355px}
.voice-finish{margin-bottom:10px;min-height:50px}
.voice-debug{margin-top:18px;border:1px dashed #a5bfa8;padding:12px;border-radius:9px;font-size:12px}
.voice-debug summary{cursor:pointer;padding:7px 0}
.voice-debug pre{white-space:pre-wrap;overflow-wrap:anywhere;text-align:left;max-height:320px;overflow:auto;font-size:11px;line-height:1.65}
.performance-filters{padding:18px 20px;display:flex;align-items:end;gap:15px;margin-bottom:18px;flex-wrap:wrap}
.performance-filters>.field{flex:1;min-width:150px;margin:0}
.performance-filters>.form-grid{flex:2;min-width:260px}
.performance-filters .form-grid .field{margin-bottom:0}
.performance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.performance-value{padding:22px;min-width:0;border-bottom:1px solid var(--line)}
.performance-value>strong{display:block;font-size:25px;line-height:1.65;margin-top:9px;overflow-wrap:anywhere}
.performance-value>p{margin-top:8px}
.performance-value .money{max-width:100%;flex-wrap:wrap}
.performance-secondary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:18px}
.performance-secondary .performance-value>strong{font-size:22px}
.performance-range{margin:14px 0;direction:ltr;text-align:right}
.performance-note{margin:16px 0 22px}
.performance-ranks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}
.performance-ranks>.section-card{margin:0}
.performance-ranks .rank-row{flex-wrap:wrap}.performance-ranks .rank-row>span:last-child{font-size:12px}
.row-icon.expense{background:#fff1e7;color:#a36d42}
.sale-cart{margin-bottom:20px}.cart-lines{display:grid;gap:14px;margin-bottom:12px}.cart-line{padding:16px;border:1px solid var(--line);border-radius:11px;background:#fbfcfa;min-width:0}.cart-line-head,.cart-line-total{display:flex;justify-content:space-between;align-items:center;gap:10px}.cart-line-head{margin-bottom:8px;font-size:13px}.cart-line-head .button{font-size:12px!important;padding:5px 8px;min-width:0}.cart-line>.text-button{margin-top:-12px;margin-bottom:10px}.cart-line .form-grid .field{margin-bottom:10px}.cart-line-total{font-size:13px;padding-top:10px;border-top:1px solid var(--line)}.cart-line-total .money{font-weight:600}.cart-line .field{min-width:0}.cart-line select{width:100%;min-width:0;text-overflow:ellipsis}.optional-contact{margin-bottom:12px}.expense-pressure{padding:20px;margin-bottom:18px}.expense-pressure>p{margin-top:9px}.velocity-note{color:var(--orange);line-height:1.8}.sales-hint{margin:4px 0 12px;opacity:.8}.cash-received{margin-top:13px}.sales-card .sales-foot+.sales-foot{margin-top:10px;padding-top:10px}.sales-card .sales-foot{flex-wrap:wrap}
@media(max-width:800px){
 .voice-dock{bottom:calc(94px + env(safe-area-inset-bottom));padding:6px}
 .dock-privacy{font-size:10px;max-width:315px}
 .app-main{padding-bottom:212px}
 .performance-ranks{grid-template-columns:1fr}
 .performance-value{padding:18px 15px}
 .performance-value>strong{font-size:23px}
 .performance-filters{padding:16px;gap:12px}
 .performance-filters>.form-grid{flex-basis:100%;min-width:0;order:2}
 .performance-filters>.button{min-height:46px}
 .performance-range{font-size:12px}
 .mobile-nav .nav-button{font-size:12px!important;line-height:1.5;max-width:28%;text-align:center}
 #toast{bottom:205px}
}
@media(max-width:420px){
 .performance-grid,.performance-secondary{grid-template-columns:1fr}
 .performance-value{padding:17px 19px}
 .performance-value>strong{font-size:25px}
 .contact-picker{padding:12px}
 .page-heading>.button{flex-shrink:0}
 .voice-button{padding-inline:17px}
 .voice-dock-actions{gap:1px}
 .manual-button{padding-inline:11px}
}

/* Slim, right-to-left AI draft: summary on the right, three icon actions on the left. */
.quick-transaction-review{display:grid;gap:10px;min-width:0}
.quick-transaction-card{direction:rtl;min-width:0;background:#fff;border:1px solid var(--line);border-radius:11px;padding:13px 14px;display:grid;gap:8px;transition:background .2s,border-color .2s,opacity .2s,transform .2s}
.quick-transaction-main{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-width:0}
.quick-transaction-summary{min-width:0;display:grid;gap:3px;text-align:right}
.quick-transaction-top{min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:6px}
.quick-transaction-heading{font-size:14px;line-height:1.55;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.quick-transaction-status{font-size:10px;line-height:1.5;color:#216342;font-weight:650}
.quick-transaction-status.needs-review{color:#976724}
.quick-transaction-lines{display:flex;align-items:center;gap:3px 9px;flex-wrap:wrap;min-width:0;font-size:11px;line-height:1.6;color:var(--muted)}
.quick-transaction-detail{display:inline-block;max-width:100%;overflow-wrap:anywhere}
.quick-transaction-detail+.quick-transaction-detail:before{content:'·';margin-inline-end:9px;color:#b4c0b8}
.quick-transaction-value{color:var(--green);font-weight:750;font-size:17px;line-height:1.45;font-variant-numeric:tabular-nums}
.quick-transaction-value .currency{font-size:11px;margin-inline-start:4px}
.quick-transaction-actions{display:flex;flex-wrap:nowrap;align-items:center;gap:1px;direction:rtl;flex-shrink:0}
.quick-transaction-actions .quick-action{appearance:none;border:0;background:transparent;box-shadow:none;color:#63776b;padding:0;width:36px;height:38px;min-width:36px;min-height:38px;display:grid;place-items:center;border-radius:7px;transition:background .15s,color .15s}
.quick-transaction-actions .quick-action svg{width:17px;height:17px}
.quick-transaction-actions .quick-save{color:#16844e}
.quick-transaction-actions .quick-discard{color:#9b7370}
.quick-transaction-actions .quick-action:hover{background:#f0f5f1}
.quick-transaction-actions .quick-save:hover{background:#e4f4e9;color:#08633a}
.quick-transaction-actions .quick-discard:hover{background:#fff0ed;color:#a23e36}
.quick-transaction-actions .quick-action:focus-visible{outline:2px solid #65a991;outline-offset:2px}
.quick-transaction-issue{font-size:11px;line-height:1.6;color:#966c27}
.quick-received{display:flex;gap:7px;align-items:center;width:max-content;max-width:100%;font-size:11px;color:#597166;cursor:pointer}
.quick-received input{accent-color:var(--green);width:15px;height:15px;margin:0}
.quick-transaction-error{margin:0!important;scroll-margin:70px}
.quick-transaction-editor{border-top:1px solid var(--line);padding-top:12px;min-width:0}
.quick-transaction-card.is-saved{border-color:#b5d8c1;background:#f6fbf7;animation:quick-saved-in .33s ease-out}
.quick-transaction-card.is-saved .quick-transaction-status{color:#217447}
.quick-saved-check{display:grid;place-items:center;width:36px;height:38px;color:#16844e;animation:quick-saved-in .33s ease-out}
.quick-saved-check svg{width:18px;height:18px}
.quick-transaction-card.quick-discarded{opacity:.25;transform:scale(.99)}
@keyframes quick-saved-in{0%{opacity:.6;transform:scale(.99)}100%{opacity:1;transform:scale(1)}}
@media(max-width:420px){.quick-transaction-card{padding:11px 10px}.quick-transaction-main{gap:5px}.quick-transaction-heading{font-size:13px}.quick-transaction-lines{font-size:10px;gap:2px 6px}.quick-transaction-actions .quick-action,.quick-saved-check{width:34px;min-width:34px;height:36px;min-height:36px}.quick-transaction-value{font-size:16px}}
@media(prefers-reduced-motion:reduce){.quick-transaction-card,.quick-saved-check{animation:none!important;transition:none!important}}

/* Inline shortcuts for unmatched entities; lightweight enough for the slim card. */
.quick-add-suggestions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-width:0}
.quick-add-suggestions[hidden]{display:none}
.quick-add-link{display:inline-flex;align-items:center;gap:4px;max-width:100%;min-height:31px;padding:4px 9px;border:1px solid #d8e8dd;border-radius:7px;background:#f5faf6;color:#246648;font:inherit;font-size:11px;font-weight:600;cursor:pointer;text-align:right;overflow-wrap:anywhere}
.quick-add-link svg{width:13px;height:13px;flex:none}
.quick-add-link:hover{background:#e7f4e9;border-color:#a7d0b3}
.quick-add-link:focus-visible{outline:2px solid #65a991;outline-offset:2px}

/* Purchases: compact, independent stock receipt and supplier payment confirmations. */
.quick-purchase-checks{display:flex;align-items:center;flex-wrap:wrap;gap:6px 20px}
.quick-purchase-checks .quick-received{min-height:28px}
.quick-purchase-checks .quick-received input:focus-visible{outline:2px solid #65a991;outline-offset:2px}

/* Team-management controls — intentionally compact and consistent with the merchant UI. */
.team-list{padding:0 18px 12px}.team-row{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:17px 4px;border-bottom:1px solid var(--line)}.team-row:last-child{border-bottom:0}.team-person{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}.team-person strong{font-size:14px}.team-person .badge{margin-top:5px}.team-controls{display:flex;align-items:center;gap:12px}.team-controls select{border:1px solid var(--line);background:#fff;border-radius:8px;min-width:100px;min-height:44px;padding:7px 10px}.team-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:14px 22px 20px}.team-invite-code{display:block;background:#f3f7f3;padding:16px;border-radius:8px;direction:ltr;text-align:center;font-size:12px;letter-spacing:1px;word-break:break-all;user-select:all;margin:14px 0}.team-invite-result .button{margin:7px 0 0 8px}.team-join-link{display:block;margin:12px auto 0}.team-row .text-button{padding-inline:6px}.team-row .text-button.danger{color:var(--red)}
@media(max-width:640px){.team-row{align-items:flex-start;flex-direction:column;gap:10px}.team-controls{width:100%;justify-content:space-between}.team-list{padding:0 13px 10px}.team-quick-actions{flex-direction:column;align-items:stretch}.team-quick-actions .button{width:100%}.mobile-nav .nav-button{min-width:0;flex:1;padding-inline:1px;gap:2px;font-size:11px!important}.mobile-nav .nav-button svg{width:18px;height:18px}}

/* Merchant activation v3: compact, Sudanese-Arabic, mobile-first onboarding. */
.signup-step[hidden],.signup-step .field[hidden],.activation-card[hidden]{display:none!important}
.signup-progress{display:flex;justify-content:space-between;gap:10px;margin:9px 0 16px;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}
.signup-business h3{font-size:15px;margin:15px 0 7px}.signup-business h3:first-child{margin-top:3px}
.industry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0 14px}
.industry-choice{border:1px solid var(--line);border-radius:10px;background:white;padding:11px 7px;display:flex;align-items:center;gap:9px;min-height:55px;text-align:right;color:var(--ink);cursor:pointer;font:inherit;font-size:12px;font-weight:550}
.industry-choice svg{width:18px;height:18px;flex:none;color:var(--muted)}
.industry-choice.selected{border-color:#1e7b56;background:#f0f8f3;color:#115938;box-shadow:inset 0 0 0 1px #1e7b56}
.industry-choice:focus-visible,.business-model-choice:focus-within,.activation-step:focus-visible{outline:2px solid #1e7b56;outline-offset:2px}
.business-model-grid{display:grid;gap:8px;margin:9px 0 15px}
.business-model-choice{padding:12px 14px;border:1px solid var(--line);border-radius:10px;display:flex;align-items:center;gap:12px;cursor:pointer;background:#fff}
.business-model-choice:has(input:checked){border-color:#1e7b56;background:#f0f8f3}
.business-model-choice input,.onboarding-confirm input{accent-color:#1e7b56}
.onboarding-confirm{margin:12px 0;line-height:1.8;align-items:flex-start;font-size:12px}
.signup-business .button,.signup-identity .button{margin-top:5px}
.activation-card{background:#fcfdfb;border:1px solid #c9e0cd;border-radius:14px;padding:18px 20px;margin:0 0 24px}
.activation-head{display:flex;align-items:start;justify-content:space-between;gap:10px}
.activation-head h2{font-size:19px;margin:0 0 5px;color:#134e36}.activation-head .text-button{flex:none}
.activation-meter{display:flex;align-items:center;gap:13px;font-size:12px;margin:12px 0 15px;color:#47705c}
.activation-bar{flex:1;height:6px;border-radius:8px;overflow:hidden;background:#e0ede4}
.activation-bar>div{background:#1b875c;height:100%;border-radius:8px;transition:width .2s}
.activation-steps{display:grid;gap:7px}
.activation-step{width:100%;display:flex;gap:12px;align-items:center;background:white;text-align:right;border:1px solid #dfe9e0;border-radius:9px;padding:11px;cursor:pointer;color:inherit}
.activation-step-icon{width:30px;height:30px;flex:none;border-radius:50%;background:#edf5ee;color:#258158;display:grid;place-items:center}
.activation-step-icon svg{width:17px;height:17px}
.activation-step.complete .activation-step-icon{background:#d7f0e0}
.activation-step-copy{display:grid;gap:3px;min-width:0}.activation-step-copy strong{font-size:13px}.activation-step-copy small{font-size:11px;color:var(--muted)}
.activation-help{display:flex;justify-content:flex-end;margin-top:10px}
.first-item-modal{display:grid;gap:12px}.first-item-modal .field{margin:0}.first-item-modal .button{min-height:43px}
.first-guide{display:grid;gap:12px}.first-guide ol{padding-inline-start:22px;margin:0;line-height:2}.first-guide .button{width:100%}
@media(max-width:480px){.activation-card{padding:14px 12px}.industry-choice{font-size:11px;padding:10px 7px;gap:6px}.industry-choice svg{width:16px;height:16px}.activation-head h2{font-size:17px}}
@media(prefers-reduced-motion:reduce){.activation-bar>div{transition:none}}

/* Phase 3D — supplier-receipt catalog import: intentionally light and responsive. */
.receipt-head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.receipt-import-upload{display:grid;gap:13px}
.receipt-import-upload .field{margin:0}
.receipt-import-upload input[type=file]{width:100%;font-size:13px;padding:12px;background:#f7faf7;border:1px solid var(--line);border-radius:9px}
.receipt-import-upload .check-field{align-items:flex-start;line-height:1.7;font-size:12px}
.receipt-review{min-width:0}
.receipt-review-form{display:grid;gap:14px}
.receipt-line-card{display:grid;gap:10px;min-width:0;padding:13px;border:1px solid var(--line);border-radius:11px;background:#fcfdfb}
.receipt-line-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.receipt-line-head strong{font-size:13px}
.receipt-line-head select{max-width:100%;border:1px solid #cbded0;border-radius:7px;padding:9px;font:inherit;color:#134e36;background:#fff;font-size:12px}
.receipt-line-card .field{margin:0;min-width:0}
.receipt-line-card .form-grid{margin:0;gap:10px}
.receipt-line-warning{margin:0;color:#8f631c;line-height:1.7;font-size:11px}
.receipt-review-form>.check-field{align-items:flex-start;font-size:12px;line-height:1.8}
.receipt-review-form .modal-foot{margin-top:3px}
@media(max-width:500px){.receipt-head-actions{gap:5px}.receipt-head-actions .button{padding-inline:10px;font-size:12px}.receipt-line-card{padding:10px}.receipt-line-card .form-grid{grid-template-columns:1fr 1fr}.receipt-line-head select{font-size:11px}}
/* P1 fixes 2026-11-06 */
.field .field-error,.field-error{display:block;color:#b3261e;font-size:12px;line-height:1.7;margin-top:6px}
.field input[aria-invalid="true"]{border-color:#b3261e}
/* Content ends above the floating voice bar (height measured in JS: syncDockSpace) */
.app-main{padding-bottom:calc(var(--dock-space,212px) + 24px)}
/* While a voice draft is being edited, the form below already shows customer/total/payment: don't repeat them in the card */
.quick-transaction-card.editing .quick-transaction-lines,.quick-transaction-card.editing .quick-transaction-value{display:none}
/* P3 2026-11-06 */
.password-wrap{position:relative;display:flex;align-items:center}
.password-wrap input{width:100%;padding-left:48px}
.password-toggle{position:absolute;left:4px;top:50%;transform:translateY(-50%);width:42px;height:42px;display:grid;place-items:center;border:0;background:transparent;color:var(--muted);cursor:pointer;border-radius:8px}
.password-toggle svg{width:20px;height:20px}
.password-toggle:focus-visible{outline:2px solid #1e7b56}
.recovery-actions{display:grid;gap:8px;margin:12px 0 6px}
.subscription-notice.trial-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 12px;margin-bottom:12px;font-size:12px;border-radius:999px;background:#f0f8f3;border-color:#cfe5d7;color:#115938}
.subscription-notice.trial-chip .text-button{font-size:12px;padding:2px 4px;min-height:0}
.subscription-notice.trial-chip.urgent{background:#fff4e5;border-color:#f3d2a2;color:#8a5300}
.voice-tips{margin:8px 0 0;padding-inline-start:18px;line-height:1.9}
.performance-grid .performance-value.wide{grid-column:1/-1}
.settings-logout{margin-top:14px;padding-top:12px;border-top:1px solid var(--line);text-align:center}
.danger-text{color:#b3261e!important}
/* ---------- Sign in / sign up — A2 design (green hero, colour tiles) ---------- */
.za-auth{--za-g:#0F5C46;--za-g2:#12785C;--za-ink:#1E332B;--za-muted:#56665F;--za-line:#D6E0DB;--za-lime:#C8EC8F;min-height:100vh;min-height:100dvh;background:#EEF3F1;color:var(--za-ink);display:flex;justify-content:center}
.za-column{width:100%;max-width:480px;display:flex;flex-direction:column}
.za-auth h1,.za-auth h2{color:inherit}
.za-welcome .za-hero{position:relative;overflow:hidden;background:linear-gradient(160deg,var(--za-g2) 0%,var(--za-g) 60%,#0B4636 100%);color:#fff;border-radius:0 0 36px 36px;padding:30px 24px 28px}
.za-welcome .za-hero::before{content:"";position:absolute;top:-110px;left:-90px;width:320px;height:320px;border-radius:50%;background:radial-gradient(circle,rgba(200,236,143,.35),rgba(200,236,143,0) 70%);pointer-events:none}
.za-welcome .za-hero::after{content:"";position:absolute;bottom:-120px;right:-90px;width:280px;height:280px;border-radius:50%;border:1px solid rgba(255,255,255,.12);pointer-events:none}
.za-hero>*{position:relative;z-index:1}
.za-brand{display:flex;align-items:center;gap:10px}
.za-brand .brand-mark{margin:0;background:#fff;color:var(--za-g);width:44px;height:44px;border-radius:13px;font-size:25px}
.za-brand .brand-mark span{color:#7FB43F}
.za-brand-name{direction:ltr;font-size:18px;font-weight:700}
.za-hero h1{margin:30px 0 0;font-size:30px;line-height:1.4;font-weight:700;color:#fff}
.za-hero p{margin:10px 0 0;font-size:15px;line-height:1.75;color:#CFE7DD}
.za-demo{margin-top:22px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:22px;padding:14px 16px}
.za-demo-line{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.6}
.za-mic{width:38px;height:38px;flex:none;border-radius:50%;background:var(--za-lime);color:#163B2C;display:grid;place-items:center}
.za-mic svg{width:19px;height:19px;stroke-width:2}
.za-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.za-chip{font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;white-space:nowrap}
.za-chip.lime{background:var(--za-lime);color:#163B2C}.za-chip.amber{background:#FBEFD9;color:#7A4F0E}.za-chip.sky{background:#DCE9F7;color:#2A5A88}
.za-panel{padding:24px 24px 28px;display:flex;flex-direction:column;gap:12px}
.za-panel h2{margin:0;font-size:21px;font-weight:700}
.za-lead{margin:-6px 0 4px;font-size:14px;color:var(--za-muted)}
.za-google{display:flex;align-items:center;justify-content:center;gap:12px;min-height:56px;padding:0 16px;border-radius:18px;background:#fff;border:1.5px solid var(--za-line);color:#1F1F1F;font-size:16px;font-weight:600;text-decoration:none}
.za-google:hover{border-color:#b9c8c0;background:#fbfdfc}
.za-gmark{width:22px;height:22px;flex:none}
.za-ghost{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:16px;background:#fff;border:1.5px solid var(--za-line);color:var(--za-ink);font-size:15px;font-weight:600}
.za-ghost svg{width:19px;height:19px}
.za-install{background:#D9EFE2;border-color:#D9EFE2;color:var(--za-g)}
.za-install-guide{display:grid;gap:12px}
.za-note{margin:2px 0 0;text-align:center;font-size:12px;color:var(--za-muted);line-height:1.6}
.za-auth .text-button{margin:0;color:var(--za-g);font-size:14px!important;font-weight:600;padding:8px 0}
.za-join{align-self:center}
.za-page .za-column{padding:22px 20px 40px;gap:16px}
.za-top{display:flex;align-items:center;gap:12px}
.za-top h1{margin:0;font-size:20px;font-weight:700;line-height:1.35}
.za-top p{margin:0;font-size:13px;color:var(--za-muted);line-height:1.5}
.za-back{width:44px;height:44px;flex:none;border-radius:50%;border:0;background:#fff;color:var(--za-ink);display:grid;place-items:center}
.za-back svg{width:20px;height:20px;stroke-width:2}
.za-account{display:flex;align-items:center;gap:12px;background:#fff;border-radius:18px;padding:12px 14px}
.za-avatar{width:42px;height:42px;flex:none;border-radius:50%;background:var(--za-lime);color:#163B2C;display:grid;place-items:center;font-weight:700;font-size:17px}
.za-account-text{flex:1;min-width:0;display:flex;flex-direction:column}
.za-account-text strong{font-size:14px}
.za-account-text bdi{font-size:12px;color:var(--za-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
.za-linked{display:inline-flex;align-items:center;gap:6px;flex:none;font-size:11px;font-weight:600;background:#E1F1E8;color:#0D5240;border-radius:999px;padding:3px 9px}
.za-linked .za-gmark{width:14px;height:14px}
.za-callout{display:flex;align-items:center;gap:12px;background:#E9E3F6;color:#55428C;border-radius:18px;padding:12px 14px;font-size:13px;line-height:1.6}
.za-callout p{margin:0}.za-callout span{flex:none;display:grid}.za-callout svg{width:20px;height:20px}
.za-form{display:flex;flex-direction:column}
.za-auth .field{margin:0 0 14px;gap:6px;min-width:0}
.za-auth .field label{font-size:13px!important;font-weight:600;color:var(--za-ink);display:flex;justify-content:space-between;gap:8px}
.za-auth .field input{min-height:52px;border:1.5px solid var(--za-line);border-radius:16px;background:#fff;padding:0 14px;font-size:16px;color:var(--za-ink)}
.za-auth .field input[dir=ltr]{text-align:right}
.za-auth .field input:focus{outline:none;border-color:var(--za-g);box-shadow:0 0 0 4px rgba(15,92,70,.12)}
.za-auth .field small{font-size:12px!important;color:var(--za-muted)}
.za-auth .password-wrap input{padding-left:50px}
.za-forgot{margin:-8px 0 10px;text-align:left}
.za-auth .button{width:100%;font-size:16px!important}
.za-auth .button.primary{min-height:56px;border-radius:18px;background:var(--za-g);border:0;color:#fff;font-weight:600;box-shadow:0 10px 22px rgba(15,92,70,.22)}
.za-auth .button.primary svg{width:20px;height:20px;stroke-width:2}
.za-auth .button.soft{min-height:52px;border-radius:16px;background:#D9EFE2;border:0;color:var(--za-g);margin-top:10px}
.za-divider{display:flex;align-items:center;gap:12px;color:var(--za-muted);font-size:13px}
.za-divider::before,.za-divider::after{content:"";flex:1;height:1px;background:var(--za-line)}
.za-switch{margin:0;text-align:center;font-size:14px;color:var(--za-muted)}
.za-switch button{border:0;background:none;padding:4px;color:var(--za-g);font-weight:700}
.za-auth .error-box{border-radius:16px;border:0;background:#FBE3DF;color:#8E2F22;font-size:13px}
/* two-step registration */
.za-auth .signup-progress{display:flex;gap:10px;margin:0 0 18px;padding:0;border:0;color:var(--za-muted);font-size:12px}
.za-auth .signup-progress span{flex:1;position:relative;padding-top:13px;font-weight:600}
.za-auth .signup-progress span::before{content:"";position:absolute;top:0;right:0;left:0;height:6px;border-radius:999px;background:var(--za-line)}
.za-form:has(.signup-identity:not([hidden])) .signup-progress span:first-child,.za-form:has(.signup-business:not([hidden])) .signup-progress span{color:var(--za-ink)}
.za-form:has(.signup-identity:not([hidden])) .signup-progress span:first-child::before,.za-form:has(.signup-business:not([hidden])) .signup-progress span::before{background:var(--za-g)}
.za-auth .signup-business h3{margin:18px 0 6px;font-size:16px;font-weight:700}
.za-auth .signup-business h3:first-child{margin-top:0}
.za-auth .industry-grid{gap:10px;margin:12px 0 14px}
.za-auth .industry-choice{min-height:58px;padding:8px 10px;gap:10px;border:2px solid transparent;border-radius:18px;background:#fff;font-size:13px;font-weight:600;line-height:1.35;color:var(--za-ink)}
.za-auth .industry-choice svg{width:20px;height:20px;padding:8px;box-sizing:content-box;border-radius:12px;background:#D9EFE2;color:#0F5C46}
.za-auth .industry-choice:nth-child(5n+2) svg{background:#DCE9F7;color:#2A5A88}
.za-auth .industry-choice:nth-child(5n+3) svg{background:#E9E3F6;color:#55428C}
.za-auth .industry-choice:nth-child(5n+4) svg{background:#FCE3DC;color:#9A3D27}
.za-auth .industry-choice:nth-child(5n) svg{background:#FCE8CC;color:#7A4F0E}
.za-auth .industry-choice.selected{border-color:var(--za-g);background:#fff;color:var(--za-ink);box-shadow:0 0 0 4px rgba(15,92,70,.10)}
.za-auth .business-model-grid{gap:10px}
.za-auth .business-model-choice{border:2px solid transparent;border-radius:18px;background:#fff;padding:13px 14px}
.za-auth .business-model-choice:has(input:checked){border-color:var(--za-g);background:#fff}
.za-auth .onboarding-confirm{font-size:13px!important;margin:10px 0 16px}
@media(min-width:560px){.za-auth{padding:32px 16px;align-items:flex-start}.za-welcome .za-hero{border-radius:32px}.za-panel{padding:24px 8px}.za-page .za-column{padding-top:8px}}

/* ---------- App shell and main tabs — A2 design (green hero, pastel tiles) ---------- */
:root{--a2-g:#0F5C46;--a2-g2:#12785C;--a2-ink:#1E332B;--a2-muted:#56665F;--a2-bg:#EEF3F1;--a2-lime:#C8EC8F;--a2-row:#EDF2EF;background:var(--a2-bg);color:var(--a2-ink)}
.app-header{background:transparent;border-bottom:0}
.app-header .brand-mark{background:var(--a2-g)}
.nav-button.active{background:#D9EFE2;color:var(--a2-g)}
.app-main h1{color:var(--a2-ink);letter-spacing:0}
.page-heading{margin-bottom:14px}
.page-heading h1{font-size:24px;line-height:1.3;font-weight:700}
.app-main .subheading{color:var(--a2-muted);font-size:13px;margin-top:2px}
.app-main .button{border-radius:999px;border:0;min-height:44px;padding:0 16px;background:#fff;color:var(--a2-ink)}
.app-main .button.primary{background:var(--a2-g);color:#fff}
.app-main .button.primary:hover{background:#0A4434}
.app-main .button.soft{background:#fff;color:var(--a2-ink)}
.app-main .text-button{color:var(--a2-g);font-size:13px!important;font-weight:600}
/* home header */
.home-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}
.home-greeting{border:0;background:none;padding:0;display:flex;align-items:center;gap:12px;text-align:right;color:inherit;min-height:46px;min-width:0}
.home-avatar{width:46px;height:46px;flex:none;border-radius:50%;background:var(--a2-lime);color:#163B2C;display:grid;place-items:center;font-weight:700;font-size:18px}
.home-greeting h1{font-size:17px;line-height:1.3;font-weight:700}
.home-sub{display:block;font-size:13px;color:var(--a2-muted);line-height:1.5}
.home-top-actions{display:flex;gap:8px;flex:none}
.round-button{width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:var(--a2-ink);display:grid;place-items:center}
.round-button svg{width:20px;height:20px;stroke-width:1.8}
.staff-intro{margin:-6px 0 16px}
/* trial / subscription bar */
.app-main .subscription-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;border:0;border-radius:16px;background:#fff;color:var(--a2-ink);padding:8px;padding-inline-start:14px;margin:0 0 16px;font-size:13px}
.app-main .subscription-notice.trial-chip,.app-main .subscription-notice.trial-chip.urgent{display:flex;background:#fff;color:var(--a2-ink);font-size:13px;border-radius:16px}
.trial-text{display:flex;align-items:center;gap:8px}
.trial-text::before{content:"";width:8px;height:8px;border-radius:50%;background:#D9902F;flex:none}
.urgent .trial-text::before{background:#C2412D}
.app-main .trial-details,.app-main .subscription-notice .button{min-height:32px;height:32px;padding:0 12px;border-radius:999px;border:0;background:#FCE8CC;color:#7A4F0E;font-size:12px!important;font-weight:600;margin:0}
/* sales hero */
.sales-card{background:linear-gradient(135deg,var(--a2-g) 0%,var(--a2-g2) 100%);border-radius:26px;padding:16px 18px 18px;min-height:0;justify-content:flex-start;box-shadow:0 14px 30px rgba(15,92,70,.26)}
.sales-card::before{content:"";position:absolute;top:-70px;left:-50px;width:200px;height:200px;border-radius:50%;background:radial-gradient(circle,rgba(200,236,143,.35),rgba(200,236,143,0) 70%);pointer-events:none}
.sales-card::after{top:auto;bottom:-60px;left:40px;width:150px;height:150px;border-color:rgba(255,255,255,.14)}
.sales-card>*{position:relative}
.sales-icon{display:none}
.sales-card .sales-label{font-size:14px!important;color:#CFE7DD}
.sales-card .big-money{font-size:42px;line-height:1.25;letter-spacing:-.5px;margin-top:2px}
.sales-card .big-money .currency{font-size:14px!important;color:#CFE7DD}
.sales-card .sales-hint{color:#CFE7DD;line-height:1.6}
.sales-tiles{margin-top:12px;display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:8px}
.sales-tile{background:rgba(255,255,255,.12);border-radius:16px;padding:9px 12px;min-width:0}
.sales-tile>span{display:block;font-size:12px;color:#CFE7DD}
.sales-tile strong{display:block;font-size:17px;font-weight:700;color:#fff;margin-top:1px}
.sales-tile.cash-received strong{color:var(--a2-lime)}
.sales-tile .currency{font-size:11px!important;color:#CFE7DD;font-weight:400}
.sales-tile .money{display:inline-flex;flex-wrap:wrap;align-items:baseline}
/* pastel balance tiles */
.balance-pair{gap:12px}
.balance-card{border:0;border-radius:20px;padding:14px 16px;min-height:0;display:flex;flex-direction:column;align-items:stretch;text-align:right;color:inherit}
.balance-card.mint{background:#D9EFE2;color:var(--a2-g)}
.balance-card.amber{background:#FCE8CC;color:#7A4F0E}
.balance-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.balance-card .label{margin:0!important;font-size:13px!important;font-weight:500;color:inherit;max-width:none!important}
.balance-card .round-icon{position:static!important;width:30px!important;height:30px!important;border-radius:50%!important;background:#fff;color:inherit;flex:none}
.balance-card .round-icon svg{width:16px!important;height:16px!important;stroke-width:2}
.balance-card .value{display:block;font-size:20px!important;font-weight:700;margin-top:6px!important;color:var(--a2-ink);line-height:1.4}
.balance-card .value .currency{font-size:11px!important;font-weight:400}
.balance-card .small{display:block;margin-top:1px!important;font-size:12px!important;color:inherit;line-height:1.6}
/* cards, titled sections and rows */
.section-card{border:0;border-radius:22px;background:#fff}
.section-card.titled{background:transparent;overflow:visible}
.section-card+.section-card{margin-top:16px}
.titled>.section-head{padding:0 2px 10px}
.titled>.section-head h2{font-size:16px!important;font-weight:700}
.titled>.section-head .text-button{padding:6px 0;min-height:32px}
.section-body{background:#fff;border-radius:22px;overflow:hidden}
.count-badge,.count-badge.amber{font-size:12px!important;font-weight:600;background:#FCE8CC;color:#7A4F0E;border-radius:999px;padding:1px 9px}
.app-main .list{padding:2px 16px}
.app-main .list .list-row{padding:12px 0;min-height:64px;gap:12px;background:transparent;border-bottom:1px solid var(--a2-row)}
.app-main .list .list-row:last-child{border-bottom:0}
.app-main .list-row:hover{background:transparent}
.app-main .row-icon{width:40px;height:40px;border-radius:14px;background:#D9EFE2;color:var(--a2-g)}
.app-main .row-icon svg{width:19px;height:19px;stroke-width:1.8}
.row-icon.sale{background:#D9EFE2;color:#0F5C46}
.row-icon.received,.row-icon.opening_receivable,.row-icon.opening_payable,.row-icon.service{background:#E9E3F6;color:#55428C}
.row-icon.purchase,.row-icon.stock_in,.row-icon.stock_out,.row-icon.stock_count,.row-icon.stock_opening{background:#DCE9F7;color:#2A5A88}
.row-icon.paid,.row-icon.low{background:#FCE8CC;color:#7A4F0E}
.row-icon.expense,.row-icon.out{background:#FCE3DC;color:#9A3D27}
.app-main .row-title{font-size:14px!important;font-weight:600;line-height:1.6}
.app-main .row-subtitle{font-size:12px!important;color:var(--a2-muted);margin-top:1px;line-height:1.6}
.app-main .row-end{font-size:14px;font-weight:700}
.app-main .row-end .currency{font-weight:400}
.app-main .badge{border-radius:999px;padding:2px 9px;font-size:11px!important;font-weight:600;background:#DCE9F7;color:#2A5A88;margin-top:3px;white-space:nowrap}
.app-main .badge.warning{background:#FBEFD9;color:#7A4F0E}
.app-main .badge.danger{background:#FBE3DF;color:#9A2E1F}
.app-main .badge.paid{background:#E1F1E8;color:#0D5240}
.app-main .list-row .avatar{width:40px;height:40px;border:0;font-size:16px;flex:none;background:#D9EFE2;color:var(--a2-g)}
.avatar.tone-coral{background:#FCE3DC!important;color:#9A3D27!important}.avatar.tone-sky{background:#DCE9F7!important;color:#2A5A88!important}.avatar.tone-amber{background:#FCE8CC!important;color:#7A4F0E!important}.avatar.tone-lilac{background:#E9E3F6!important;color:#55428C!important}
.app-main .empty .empty-icon{background:#D9EFE2;color:var(--a2-g);border-radius:18px}
/* best sellers */
.app-main .rank-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;margin:12px 16px 6px;background:#DFE8E4;border-radius:999px}
.app-main .rank-tab{min-height:34px;height:34px;border:0;border-radius:999px;color:#4A5D55;font-size:13px!important;font-weight:500}
.app-main .rank-tab.active{background:#fff;color:var(--a2-ink);font-weight:600;box-shadow:0 2px 8px rgba(20,60,45,.08)}
.app-main .rank-row{margin:0 16px;padding:11px 0;gap:12px;font-size:13px!important;border-bottom:1px solid var(--a2-row)}
.app-main .rank-row:last-child{border-bottom:0}
.app-main .rank-row strong{font-size:14px;font-weight:600}
.app-main .rank-number{width:32px;height:32px;flex:none;border-radius:10px;background:var(--a2-bg);color:var(--a2-muted);display:grid;place-items:center;font-size:13px!important;font-weight:700}
.app-main .rank-row:first-child .rank-number{background:var(--a2-lime);color:#163B2C}
/* search and chips */
.app-main .toolbar{margin-bottom:14px}
.app-main .toolbar .search-wrap input{min-height:50px;border:0;border-radius:16px;background:#fff;font-size:14px}
.app-main .toolbar .search-wrap svg{color:var(--a2-muted);top:16px}
.app-main .subnav{flex-wrap:nowrap;overflow-x:auto;gap:8px;margin:0 0 14px;padding-bottom:2px;scrollbar-width:none}
.app-main .subnav::-webkit-scrollbar{display:none}
.app-main .pill{flex:none;min-height:36px;height:36px;padding:0 14px;border:0;border-radius:999px;background:#fff;color:var(--a2-ink);font-size:13px;font-weight:500;white-space:nowrap}
.app-main .pill.active{background:var(--a2-g);color:#fff;font-weight:600}
.accounts-summary{margin-bottom:14px}
.activation-card{background:#fff;border:0;border-radius:22px}
/* desktop voice bar */
.voice-dock{border:0;border-radius:22px;box-shadow:0 10px 30px rgba(20,60,45,.12)}
.voice-button{background:var(--a2-g);border-radius:16px}
@media(max-width:800px){
 .app-header{display:none}
 .app-main{margin:0 20px;padding-top:22px}
 .hero-grid{gap:12px;margin-bottom:16px}
 .home-grid{gap:16px}
 .home-side>.section-card+.section-card{margin-top:0}
 body:has(.mobile-nav)::after{content:"";position:fixed;left:0;right:0;bottom:0;height:130px;background:linear-gradient(to top,var(--a2-bg) 55%,rgba(238,243,241,0));pointer-events:none;z-index:19}
 .mobile-nav{position:fixed;left:16px;right:16px;bottom:calc(18px + env(safe-area-inset-bottom));height:72px;padding:0!important;border:0;border-radius:26px;background:#fff;box-shadow:0 10px 30px rgba(20,60,45,.10);display:grid!important;grid-template-columns:1fr 1fr 88px 1fr 1fr;align-items:center}
 .mobile-nav .nav-button{height:100%;min-width:0!important;min-height:0;flex-direction:column;justify-content:center;gap:3px;padding:4px 2px!important;background:none;color:#56685F;font-size:11px!important;font-weight:400;border-radius:20px}
 .mobile-nav .nav-button.active{background:none;color:var(--a2-g);font-weight:600}
 .mobile-nav .nav-button svg{width:22px!important;height:22px!important}
 .mobile-nav .nav-spacer{grid-column:3}
 .voice-dock{left:50%;right:auto;transform:translateX(-50%);bottom:calc(50px + env(safe-area-inset-bottom));z-index:21;padding:0;gap:0;background:transparent;border:0;border-radius:0;box-shadow:none;max-width:none}
 .voice-dock-actions{width:auto}
 .voice-dock .manual-button{display:none}
 .voice-dock .voice-button{width:66px;height:66px;min-height:66px;padding:0;border-radius:50%;border:5px solid var(--a2-bg);box-shadow:0 10px 22px rgba(15,92,70,.35)}
 .voice-dock .voice-button svg{width:26px;height:26px;stroke-width:1.9}
 .voice-dock .voice-button span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
 .voice-dock .dock-privacy{position:absolute;bottom:calc(100% + 10px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(320px,calc(100vw - 32px));background:#fff;border-radius:14px;padding:8px 12px;box-shadow:0 8px 24px rgba(20,60,45,.12);font-size:12px;color:var(--a2-muted)}
 body:has(#dock-privacy:not([hidden])) .app-main{padding-bottom:calc(var(--dock-space,140px) + 84px)}
}
@media(max-width:420px){.app-main{margin:0 16px}.sales-card .big-money{font-size:38px}}
.voice-button.listening,.voice-dock .voice-button.listening{background:#ac473e}
.sales-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
.sales-tile:nth-child(3){grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px}
.sales-tile:nth-child(3) strong{margin:0}
.sales-tile .currency{display:none}
.sales-tile bdi{overflow-wrap:normal;white-space:nowrap}
@media(max-width:800px){.home-activity{order:0}}
.page-heading{align-items:center}
.page-heading>div:first-child{flex:1;min-width:0}
.page-heading .receipt-head-actions{flex-wrap:nowrap;gap:8px}
.page-heading .button{flex:none;white-space:nowrap}
@media(max-width:800px){.page-heading h1{font-size:22px}}
.balance-card{justify-content:space-between}

/* ---------- App font: Baloo Bhaijaan 2 (self-hosted, OFL; Arabic + Latin, weights 400-800) ---------- */
@font-face{font-family:"Baloo Bhaijaan 2";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/baloo-bhaijaan-2-arabic.woff2) format("woff2");unicode-range:U+0600-06FF,U+0750-077F,U+0870-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:"Baloo Bhaijaan 2";font-style:normal;font-weight:400 800;font-display:swap;src:url(/fonts/baloo-bhaijaan-2-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{font-family:"Baloo Bhaijaan 2",Tahoma,"Segoe UI",Arial,sans-serif}

/* ---------- Popups, recording flow — A2 (sheets on phones, full page for review) ---------- */
dialog#modal{border:0;border-radius:28px;background:#fff;color:var(--a2-ink);box-shadow:0 30px 80px rgba(14,34,27,.25)}
dialog#modal::backdrop{background:rgba(14,34,27,.45);backdrop-filter:none}
#modal .modal-head{border-bottom:0;padding:18px 20px 8px;background:inherit}
#modal .modal-head h2{font-size:20px;font-weight:700}
#modal .modal-head .icon-button{width:40px;height:40px;min-width:40px;min-height:40px;border:0;border-radius:50%;background:var(--a2-bg);color:var(--a2-ink)}
#modal .modal-body{padding:8px 20px 22px}
#modal .modal-body>p{color:var(--a2-muted)}
#modal .button{border-radius:16px;border:0;min-height:48px;background:var(--a2-bg);color:var(--a2-ink);font-weight:600}
#modal .button.primary{background:var(--a2-g);color:#fff;min-height:56px;border-radius:18px;font-size:16px!important;box-shadow:0 10px 22px rgba(15,92,70,.22)}
#modal .button.primary:hover{background:#0A4434}
#modal .button.soft{background:#D9EFE2;color:var(--a2-g)}
#modal .button.danger{background:#FBE3DF;color:#9A2E1F}
#modal .text-button{color:var(--a2-g);font-weight:600}
#modal .field label{font-size:13px!important;font-weight:600;color:var(--a2-ink)}
#modal .field input,#modal .field select,#modal .field textarea{min-height:52px;border:1.5px solid #D6E0DB;border-radius:16px;background:#fff;padding:12px 14px;font-size:16px;color:var(--a2-ink)}
#modal .field textarea{min-height:96px}
#modal .field input:focus,#modal .field select:focus,#modal .field textarea:focus{outline:none;border-color:var(--a2-g);box-shadow:0 0 0 4px rgba(15,92,70,.12)}
#modal .field small{color:var(--a2-muted)}
#modal .notice{border:0;border-radius:18px;background:#FCE8CC;color:#7A4F0E}
#modal .notice.info{background:#D9EFE2;color:var(--a2-g)}
#modal .error-box{border:0;border-radius:16px;background:#FBE3DF;color:#8E2F22}
#modal .subnav .pill,#modal .pill{border:0;border-radius:999px;background:var(--a2-bg);color:var(--a2-ink);min-height:36px}
#modal .contact-picker{border:0;border-radius:18px;background:var(--a2-bg);padding:12px}
#modal .check-field input{accent-color:var(--a2-g)}
#modal details>summary{list-style:none;cursor:pointer;padding:8px 0}
#modal details>summary::-webkit-details-marker{display:none}
/* segmented control (payment) */
.segmented{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;padding:4px;background:#DFE8E4;border-radius:999px;margin:-2px 0 16px}
.segmented button{min-height:38px;border:0;border-radius:999px;background:transparent;color:#4A5D55;font-size:14px;font-weight:500;padding:0 6px;white-space:nowrap}
.segmented button.active{background:#fff;color:var(--a2-ink);font-weight:700;box-shadow:0 2px 8px rgba(20,60,45,.08)}
/* "we heard you say" */
.heard-card{display:flex;align-items:flex-start;gap:12px;background:var(--a2-bg);border-radius:20px;padding:14px 16px;margin-bottom:16px}
.heard-icon{width:36px;height:36px;flex:none;border-radius:50%;background:var(--a2-lime);color:#163B2C;display:grid;place-items:center}
.heard-icon svg{width:18px;height:18px;stroke-width:2}
.heard-body{flex:1;min-width:0}
.heard-label{display:block;font-size:12px;color:var(--a2-muted)}
#modal .heard-card .transcript{background:none;padding:0;margin:0;font-size:15px;font-weight:500;line-height:1.7}
#modal .heard-fix{flex:none;min-height:34px;height:34px;padding:0 12px;border-radius:999px;background:#fff;font-size:12px!important}
#modal .heard-fix svg{width:15px;height:15px}
/* sale cart lines */
#modal .cart-line{border:0;border-radius:20px;background:var(--a2-bg);padding:14px}
#modal .cart-line-total{color:var(--a2-ink);font-weight:700}
/* running total + sticky save bar */
#modal .review-total{border:0;border-radius:0;background:transparent;padding:0;margin:0 0 12px;gap:6px}
#modal .review-total>div{font-size:14px;color:var(--a2-muted)}
#modal .review-total strong{font-size:22px;font-weight:700;color:var(--a2-ink)}
#modal .review-total .outstanding{border-top:0;padding-top:0;color:#7A4F0E}
.review-bar .modal-foot{margin-top:0}
/* manual menu tiles */
#modal .choice-grid{gap:10px}
#modal .choice-button{border:0;border-radius:20px;padding:14px;min-height:112px;flex-direction:column;align-items:flex-start;gap:10px;background:#D9EFE2;color:var(--a2-ink)}
#modal .choice-button:hover{filter:brightness(.98)}
#modal .choice-button .round-icon{width:40px;height:40px;border-radius:14px;background:#fff;color:var(--a2-g)}
#modal .choice-button strong{font-size:15px!important;font-weight:700}
#modal .choice-button small{font-size:12px!important;color:var(--a2-muted);margin-top:1px}
#modal .choice-purchase,#modal .choice-stock_in{background:#DCE9F7}#modal .choice-purchase .round-icon,#modal .choice-stock_in .round-icon{color:#2A5A88}
#modal .choice-expense,#modal .choice-stock_out{background:#FCE3DC}#modal .choice-expense .round-icon,#modal .choice-stock_out .round-icon{color:#9A3D27}
#modal .choice-received{background:#E9E3F6}#modal .choice-received .round-icon{color:#55428C}
#modal .choice-paid{background:#FCE8CC}#modal .choice-paid .round-icon{color:#7A4F0E}
#modal .choice-stock_count{background:#E8EEEB}#modal .choice-stock_count .round-icon{color:#465750}
.faster-callout{width:100%;margin-top:12px;display:flex;align-items:center;gap:12px;border:0;border-radius:18px;background:var(--a2-lime);color:#163B2C;padding:12px 14px;text-align:right;font-size:13px;line-height:1.5}
.faster-callout strong{display:block;font-size:14px}
.faster-icon{width:36px;height:36px;flex:none;border-radius:50%;background:var(--a2-g);color:#fff;display:grid;place-items:center}
.faster-icon svg{width:18px;height:18px}
/* recording */
#modal .voice-status{padding:0 0 4px;gap:4px}
.rec-pill{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:#9A2E1F;background:#FBE3DF;border-radius:999px;padding:4px 12px}
.rec-pill::before{content:"";width:8px;height:8px;border-radius:50%;background:#C8402A}
#modal .voice-status h3{font-size:22px;font-weight:700;margin-top:8px}
#modal .voice-status p{font-size:13px!important;color:var(--a2-muted)}
.voice-orb-wrap{position:relative;width:180px;height:180px;display:grid;place-items:center;margin:4px auto 0}
.voice-orb-wrap::before,.voice-orb-wrap::after{content:"";position:absolute;border-radius:50%;background:rgba(200,236,143,.25);inset:0}
.voice-orb-wrap::after{inset:22px;background:rgba(200,236,143,.45)}
#modal .voice-orb-wrap .voice-orb{position:relative;z-index:1;width:96px;height:96px;background:var(--a2-g);color:#fff;box-shadow:0 14px 30px rgba(15,92,70,.35)}
#modal .voice-orb-wrap .voice-orb svg{width:38px;height:38px;stroke-width:1.9}
body:has(#voice-button.listening) .voice-orb-wrap::before{animation:a2-pulse 1.6s ease-out infinite}
@keyframes a2-pulse{0%{transform:scale(.85);opacity:1}100%{transform:scale(1.08);opacity:.2}}
.heard-live{background:#D9EFE2;border-radius:20px;padding:14px 16px;margin:6px 0 12px}
.heard-live .heard-label{color:var(--a2-g);font-weight:600}
#modal .heard-live .transcript{background:none;padding:0;margin:4px 0 0;font-size:17px;font-weight:600;line-height:1.7}
.voice-try{display:flex;flex-wrap:wrap;align-items:center;gap:6px 8px;margin-bottom:16px;color:var(--a2-muted)}
#modal .voice-try .badge{border-radius:999px;background:#E8EEEB;color:#465750;padding:2px 9px;font-size:12px!important;font-weight:600;margin:0}
#modal .voice-finish{margin-bottom:10px}
#modal .voice-cancel{background:transparent;color:var(--a2-muted);min-height:44px}
#modal .speech-privacy{color:var(--a2-muted)}
/* voice draft card */
#modal .quick-transaction-card{border:0;border-radius:22px;background:var(--a2-bg);padding:16px}
#modal .quick-transaction-heading{font-size:16px;font-weight:700}
#modal .quick-transaction-lines{font-size:13px;color:var(--a2-muted)}
#modal .quick-transaction-value{color:var(--a2-ink);font-size:24px;font-weight:700}
#modal .quick-transaction-actions{gap:6px}
#modal .quick-transaction-actions .quick-action{width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;background:#fff;color:var(--a2-ink)}
#modal .quick-transaction-actions .quick-save{background:var(--a2-g);color:#fff}
#modal .quick-transaction-actions .quick-discard{color:#9A2E1F}
#modal .quick-transaction-status{border-radius:999px;padding:1px 9px;background:#E1F1E8;color:#0D5240;font-size:11px}
#modal .quick-transaction-status.needs-review{background:#FBEFD9;color:#7A4F0E}
#modal .quick-transaction-issue{font-size:12px;color:#7A4F0E}
#modal .quick-add-link{border:0;border-radius:999px;background:#fff;color:var(--a2-g);min-height:34px;padding:4px 12px;font-size:12px}
#modal .quick-transaction-editor{border-top:0;padding-top:4px}
@media(max-width:800px){
 dialog#modal{margin:auto 0 0;width:100%;max-width:100%;max-height:92dvh;border-radius:30px 30px 0 0;padding-bottom:env(safe-area-inset-bottom)}
 dialog#modal::before{content:"";display:block;width:44px;height:5px;border-radius:999px;background:#D5DED9;margin:10px auto 0}
 dialog#modal[data-variant=page]{max-height:100dvh;height:100dvh;border-radius:0;background:var(--a2-bg)}
 dialog#modal[data-variant=page]::before{display:none}
 dialog#modal[data-variant=page] .modal-head{justify-content:flex-start;gap:12px;padding:22px 20px 12px;background:var(--a2-bg)}
 dialog#modal[data-variant=page] .modal-head .icon-button{order:-1;width:44px;height:44px;background:#fff}
 dialog#modal[data-variant=page] .modal-head h2{font-size:19px}
 dialog#modal[data-variant=page] .modal-body{padding:0 20px}
 dialog#modal[data-variant=page] .field input,dialog#modal[data-variant=page] .field select,dialog#modal[data-variant=page] .field textarea{border-color:transparent}
 dialog#modal[data-variant=page] .heard-card,dialog#modal[data-variant=page] .cart-line,dialog#modal[data-variant=page] .contact-picker{background:#fff}
 dialog#modal[data-variant=page] .segmented{background:#DFE8E4}
 #modal .review-bar{position:sticky;bottom:0;z-index:3;margin:16px -20px 0;background:#fff;border-radius:26px 26px 0 0;box-shadow:0 -8px 26px rgba(20,60,45,.08);padding:14px 20px calc(16px + env(safe-area-inset-bottom))}
 #modal .review-total>div:first-child{align-items:baseline}
 #toast{z-index:200}
}
@media(prefers-reduced-motion:reduce){.voice-orb-wrap::before{animation:none!important}}
#modal .button.text-button{background:transparent;min-height:36px;padding:4px 0;box-shadow:none;color:var(--a2-g);font-size:13px!important}
#modal .button.text-button:disabled{color:var(--a2-muted)}
#modal .cart-line .field input,#modal .cart-line .field select,#modal .contact-picker input,#modal .contact-picker select{background:#fff;border-color:#D6E0DB}
@media(max-width:800px){dialog#modal[data-variant=page] .cart-line .field input,dialog#modal[data-variant=page] .cart-line .field select,dialog#modal[data-variant=page] .contact-picker input,dialog#modal[data-variant=page] .contact-picker select{background:var(--a2-bg);border-color:transparent}}

/* ---------- Detail pages and receipt import — A2 ---------- */
.detail-page{display:flex;flex-direction:column;gap:14px;padding-bottom:20px}
.detail-hero .detail-hero-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.detail-hero-name{font-size:18px;font-weight:700;color:#fff;line-height:1.4}
.detail-hero-sub{font-size:13px;color:#CFE7DD;text-align:right}
.hero-badge{flex:none;font-size:12px;font-weight:600;border-radius:999px;padding:2px 10px;background:var(--a2-lime);color:#163B2C}
.hero-badge.soft{background:rgba(255,255,255,.16);color:#fff}
.detail-hero-big{display:flex;align-items:baseline;gap:8px;margin-top:10px;color:#fff}
.detail-hero-big bdi{font-size:46px;font-weight:700;line-height:1.2}
.detail-hero-big>span{font-size:15px;color:#CFE7DD}
.detail-hero-big.money-big{margin-top:0}
.detail-hero-big .money{font-size:42px;font-weight:700;line-height:1.25}
.detail-hero-big .money .currency{font-size:14px!important;color:#CFE7DD}
.detail-hero-note{font-size:13px;color:#CFE7DD;margin-top:2px;line-height:1.6}
.detail-hero-note .currency{color:#CFE7DD}
.detail-hero-label{margin-top:16px;font-size:14px;color:#CFE7DD}
.detail-hero-person{display:flex;align-items:center;gap:12px}
.detail-hero-person .home-avatar{width:50px;height:50px;font-size:20px}
.detail-hero-actions{display:flex;gap:8px;margin-top:14px}
#modal .hero-action{flex:1;min-height:46px;border-radius:14px;background:rgba(255,255,255,.14);color:#fff;font-size:13px!important;box-shadow:none}
#modal .hero-action:hover{background:rgba(255,255,255,.22)}
#modal .hero-action svg{width:17px;height:17px}
.detail-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.detail-tiles .balance-card.sky{background:#DCE9F7;color:#2A5A88}
.detail-tiles .balance-card .value{font-size:18px!important}
.detail-note{background:#fff;border-radius:18px;padding:12px 14px;font-size:14px;color:var(--a2-muted);line-height:1.7}
#modal .detail-label{font-size:16px;font-weight:700;margin:4px 2px -4px}
#modal .detail-history{border:0;border-radius:22px;background:#fff;padding:2px 16px;overflow:hidden}
#modal .detail-history .list-row{padding:12px 0;min-height:60px;gap:12px;background:transparent;border-bottom:1px solid var(--a2-row)}
#modal .detail-history .list-row:last-child{border-bottom:0}
#modal .detail-history .row-icon{width:40px;height:40px;border-radius:14px}
#modal .detail-history .row-icon svg{width:19px;height:19px}
#modal .detail-history .row-title{font-size:14px!important;font-weight:600}
#modal .detail-history .row-subtitle{font-size:12px!important;color:var(--a2-muted)}
#modal .detail-history .row-end{font-weight:700;font-size:14px}
#modal .detail-history .badge{border-radius:999px;padding:2px 9px;font-size:11px!important;font-weight:600;background:#DCE9F7;color:#2A5A88}
#modal .detail-history .badge.warning{background:#FBEFD9;color:#7A4F0E}
#modal .detail-history .badge.danger{background:#FBE3DF;color:#9A2E1F}
#modal .detail-history .badge.paid{background:#E1F1E8;color:#0D5240}
#modal .detail-facts .list-row{min-height:48px}
#modal .detail-facts .row-body.small{font-size:13px!important;color:var(--a2-muted)}
#modal .detail-facts strong.small{font-size:14px!important;font-weight:600;text-align:left}
.detail-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#modal .detail-buttons .button{min-height:52px;font-size:15px!important}
#modal .detail-buttons .button.primary{min-height:52px;font-size:15px!important}
.detail-opening{background:#fff;border-radius:18px;padding:4px 14px 10px}
.detail-opening .detail-buttons{margin-top:8px}
#modal .detail-opening .detail-buttons .button{font-size:13px!important;min-height:46px}
#modal .detail-cta{margin-top:4px}
.action-summary{background:#fff;border-radius:22px;padding:18px 16px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px}
#modal .action-summary .row-icon{width:56px;height:56px;border-radius:18px;margin-bottom:8px}
#modal .action-summary .row-icon svg{width:26px;height:26px}
.action-summary-what{font-size:14px;color:var(--a2-muted);line-height:1.6}
.action-summary-amount{font-size:34px;font-weight:700;line-height:1.3}
.action-summary-amount .currency{font-size:14px!important;font-weight:500;color:var(--a2-muted)}
#modal .action-summary .badge{border-radius:999px;padding:2px 10px;font-size:12px!important;font-weight:600;background:#E1F1E8;color:#0D5240;margin-top:4px}
#modal .action-summary .badge.warning{background:#FBEFD9;color:#7A4F0E}
#modal .action-summary .badge.danger{background:#FBE3DF;color:#9A2E1F}
.action-summary-date{font-size:12px;color:var(--a2-muted);margin-top:4px}
.detail-actions-stack{display:flex;flex-direction:column;align-items:stretch;gap:4px}
#modal .void-link{align-self:center;color:#9A2E1F!important;font-size:14px!important}
/* receipt import */
#modal .receipt-import-upload{display:flex;flex-direction:column;gap:14px}
#modal .receipt-import-upload>p:first-child{background:#fff;border-radius:18px;padding:12px 14px;line-height:1.7}
#modal .receipt-import-upload input[type=file]{min-height:120px;padding:16px;border:1.5px dashed #B9CCC3;border-radius:20px;background:#fff;font-size:14px;cursor:pointer}
#modal .receipt-import-upload .field{margin:0}
#modal .receipt-review-form{display:flex;flex-direction:column;gap:14px}
#modal .receipt-line-card{border:0;border-radius:22px;background:#fff;padding:14px 16px}
#modal .receipt-line-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
#modal .receipt-line-head strong{font-size:15px}
#modal .receipt-line-head select{min-height:36px;border:0;border-radius:999px;background:#D9EFE2;color:var(--a2-g);font-size:13px;font-weight:600;padding:0 12px;max-width:60%}
#modal .receipt-line-card .field input{background:var(--a2-bg);border-color:transparent}
#modal .receipt-line-warning{font-size:12px;color:#7A4F0E;background:#FBEFD9;border-radius:12px;padding:8px 10px;margin:4px 0 0}
#modal .receipt-line-warning[hidden]{display:none}
@media(max-width:800px){dialog#modal[data-variant=page] .receipt-line-card .field input{background:var(--a2-bg)}}
#modal .detail-hero-big .money,#modal .detail-hero-big .money bdi{color:#fff}
#modal .receipt-import-upload input[type=file]::file-selector-button{font:inherit;font-weight:600;font-size:14px;border:0;border-radius:999px;background:var(--a2-g);color:#fff;padding:10px 18px;margin-inline-end:12px;cursor:pointer}
#modal .form-grid{align-items:end}
dialog#modal[data-variant=page]{background:var(--a2-bg)}dialog#modal[data-variant=page] .modal-head{background:var(--a2-bg)}dialog#modal[data-variant=page] .modal-head .icon-button{background:#fff}dialog#modal[data-variant=page] .heard-card,dialog#modal[data-variant=page] .cart-line,dialog#modal[data-variant=page] .contact-picker{background:#fff}

/* ---------- Owner screens: Settings, Team, Performance — A2 ---------- */
.detail-hero-big .money,.detail-hero-big .money bdi{color:#fff}
.detail-hero-label.first{margin-top:0}
.perf-na{font-size:28px;font-weight:700;color:#fff}
.page-top{justify-content:flex-start;gap:12px}
.page-top>div:first-of-type{flex:1;min-width:0}
.page-top h1{font-size:20px!important}
/* settings */
.settings-profile{background:#fff;border-radius:22px;padding:16px}
.settings-profile-top{display:flex;align-items:center;gap:14px}
.settings-profile .home-avatar{width:56px;height:56px;font-size:22px}
.settings-store{font-size:17px;font-weight:700}
.settings-who{font-size:13px;color:var(--a2-muted)}
.settings-google{display:flex;align-items:center;gap:8px;margin-top:12px;background:var(--a2-bg);border-radius:14px;padding:10px 12px;font-size:12px}
.settings-google .za-gmark{width:16px;height:16px;flex:none}
.settings-google bdi{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}
#modal .settings-google .badge{border-radius:999px;padding:2px 9px;font-size:11px!important;font-weight:600;background:#E1F1E8;color:#0D5240;margin:0}
.settings-plan{background:#FCE8CC;color:#7A4F0E;border-radius:22px;padding:14px 16px;font-size:13px;line-height:1.7}
.settings-plan.ok{background:#D9EFE2;color:var(--a2-g)}
.settings-plan-top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.settings-plan-top strong{font-size:15px;color:var(--a2-ink)}
#modal .settings-plan .badge{border-radius:999px;padding:2px 9px;font-size:11px!important;font-weight:600;background:#FBEFD9;color:#7A4F0E;margin:0}
.settings-plan p{margin-top:4px}
.settings-group{background:#fff;border-radius:22px;padding:2px 16px}
.settings-row{width:100%;display:flex;align-items:center;gap:12px;padding:12px 0;border:0;border-bottom:1px solid var(--a2-row);background:transparent;color:var(--a2-ink);text-align:right;min-height:64px;font:inherit}
.settings-group>.settings-row:last-child{border-bottom:0}
#modal .settings-row .row-icon{width:40px;height:40px;border-radius:14px;flex:none}
#modal .settings-row .row-icon svg{width:19px;height:19px}
.settings-row-text{flex:1;min-width:0;display:flex;flex-direction:column}
.settings-row-text strong{font-size:14px;font-weight:600}
.settings-row-text small{font-size:12px;color:var(--a2-muted);line-height:1.6}
.settings-chevron,.settings-lock{color:var(--a2-muted);display:grid;flex:none}
.settings-chevron svg{width:18px;height:18px}.settings-lock svg{width:15px;height:15px}
.settings-row.logout strong{color:#9A2E1F}
/* team */
.app-main .team-members{background:#fff}
.app-main .team-list{padding:2px 16px}
.app-main .team-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--a2-row);flex-direction:row}
.app-main .team-row:last-child{border-bottom:0}
.app-main .team-row .avatar,.app-main .team-row .home-avatar{width:40px;height:40px;font-size:16px;border:0;flex:none}
.app-main .team-person{flex:1;min-width:0;display:flex;flex-direction:column}
.app-main .team-person strong{font-size:14px;font-weight:600}
.app-main .team-person small{font-size:12px;color:var(--a2-muted)}
.app-main .team-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:6px;width:auto}
.app-main .team-controls select{min-height:34px;border:0;border-radius:999px;background:var(--a2-bg);padding:0 12px;font-size:13px;font-weight:600;color:var(--a2-ink)}
.app-main .team-controls .button{min-height:34px;padding:0 12px;font-size:12px!important}
.app-main .badge.owner{background:var(--a2-lime);color:#163B2C}
.team-none{padding:14px 16px;color:var(--a2-muted);font-size:13px}
.team-empty,.team-footnote{margin:12px 2px}
.team-roles-title{font-size:16px;font-weight:700;margin:18px 2px 10px}
.team-roles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.team-role{border-radius:20px;padding:14px;font-size:12px;line-height:1.6}
.team-role strong{display:block;font-size:14px;color:var(--a2-ink)}
.team-role.sky{background:#DCE9F7;color:#2A5A88}.team-role.lilac{background:#E9E3F6;color:#55428C}
@media(max-width:640px){.app-main .team-row{flex-direction:row;align-items:center}.app-main .team-controls{width:auto;max-width:48%}}
/* performance */
.app-main .performance-filters{background:transparent;border:0;padding:0;margin:0 0 16px;display:block}
.app-main .performance-filters>.field{margin:0}
.app-main .performance-filters>.field>label{display:none}
.app-main .performance-filters .segmented{margin:0}
.segmented.four{grid-template-columns:repeat(4,minmax(0,1fr))}
.app-main .performance-filters .form-grid{margin-top:12px}
.app-main .performance-filters .field input{min-height:50px;border:0;border-radius:16px;background:#fff;padding:0 14px}
.perf-tiles .balance-card .value{font-size:18px!important}
.perf-tiles .balance-card.coral{background:#FCE3DC;color:#9A3D27}
.perf-tiles .balance-card.sky{background:#DCE9F7;color:#2A5A88}
.perf-tiles .balance-card.lilac{background:#E9E3F6;color:#55428C}
.app-main .expense-pressure{background:#fff;border:0;border-radius:22px;padding:16px}
.pressure-top{display:flex;justify-content:space-between;align-items:baseline;gap:8px}
.pressure-top strong{font-size:15px}
.pressure-percent{font-size:20px;font-weight:700;color:#9A3D27}
.pressure-bar{height:10px;border-radius:999px;background:var(--a2-bg);margin-top:10px;overflow:hidden}
.pressure-bar>div{height:100%;border-radius:999px;background:#D8664B}
.app-main .expense-pressure p{font-size:13px;color:var(--a2-muted);margin-top:8px}
.app-main .unknown-cost-notice,.app-main .estimated-cost-notice{border:0;border-radius:18px}
.app-main .unknown-cost-notice{background:#FCE8CC;color:#7A4F0E}
.app-main .estimated-cost-notice{background:#D9EFE2;color:var(--a2-g)}
.app-main .performance-ranks{display:flex;flex-direction:column;gap:14px}
.app-main .performance-ranks .section-card+.section-card{margin-top:0}
.app-main .performance-ranks .rank-row{margin:0 16px;padding:11px 0}
.rank-name{flex:1;min-width:0;display:flex;flex-direction:column}
.rank-name strong{font-size:14px;font-weight:600}
.rank-name small{font-size:12px;color:var(--a2-muted)}
.rank-total{font-size:14px;font-weight:700}
.perf-facts{background:#fff;border-radius:22px;padding:2px 16px}
.perf-fact{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid var(--a2-row)}
.perf-fact:last-child{border-bottom:0}
.perf-fact>span{font-size:13px;color:var(--a2-muted);display:flex;flex-direction:column}
.perf-fact>span small{font-size:11px;color:#7A8A83;line-height:1.5}
.perf-fact strong{font-size:14px;font-weight:700;text-align:left;flex:none}
.app-main .performance-note{margin:0 2px}
#modal .form-grid{align-items:stretch;grid-auto-rows:auto}#modal .form-grid>.field{display:grid;grid-row:span 3;grid-template-rows:subgrid;row-gap:0;align-content:start}#modal .form-grid>.field>label{align-self:end;margin-bottom:6px}#modal .form-grid>.field>small{margin-top:4px}#modal .form-grid>.field[hidden]{display:none}

/* ---------- Getting-started card for new shops — A2 ---------- */
.app-main .activation-card{background:#fff;border:0;border-radius:22px;padding:16px;margin:0 0 16px}
.app-main .activation-head h2{font-size:17px;color:var(--a2-ink);font-weight:700}
.app-main .activation-head p{color:var(--a2-muted);font-size:13px}
.app-main .activation-meter{color:var(--a2-muted);font-size:12px}
.app-main .activation-bar{height:8px;background:var(--a2-bg)}
.app-main .activation-bar>div{background:var(--a2-g)}
.app-main .activation-steps{gap:8px}
.app-main .activation-step{border:0;border-radius:16px;background:var(--a2-bg);padding:12px;min-height:60px}
.app-main .activation-step-icon{width:34px;height:34px;background:#fff;color:var(--a2-g)}
.app-main .activation-step.complete .activation-step-icon{background:#D9EFE2}
.app-main .activation-step.complete .activation-step-copy strong{color:var(--a2-muted);text-decoration:line-through;text-decoration-color:rgba(86,102,95,.4)}
.app-main .activation-step-copy strong{font-size:14px}
.app-main .activation-step-copy small{font-size:12px;color:var(--a2-muted)}

/* ---------- Fixes: full-width bottom-bar buttons; fixed top bar with the logo on every page ---------- */
.mobile-nav .nav-button{max-width:none!important;width:100%;justify-self:stretch}
.app-header{position:sticky;top:0;z-index:18;background:rgba(238,243,241,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
@media(max-width:800px){
 .app-header{display:block;height:auto;border-bottom:1px solid rgba(30,51,43,.06)}
 .app-header .header-inner{height:60px;padding:0 20px;padding-top:env(safe-area-inset-top)}
 .app-header .brand-mark{width:38px;height:38px;font-size:22px;border-radius:12px}
 .app-header .brand-name{font-size:18px}
 .app-header .brand-tag{display:none}
 .app-header .store-chip .avatar{width:40px;height:40px;border:0;background:var(--a2-lime);color:#163B2C;font-size:16px}
 .app-main{padding-top:16px}
}
@media(max-width:420px){.app-header .header-inner{padding:0 16px}}
@media(max-width:800px){.home-greeting .home-avatar{display:none}}

/* ---------- First-run setup (onboarding), subscribe plans, simple mode — A2 ---------- */
.onboard{min-height:100vh;min-height:100dvh;background:var(--a2-bg);color:var(--a2-ink);display:flex;justify-content:center}
.onboard-column{width:100%;max-width:480px;padding:18px 20px calc(28px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.onboard-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.onboard-top .brand-mark{width:38px;height:38px;font-size:22px;border-radius:12px;background:var(--a2-g)}
.onboard-top .brand-name{font-size:18px}
.onboard-count{font-size:12px;color:var(--a2-muted);font-weight:600}
.onboard-progress{height:8px;border-radius:999px;background:#DFE8E4;overflow:hidden}
.onboard-progress>div{height:100%;border-radius:999px;background:var(--a2-g);transition:width .3s}
.onboard h1{font-size:24px;line-height:1.35;font-weight:700;margin-top:8px;letter-spacing:0}
.onboard-lead{font-size:14px;color:var(--a2-muted);line-height:1.7;margin-top:-6px}
.onboard-actions{display:flex;flex-direction:column;gap:6px;margin-top:6px}
.onboard .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:16px;min-height:50px;font-weight:600;background:#fff;color:var(--a2-ink);text-decoration:none}
.onboard .button.primary{min-height:56px;border-radius:18px;background:var(--a2-g);color:#fff;font-size:16px!important;box-shadow:0 10px 22px rgba(15,92,70,.22)}
.onboard .button.soft{background:#D9EFE2;color:var(--a2-g)}
.onboard .text-button{background:none;border:0;color:var(--a2-g);font-weight:600;min-height:44px;justify-content:center}
.onboard .onboard-skip{color:var(--a2-muted)}
.goal-grid{display:flex;flex-direction:column;gap:10px}
.goal-card{display:flex;align-items:center;gap:14px;width:100%;border:2px solid transparent;border-radius:20px;background:#fff;padding:14px 16px;text-align:right;color:inherit;min-height:76px}
.goal-card:hover,.goal-card.selected{border-color:var(--a2-g)}
.goal-card strong{display:block;font-size:16px}
.goal-card small{display:block;font-size:13px;color:var(--a2-muted);margin-top:2px}
.goal-icon{width:46px;height:46px;flex:none;border-radius:16px;display:grid;place-items:center;background:#D9EFE2;color:var(--a2-g)}
.goal-card:nth-child(2) .goal-icon{background:#DCE9F7;color:#2A5A88}
.goal-card:nth-child(3) .goal-icon{background:#E9E3F6;color:#55428C}
.debt-rows{display:flex;flex-direction:column;gap:8px}
.debt-row{display:grid;grid-template-columns:28px minmax(0,1.4fr) minmax(0,1fr);gap:8px;align-items:center}
.debt-index{width:28px;height:28px;border-radius:50%;background:#fff;color:var(--a2-muted);display:grid;place-items:center;font-size:13px;font-weight:700}
.debt-row input{min-height:52px;min-width:0;border:1.5px solid transparent;border-radius:16px;background:#fff;padding:0 14px;font-size:16px;color:var(--a2-ink)}
.debt-row input:focus{outline:none;border-color:var(--a2-g);box-shadow:0 0 0 4px rgba(15,92,70,.12)}
.debt-row input[dir=ltr]{text-align:right}
.debt-row.saved input{background:#D9EFE2}
.onboard-error:empty{display:none}
.onboard-error .error-box{border:0;border-radius:16px;background:#FBE3DF;color:#8E2F22;margin:0}
.payoff-card .payoff-label{font-size:14px;color:#CFE7DD;margin-top:12px}
.payoff-names{display:flex;flex-wrap:wrap;gap:6px;margin-top:14px}
.payoff-names span{font-size:12px;font-weight:600;background:rgba(255,255,255,.14);color:#fff;border-radius:999px;padding:3px 10px}
.onboard .sales-card .big-money{font-size:42px}
/* subscribe plans and steps (trial page, trial-bar details, settings) */
.subscribe-steps{display:flex;flex-direction:column;gap:14px}
.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.plan-card{position:relative;display:flex;flex-direction:column;gap:2px;border:2px solid transparent;border-radius:20px;background:#fff;padding:14px;color:var(--a2-ink);text-decoration:none}
.plan-card.best{border-color:var(--a2-g)}
.plan-badge{position:absolute;top:-11px;left:12px;font-size:11px;font-weight:700;background:var(--a2-lime);color:#163B2C;border-radius:999px;padding:2px 9px}
.plan-name{font-size:13px;color:var(--a2-muted);font-weight:600}
.plan-card strong{font-size:20px;font-weight:700}
.plan-card strong .currency{font-size:12px!important;font-weight:500;color:var(--a2-muted)}
.plan-per{font-size:12px;color:var(--a2-muted)}
.subscribe-list{list-style:none;counter-reset:step;margin:0;padding:4px 16px;background:#fff;border-radius:22px}
.subscribe-list li{counter-increment:step;display:grid;grid-template-columns:32px 1fr;column-gap:12px;padding:12px 0;border-bottom:1px solid var(--a2-row)}
.subscribe-list li:last-child{border-bottom:0}
.subscribe-list li::before{content:counter(step);grid-row:span 2;width:32px;height:32px;border-radius:50%;background:#D9EFE2;color:var(--a2-g);display:grid;place-items:center;font-weight:700;font-size:14px}
.subscribe-list strong{font-size:14px}
.subscribe-list span{font-size:13px;color:var(--a2-muted);line-height:1.6}
#modal .whatsapp-cta,.onboard .whatsapp-cta{text-decoration:none}
#modal .plan-cta,.settings-plan .plan-cta{margin-top:10px;min-height:40px;padding:0 16px;border-radius:999px;background:#fff;color:#7A4F0E;font-size:13px!important;font-weight:700;border:0}
/* settings switch */
.switch{flex:none;width:46px;height:28px;border-radius:999px;background:#C9D6D0;position:relative;transition:background .2s}
.switch span{position:absolute;top:3px;right:3px;width:22px;height:22px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2);transition:transform .2s}
.switch.on{background:var(--a2-g)}
.switch.on span{transform:translateX(-18px)}
/* simple mode home */
.simple-hero{margin-bottom:12px}
.simple-quick{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:16px}
.simple-quick-btn{display:flex;flex-direction:column;align-items:center;gap:6px;border:0;background:transparent;color:var(--a2-ink);font-size:13px;font-weight:600;padding:0;min-height:44px}
.simple-quick-icon{width:56px;height:56px;border-radius:19px;display:grid;place-items:center}
.simple-quick-icon svg{width:24px;height:24px}
.simple-quick-btn.mint .simple-quick-icon{background:#D9EFE2;color:#0F5C46}.simple-quick-btn.lilac .simple-quick-icon{background:#E9E3F6;color:#55428C}
.simple-quick-btn.amber .simple-quick-icon{background:#FCE8CC;color:#7A4F0E}.simple-quick-btn.sky .simple-quick-icon{background:#DCE9F7;color:#2A5A88}
.simple-tip{margin:14px 2px 0}
@media(prefers-reduced-motion:reduce){.onboard-progress>div,.switch,.switch span{transition:none}}
/* Categories & dollar pricing (2026-11-16) */
.cat-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px}
.cat-chip{font-size:11px!important;line-height:1.6;padding:1px 8px;border-radius:999px;background:#E3EFE8;color:var(--a2-g);font-weight:500}
.cat-chip.more{background:var(--a2-row);color:var(--a2-muted)}
.detail-page>.cat-chips{margin:-4px 0 14px}
.usd-tag{font-weight:600;color:#1D5FA8;font-variant-numeric:tabular-nums}
.app-main .cat-filter{margin-top:-8px}
.app-main .pill.small,#modal .pill.small{height:32px;min-height:32px;padding:0 12px;font-size:12px}
#modal .pill.active{background:var(--a2-g);color:#fff}
.rate-card{display:flex;align-items:center;gap:12px;width:100%;text-align:right;border:0;border-radius:18px;background:#E6F0FA;padding:14px 16px;margin:0 0 12px;color:var(--a2-ink)}
.rate-icon{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#fff;color:#1D5FA8;font-size:20px;font-weight:700;flex:none}
.rate-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.rate-text strong{font-size:15px}
.rate-text small{font-size:12px;color:var(--a2-muted);line-height:1.6}
.rate-go{font-size:13px;font-weight:600;color:#1D5FA8;flex:none}
.organize-link{display:flex;align-items:center;gap:10px;width:100%;text-align:right;border:1px dashed #BFD3C8;border-radius:16px;background:#fff;padding:12px 16px;margin:0 0 16px;color:var(--a2-g);font-size:14px;font-weight:600}
.organize-link span{flex:1}
.organize-link svg{width:19px;height:19px}
.ref-rate{display:block;width:100%;text-align:right;border:0;border-radius:12px;background:#E6F0FA;color:#1D5FA8;padding:10px 14px;margin:-6px 0 16px;font-size:13px;font-weight:600}
.ref-rate small{font-weight:400;color:var(--a2-muted)}
.usd-calc{display:block;margin-top:2px}
.usd-calc .money{font-weight:700;color:var(--a2-g)}
.cat-field .cat-options{display:flex;flex-wrap:wrap;gap:8px}
.cat-new{display:flex;gap:8px;margin-top:8px}
.cat-new input{flex:1;min-height:40px!important}
.cat-new .button{min-height:40px}
.cat-options{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}
.organizer .bulk-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.organizer .bulk-tools .button{flex:1;min-width:140px}
.organizer .select-all{margin:4px 0 8px}
.bulk-list{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-bottom:12px}
.bulk-row{cursor:pointer;min-height:64px;padding:12px 14px}
.bulk-row input{width:20px;height:20px;accent-color:var(--a2-g);flex:none}
.bulk-bar{position:sticky;bottom:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap;background:#fff;border-top:1px solid var(--line);padding:12px 0 calc(12px + env(safe-area-inset-bottom))}
.bulk-count{font-size:13px;color:var(--a2-muted);white-space:nowrap}
.bulk-count strong{color:var(--a2-ink);font-size:16px}
.bulk-actions{display:grid;grid-template-columns:repeat(4,auto);gap:6px;flex:1;justify-content:end}
.bulk-actions .button{min-height:40px;padding:6px 10px;font-size:13px!important;white-space:nowrap}
@media (max-width:480px){.bulk-actions{grid-template-columns:1fr 1fr;width:100%}.bulk-count{width:100%}}
.undo-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;background:#183f2c;color:#fff;border-radius:12px;padding:8px 14px;margin:0 0 12px;font-size:13px}
#modal .undo-bar .button.text-button{color:var(--a2-lime);font-size:14px!important}
.cat-row-actions{display:flex;gap:14px}
#modal .text-button.danger{color:var(--red)}
.suggest-group{margin-bottom:6px}
.suggest-group .detail-label{display:flex;align-items:center;gap:8px}
.suggest-group .check-field{margin:0 0 10px}
.usd-row .row-end{min-width:96px}
.usd-field{display:flex;align-items:center;gap:4px;font-weight:700;color:#1D5FA8}
.usd-input{width:92px;min-height:40px;border:1px solid #dce5dd;border-radius:9px;padding:6px 8px;font-size:16px;text-align:left}
.strike{text-decoration:line-through}
.tile-sub{display:block;font-size:13px;margin-top:2px}

/* Voice lookup card, dollar notes, price hints (2026-11-16) */
#modal .notice.success{background:#D9EFE2;color:var(--a2-g);font-weight:600}
.currency-note{direction:rtl}
.lookup .lookup-row{cursor:pointer}
.lookup .detail-tiles{margin-bottom:14px}
.lookup-sale{margin-top:4px}
.lookup-warn{color:#a7564a;margin:-6px 0 6px}
.tile-sub.neg{color:#a7564a;font-weight:700}
.lookup-done .modal-foot{margin-top:14px}
.price-hints{display:flex;flex-direction:column;gap:10px;margin-top:12px}
.price-hint{background:#fbf5e6;border:1px solid #efe2c2;border-radius:12px;padding:12px 14px;font-size:13px;line-height:1.9}
.price-hint .money{font-weight:700}
.hint-actions{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap}
.hint-actions .button{min-height:36px;padding:6px 14px;font-size:12px}

/* Notifications: bell, inbox, daily rate popup (2026-11-16) */
.bell-trigger{position:relative;color:var(--a2-g,var(--green))}
.bell-count{position:absolute;top:-5px;inset-inline-end:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:#c4473b;color:#fff;font-size:10px;font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}
.inbox-top{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:12px}
.inbox-top .button{min-height:36px;padding:6px 14px;font-size:12px}
.inbox-top .button:only-child{margin-inline-start:auto}
.notice-list{border-radius:16px;overflow:hidden}
.notice-row{align-items:flex-start;cursor:pointer;min-height:0}
.notice-row.unread{background:#f2f8f3}
.notice-row .notice-body{font-size:13px;line-height:1.9;color:#4b5d55;margin-top:2px;overflow-wrap:anywhere}
.notice-icon{background:#e3f1e8;color:var(--a2-g,var(--green))}
.unread-dot{width:9px;height:9px;border-radius:50%;background:#c4473b;flex-shrink:0;margin-top:8px}
.rate-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:12px}
.rate-box{border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:2px;background:#eef3f0}
.rate-box.ref{background:#D9EFE2}
.rate-box span{font-size:12px;color:#5c6f66}
.rate-box strong{font-size:26px;line-height:1.4;color:var(--a2-g,var(--green))}
.rate-box small{font-size:11px;color:#7b8b83}
.rate-check-actions{display:flex;flex-direction:column;gap:8px;margin-top:10px}
.rate-check-off{display:block;margin:10px auto 0;color:#7b8b83}

/* Phone alerts ask (Phase 2) */
.push-ask{margin:0 0 14px;padding:14px 16px;border-radius:18px;background:#e7f3ec;border:1px solid #cfe6d8;display:flex;flex-direction:column;gap:6px}
.push-ask strong{font-size:15px;color:var(--a2-ink)}
.push-ask p{margin:0;font-size:13px;color:var(--a2-muted)}
.push-ask-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}
/* Dollar pricing tour (2026-11-17) */
.usd-tour{display:flex;flex-direction:column;gap:14px}.usd-tour ul{margin:0;padding:0 18px 0 0;display:grid;gap:9px;line-height:1.8}.tour-badge{direction:ltr;width:52px;height:52px;border-radius:16px;background:var(--mint);color:var(--green);display:grid;place-content:center;font:800 26px Arial,sans-serif}.tour-dots{display:flex;gap:6px}.tour-dots span{width:8px;height:8px;border-radius:99px;background:var(--line)}.tour-dots span.on{width:22px;background:var(--green)}
.tour-spot{position:relative;z-index:5;box-shadow:0 0 0 3px #fff,0 0 0 6px #65a991!important;border-radius:14px;animation:tour-pulse 1.6s ease-in-out infinite}
@keyframes tour-pulse{50%{box-shadow:0 0 0 3px #fff,0 0 0 11px rgba(101,169,145,.35)}}
.tour-bubble{position:fixed;z-index:60;max-width:min(300px,calc(100vw - 24px));background:var(--green-dark);color:#fff;padding:10px 14px;border-radius:14px;font-size:13px;line-height:1.7;box-shadow:0 10px 30px rgba(13,76,57,.28);pointer-events:none}
.tour-chip{position:fixed;z-index:61;left:50%;transform:translateX(-50%);bottom:calc(18px + env(safe-area-inset-bottom));display:flex;gap:8px;background:#fff;padding:8px;border-radius:18px;box-shadow:0 10px 34px rgba(37,59,52,.22);width:max-content;max-width:calc(100vw - 24px)}
.usd-calc.bad{color:var(--red)}
@media (prefers-reduced-motion:reduce){.tour-spot{animation:none}}

/* Admin controls (2026-11-18): banner, view-as strip, maintenance/update cover, switched-off features */
#zm-control:empty{display:none}
.zm-strip{display:flex;align-items:center;gap:10px;padding:10px 16px;font-size:14px;font-weight:600;line-height:1.6;background:#e9f4ed;color:#116149;justify-content:center;flex-wrap:wrap}
.zm-strip.warn{background:#fcefd9;color:#7a4f0e}.zm-strip.success{background:#dff3c4;color:#1f4a17}
.zm-strip.view-as{background:#253b34;color:#fff}.zm-strip.view-as svg{width:18px;height:18px}
.zm-strip a{color:inherit;text-decoration:underline}
.zm-strip button{border:0;border-radius:999px;padding:4px 14px;min-height:34px;background:#fff;color:#253b34;font-weight:700;font-size:13px}
.zm-strip .zm-x{background:transparent;color:inherit;padding:4px;min-height:34px;margin-inline-start:auto}.zm-strip .zm-x svg{width:16px;height:16px}
.zm-cover{position:fixed;inset:0;z-index:200;background:#f5f7f5;display:grid;place-items:center;padding:24px}
.zm-cover-card{max-width:380px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:32px;display:flex;flex-direction:column;gap:14px;align-items:center}
.zm-cover-card p{color:var(--muted);font-size:14px}
.zf-off-voice #voice-button,.zf-off-voice .faster-callout{display:none!important}
.notice-img{display:block;width:100%;max-height:180px;object-fit:cover;border-radius:12px;margin:8px 0 2px}
/* Excel / CSV catalog import */
#modal .excel-map,#modal .excel-review{display:flex;flex-direction:column;gap:14px;min-width:0}
#modal .excel-map .field{margin:0;min-width:0}
#modal .excel-map select{min-width:0;text-overflow:ellipsis}
#modal .excel-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;background:#fff;border-radius:22px;padding:14px 16px}
#modal .excel-preview{display:grid;gap:8px;background:#fff;border-radius:22px;padding:14px 16px;font-size:13px}
#modal .excel-preview-row{display:grid;gap:2px;padding-top:8px;border-top:1px solid var(--a2-row);min-width:0}
#modal .excel-preview-row span{font-weight:600;overflow-wrap:anywhere}
#modal .excel-preview-row small,#modal .excel-row small{color:var(--a2-muted);font-size:12px;line-height:1.7}
#modal .excel-summary{display:flex;flex-wrap:wrap;gap:6px}
#modal .excel-summary .badge{font-size:13px!important;padding:4px 10px;margin:0;border-radius:999px}
#modal .excel-list{display:grid;gap:8px}
#modal .excel-row{display:flex;align-items:flex-start;gap:10px;background:#fff;border-radius:18px;padding:12px 14px;min-width:0}
#modal .excel-row input[type=checkbox]{width:20px;height:20px;accent-color:var(--a2-g);flex-shrink:0;margin:3px 0 0}
#modal .excel-row.exists,#modal .excel-row.dup{opacity:.62}
#modal .excel-row.problem{box-shadow:inset 0 0 0 1.5px #EBCB8E}
#modal .excel-row-body{display:grid;gap:2px;flex:1;min-width:0}
#modal .excel-row-body strong{font-size:14px;overflow-wrap:anywhere}
#modal .excel-row-problem{color:#7A4F0E!important}
#modal .excel-row-end{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex-shrink:0}
#modal .excel-row-end .badge{margin:0}
#modal .excel-row-end .text-button{padding:4px 0;min-height:32px}
#modal .excel-editor{background:#fff;border-radius:18px;padding:14px;display:grid;gap:4px}
#modal .excel-editor .field{margin-bottom:10px;min-width:0}
#modal .excel-editor .form-grid{gap:0 10px}
#modal .excel-editor .modal-foot{margin-top:0}
@media(max-width:500px){#modal .excel-fields{grid-template-columns:1fr}}
/* Error boxes scroll into view below the sticky sheet header, never under it */
.error-box{scroll-margin-top:96px;scroll-margin-bottom:24px}
#modal .excel-problems{background:#fff;border-radius:18px;padding:4px 14px}
#modal .excel-problems>summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px;font-weight:600;color:#7A4F0E;list-style-position:inside}
#modal .excel-problems[open]>summary{margin-bottom:8px}
#modal .excel-problems .excel-row{box-shadow:inset 0 0 0 1.5px #EBCB8E;background:#FFFCF5}
#modal .excel-problems>.excel-list{padding-bottom:10px}
#modal .excel-stock-note{margin:0;line-height:1.7}
#modal .excel-review>.error-box{margin:0}
/* Permissions card (2026-11-20) */
.voice-button{-webkit-touch-callout:none}
#modal .perm-card{display:flex;flex-direction:column;gap:14px}
#modal .perm-rows{display:flex;flex-direction:column;gap:10px}
#modal .perm-row{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:#fff;box-shadow:inset 0 0 0 1.5px var(--line)}
#modal .perm-row.granted{background:#eef7f1;box-shadow:inset 0 0 0 1.5px #cfe6d8}
#modal .perm-row.denied{background:#fdf1ef;box-shadow:inset 0 0 0 1.5px #f0cdc7}
#modal .perm-icon{width:42px;height:42px;border-radius:14px;display:grid;place-content:center;background:var(--mint);color:var(--green);flex-shrink:0}
#modal .perm-text{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px;line-height:1.6}
#modal .perm-state{font-size:12px;font-weight:600;color:var(--muted)}
#modal .perm-row.granted .perm-state{color:var(--green)}
#modal .perm-row.denied .perm-state{color:var(--red)}
#modal .perm-row .button{flex-shrink:0;white-space:nowrap}
#modal .perm-help{padding:12px 14px;border-radius:14px;background:#FCE8CC;color:#7A4F0E;font-size:12px;line-height:1.9}
#modal .perm-help ol{margin:6px 0 0;padding-inline-start:18px}
#modal .notice .mic-fix{display:flex;width:fit-content;margin-top:10px}
/* Stock value card on the performance page (2026-11-20) */
.stock-value{padding:18px;display:flex;flex-direction:column;gap:12px;margin:0 0 14px}
.stock-value-head{display:flex;flex-direction:column;gap:2px}
.stock-value-head h3{margin:0}
.stock-value .stock-value-tiles{margin:0}
.stock-value .perf-fact{border-bottom:0;padding:4px 0}
.stock-value .perf-fact strong.negative{color:var(--red)}
.stock-value .stock-value-gap{margin:0;display:flex;flex-direction:column;gap:8px}
.stock-value .stock-value-gap p{margin:0}
/* Tutorials hub + checklist v2 (2026-11-20) */
.activation-step-copy{flex:1}
.activation-how{flex-shrink:0;font-size:12px;font-weight:700;color:var(--green);background:var(--mint);border-radius:999px;padding:3px 10px;white-space:nowrap}
#modal .tour-row .settings-row-text{flex:1}
#modal .tour-row .row-icon b{font:800 18px Arial,sans-serif}
#modal .tour-state{flex-shrink:0;font-size:12px;font-weight:700;border-radius:999px;padding:3px 10px;background:#FCE8CC;color:#7A4F0E;white-space:nowrap}
#modal .tour-state.done{background:var(--mint);color:var(--green)}
/* Tutorials phase 2 (2026-11-21): first-visit offer card + empty-screen links */
.tour-offer{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--a2-lime,#C8EC8F);border-radius:18px;padding:10px 12px;margin:0 0 14px;box-shadow:0 4px 14px rgba(15,92,70,.07)}
.tour-offer-badge{display:grid;place-content:center;width:38px;height:38px;flex-shrink:0;border-radius:12px;background:var(--mint);color:var(--green);font:800 18px Arial,sans-serif}
.tour-offer-badge svg{width:20px;height:20px}
.tour-offer-text{flex:1;min-width:0;display:flex;flex-direction:column;line-height:1.5}
.tour-offer-text small{color:var(--a2-muted,#56665F);font-size:12.5px}
.tour-offer .button{flex-shrink:0}
.tour-offer-close{flex-shrink:0;border:0;background:none;width:32px;height:32px;border-radius:50%;font-size:22px;line-height:1;color:var(--a2-muted,#56665F)}
.tour-offer-close:hover{background:var(--a2-row,#EDF2EF)}
.empty-actions{display:flex;flex-direction:column;align-items:center;gap:6px}
.tour-link{font-size:13px}
/* Tutorials phase 3 (2026-11-21): one-bubble tips are tappable */
.tour-bubble.tip{pointer-events:auto;padding:12px 14px}
.tip-body{display:flex;flex-direction:column;gap:10px}
.tip-actions{display:flex;gap:8px;justify-content:flex-start;flex-wrap:wrap}
.tour-bubble.tip .button.soft{background:rgba(255,255,255,.14);color:#fff;border-color:transparent}
.tour-bubble.tip .button.primary{background:var(--a2-lime,#C8EC8F);color:var(--green-dark);border-color:transparent}
/* Branches (2026-11-21) */
.branch-chip{display:inline-flex;align-items:center;gap:6px;max-width:220px;min-height:38px;padding:0 12px;border:1px solid rgba(15,92,70,.18);border-radius:999px;background:#fff;color:var(--a2-g);font:inherit;font-size:13px;font-weight:600;cursor:pointer}
.branch-chip span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.branch-chip svg{width:16px;height:16px;flex:none}
.settings-row.current{cursor:default}
.branch-row .settings-row-text{min-width:0}
.branch-row-actions{display:flex;gap:6px;flex:none}
.branch-row-actions .button{min-height:34px;padding:0 12px;font-size:13px}
.branch-add{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:22px;padding:16px}
.branch-add h3{margin:0;font-size:16px}
.check-row{display:flex;align-items:flex-start;gap:10px;cursor:pointer}
.check-row input{width:20px;height:20px;margin-top:3px;flex:none;accent-color:var(--a2-g)}
.check-row span{display:flex;flex-direction:column;gap:2px}
.check-row small{color:var(--a2-muted);font-size:13px}
.branch-full{display:flex;flex-direction:column;gap:12px;background:#fff;border-radius:22px;padding:16px}
.branch-full p{margin:0}
.branch-plan-link{align-self:center;border:0;background:transparent;color:var(--a2-muted);font:inherit;font-size:14px;padding:4px 8px;cursor:pointer}
.branch-plan-link span{color:var(--a2-g);text-decoration:underline;text-underline-offset:3px}
.branch-plan p{margin:0 0 4px}
.branch-points{margin:0;padding:0 18px 0 0;display:flex;flex-direction:column;gap:8px;line-height:1.7}
.branch-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0}
.branch-prices .detail-note{grid-column:1/-1;margin:0}
.branch-price{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:18px;padding:14px}
.branch-price small{color:var(--a2-muted);font-size:12px}
.branch-period{display:flex;gap:6px;margin-bottom:12px}
.branch-period .chip{min-height:38px;padding:0 16px;border:0;border-radius:999px;background:#fff;color:var(--a2-ink);font:inherit;font-weight:600;cursor:pointer}
.branch-period .chip.active{background:var(--a2-g);color:#fff}
.branch-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.branch-stat{display:flex;flex-direction:column;gap:4px;background:#fff;border-radius:18px;padding:12px 14px;min-width:0}
.branch-stat>small:first-child{color:var(--a2-muted);font-size:13px}
.branch-stat .money{font-size:18px;font-weight:700}
.branch-stat .muted{font-size:12px;color:var(--a2-muted)}
.branch-compare-title{margin:18px 0 10px;font-size:16px}
.branch-compare{display:flex;flex-direction:column;gap:10px}
.branch-card{display:flex;flex-direction:column;gap:10px;width:100%;background:#fff;border:0;border-radius:20px;padding:14px;text-align:right;font:inherit;color:inherit;cursor:pointer}
.branch-card-top{display:flex;justify-content:space-between;align-items:center;gap:8px}
.branch-bar{height:6px;border-radius:3px;background:var(--a2-row);overflow:hidden}
.branch-bar span{display:block;height:100%;background:var(--a2-g2);border-radius:3px}
.branch-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px;margin:0}
.branch-facts div{min-width:0}
.branch-facts dt{font-size:12px;color:var(--a2-muted)}
.branch-facts dd{margin:0;font-size:14px;font-weight:600;overflow:hidden;text-overflow:ellipsis}
@media(max-width:480px){.branch-facts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:801px){.branch-stats{grid-template-columns:repeat(4,minmax(0,1fr))}}
.branch-add .field input{background:var(--a2-bg)}
/* Social-app browser escape + notification ask sheet (2026-11-22) */
.webview-escape{background:#fff4e2;border-color:#f3dcb4}
.webview-escape .small{font-size:12px;color:var(--a2-muted)}
.push-ask-sheet .branch-points{margin:4px 0 8px}
.push-ask-sheet .modal-foot,.push-blocked .modal-foot{display:flex;flex-direction:column;gap:8px}
.push-ask-sheet .modal-foot .button,.push-blocked .modal-foot .button{width:100%}
