:root{--ink:#17221d;--muted:#78847e;--green:#1d6047;--green-dark:#164b38;--mint:#e8f2eb;--bg:#f6f7f4;--white:#fff;--line:#e8ebe7;--red:#bd4d42;--red-bg:#fff0ed;--amber:#a86413;--amber-bg:#fff5df;--shadow:0 14px 40px rgba(32,51,41,.07);font-family:'DM Sans',sans-serif;color:var(--ink)}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:14px}button,input,select,textarea{font:inherit}button{cursor:pointer}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3,strong,.brand-lockup{font-family:'Manrope','DM Sans',sans-serif}h1{font-size:28px;letter-spacing:-.8px;margin-bottom:0}h2{font-size:22px;letter-spacing:-.5px;margin-bottom:8px}h3{font-size:16px;margin:0 0 7px}.hidden{display:none!important}.muted{color:var(--muted)}.tiny{font-size:11px}.center{text-align:center}.eyebrow{font-size:10px;letter-spacing:1.3px;text-transform:uppercase;color:#91a097;font-weight:700;margin-bottom:9px}.brand-mark{width:42px;height:42px;border-radius:14px;background:#d4e8d7;color:#1f6247;display:grid;place-items:center;font-family:'Manrope';font-weight:800;font-size:18px;letter-spacing:-1px}.brand-mark span{color:#8fb35e}.brand-mark.small{width:34px;height:34px;border-radius:11px;font-size:15px}.login-screen{min-height:100vh;display:grid;grid-template-columns:minmax(360px,1fr) minmax(460px,1fr);background:#fff}.login-brand{padding:clamp(40px,8vw,110px);background:#173e31;color:#fff;display:flex;flex-direction:column;justify-content:center;position:relative;overflow:hidden}.login-brand:after{content:'';width:520px;height:520px;border:1px solid rgba(255,255,255,.09);border-radius:50%;position:absolute;right:-250px;bottom:-260px;box-shadow:0 0 0 45px rgba(255,255,255,.025),0 0 0 100px rgba(255,255,255,.02)}.login-brand .brand-mark{margin-bottom:66px}.login-brand .eyebrow{color:#a9c9b5}.login-brand h1{font-size:clamp(46px,6vw,76px);line-height:.98;letter-spacing:-3px}.login-brand h1 span{color:#a8cf8b}.login-copy{font-size:16px;color:#c1d1c8;max-width:330px;line-height:1.65;margin:25px 0 0}.login-steps{display:flex;align-items:center;gap:12px;color:#b3c8bc;font-size:11px;margin-top:72px}.login-steps i{width:23px;height:1px;background:#668879}.login-panel{display:grid;place-items:center;padding:35px}.login-card{width:min(100%,420px)}.login-card h2{font-size:27px;margin-bottom:7px}.login-card>.muted{margin-bottom:28px}.login-card label,.form-label{display:block;font-size:12px;font-weight:700;margin:14px 0 7px}.login-card input,.login-card select,.field-input,.field-select,.field-textarea{width:100%;border:1px solid #dfe5df;background:#fff;border-radius:10px;padding:12px 13px;color:var(--ink);outline:none;transition:.18s}.login-card input:focus,.field-input:focus,.field-select:focus,.field-textarea:focus{border-color:#7ca98b;box-shadow:0 0 0 3px rgba(65,129,91,.1)}.login-card input::placeholder,.field-input::placeholder{color:#b1bbb5}.button{border:0;border-radius:10px;padding:12px 15px;font-weight:700;transition:.16s;display:inline-flex;align-items:center;justify-content:center;gap:10px}.button-primary{background:var(--green);color:#fff}.button-primary:hover{background:var(--green-dark);transform:translateY(-1px)}.button-secondary{background:#edf3ee;color:var(--green)}.button-secondary:hover{background:#e0ece2}.button-quiet{background:#f3f5f2;color:#526159}.button-danger{background:var(--red-bg);color:var(--red)}.button-small{padding:8px 11px;font-size:12px;border-radius:8px}.full{width:100%;margin-top:17px}.full span{font-size:18px}.divider{display:flex;align-items:center;gap:12px;margin:26px 0 14px;color:#99a39d;font-size:11px}.divider:before,.divider:after{content:'';height:1px;background:var(--line);flex:1}.demo-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.demo-button{display:grid;justify-items:center;gap:7px;padding:13px 4px;border:1px solid var(--line);border-radius:10px;background:white;color:#56635b;font-size:11px}.demo-button:hover{border-color:#9fbea8;background:#f8fbf8}.demo-icon{font-size:20px;color:var(--green)}.login-card .center{margin-top:13px}.signup-fields{margin-top:6px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.code-box{padding-top:5px}.app-shell{min-height:100vh;display:grid;grid-template-columns:248px 1fr}.sidebar{background:#fff;border-right:1px solid var(--line);padding:23px 15px 18px;display:flex;flex-direction:column;min-height:100vh;position:sticky;top:0;height:100vh}.brand-lockup{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font-weight:800;letter-spacing:-.4px;padding:0 8px;font-size:14px}.brand-lockup small{display:block;font-size:9px;letter-spacing:1.4px;text-transform:uppercase;color:#7f8b84;margin-top:2px}.workspace-label{font-size:9px;font-weight:700;color:#a2aca6;letter-spacing:1px;padding:0 10px;margin:43px 0 10px}.side-link{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:9px;color:#67736c;text-decoration:none;margin:2px 0;font-size:13px}.side-link:hover{background:#f6f8f5;color:var(--green)}.side-link.active{background:#eaf3ec;color:var(--green);font-weight:700}.nav-icon{width:18px;text-align:center;font-size:16px}.sidebar-bottom{margin-top:auto}.help-card{display:flex;gap:10px;align-items:center;padding:12px;background:#f6f8f5;border-radius:10px;margin-bottom:13px}.help-icon{width:25px;height:25px;border-radius:50%;background:#dfecdf;color:var(--green);display:grid;place-items:center;font-weight:700}.help-card strong,.help-card small{display:block}.help-card strong{font-size:11px}.help-card small{font-size:9px;color:var(--muted);margin-top:3px}.logout-button{border:0;background:none;color:#7b8780;padding:10px 12px;width:100%;text-align:left}.logout-button:hover{color:var(--red)}.main-area{min-width:0;padding:0 38px}.topbar{height:110px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.topbar .eyebrow{margin-bottom:4px}.topbar h1{font-size:23px}.topbar-user{display:flex;align-items:center;gap:10px}.topbar-user strong,.topbar-user small{display:block}.topbar-user strong{font-size:12px}.topbar-user small{font-size:10px;color:var(--muted);margin-top:3px}.online-dot{width:7px;height:7px;background:#65aa71;border-radius:50%;margin-right:2px}.avatar{width:34px;height:34px;border-radius:50%;background:#dfece1;color:var(--green);display:grid;place-items:center;font-weight:700;margin-left:6px}.view{max-width:1180px;margin:0 auto;padding:28px 0 18px;min-height:calc(100vh - 155px)}.footer-note{font-size:10px;color:#a3aca6;padding:10px 0 18px}.footer-note span{padding:0 5px}.page-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.page-intro p{margin:4px 0 0;color:var(--muted);font-size:12px}.page-intro h2{margin:0}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px;margin-bottom:23px}.stat-card,.card,.panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 3px 12px rgba(24,46,33,.025)}.stat-card{padding:16px 17px}.stat-label{font-size:11px;color:var(--muted);margin-bottom:11px}.stat-value{font-family:'Manrope';font-size:24px;font-weight:800;letter-spacing:-1px}.stat-sub{font-size:10px;color:#9ba59e;margin-top:5px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:25px 0 12px}.section-head h3{margin:0}.section-head a{color:var(--green);text-decoration:none;font-size:11px;font-weight:700}.panel{padding:19px}.order-list{display:grid;gap:11px}.order-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 17px;transition:.16s}.order-card:hover{box-shadow:var(--shadow)}.order-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.order-id{font-size:14px;font-weight:800;font-family:'Manrope'}.order-meta{font-size:11px;color:var(--muted);margin-top:4px}.status-pill{display:inline-flex;align-items:center;gap:6px;padding:6px 9px;border-radius:30px;background:#eef3ef;color:#597064;font-size:10px;font-weight:700;white-space:nowrap}.status-pill:before{content:'';width:6px;height:6px;background:#77a785;border-radius:50%}.status-pill.warning{background:var(--amber-bg);color:var(--amber)}.status-pill.warning:before{background:#d89c42}.status-pill.alert{background:var(--red-bg);color:var(--red)}.status-pill.alert:before{background:#dc7166}.order-lines{margin:14px 0 11px;border-top:1px solid #f0f2ef}.line-row{display:grid;grid-template-columns:minmax(140px,1.7fr) minmax(100px,1fr) minmax(88px,.7fr) minmax(80px,.6fr);gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #f2f4f1;font-size:11px}.line-row:last-child{border-bottom:0}.line-head{color:#9ba59e;font-size:9px;text-transform:uppercase;letter-spacing:.5px;padding-top:12px}.line-row.changed{background:#fff8f6;margin:0 -8px;padding-left:8px;padding-right:8px;color:#8d4039}.changed .fact-cell{color:var(--red);font-weight:800}.qty-control{width:90px;padding:7px 8px;border:1px solid #e2e7e1;border-radius:7px}.order-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:11px;border-top:1px solid #f0f2ef}.order-total{font-family:'Manrope';font-size:15px;font-weight:800}.order-actions{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.notice{padding:11px 13px;border-radius:9px;background:#f4f7f3;color:#65736a;font-size:11px;margin:12px 0}.notice.warning{background:var(--amber-bg);color:#865317}.notice.error{background:var(--red-bg);color:#994a43}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.product-card{padding:15px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;flex-direction:column;min-height:145px}.product-category{font-size:9px;text-transform:uppercase;color:#98a59c;letter-spacing:.7px}.product-card h3{font-size:13px;margin:8px 0 4px}.product-price{font-family:'Manrope';font-size:15px;font-weight:800;margin-top:auto;padding-top:10px}.product-price small{font-family:'DM Sans';font-size:10px;font-weight:400;color:var(--muted)}.product-add{display:flex;gap:7px;margin-top:10px}.product-add input{width:76px;padding:8px;border:1px solid var(--line);border-radius:8px}.vendor-select{min-width:220px}.cart-bar{position:sticky;bottom:14px;background:#173e31;color:white;border-radius:12px;padding:13px 16px;display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:16px;box-shadow:0 12px 30px rgba(23,62,49,.18)}.cart-bar .muted{color:#bed0c4;font-size:11px}.cart-items{font-size:12px;font-weight:700}.empty-state{padding:38px 20px;text-align:center;border:1px dashed #dbe2dc;border-radius:12px;color:#839087;background:rgba(255,255,255,.55)}.empty-icon{font-size:28px;color:#93b49a;margin-bottom:8px}.empty-state strong{display:block;color:#526159;margin-bottom:5px}.table{width:100%;border-collapse:collapse}.table th{text-align:left;font-size:9px;letter-spacing:.6px;text-transform:uppercase;color:#98a39c;font-weight:700;padding:10px;border-bottom:1px solid var(--line)}.table td{padding:11px 10px;border-bottom:1px solid #f0f2ef;font-size:11px}.table tr:last-child td{border-bottom:0}.table input,.table select{max-width:130px;padding:7px;border:1px solid var(--line);border-radius:7px}.form-row{display:grid;grid-template-columns:2fr 1fr 1fr 1fr auto;gap:8px;align-items:end}.form-row label{font-size:10px;color:var(--muted)}.form-row input,.form-row select{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;margin-top:5px}.invite-box{display:flex;gap:8px;margin-top:10px}.invite-box input{flex:1;min-width:0}.doc-state{display:flex;align-items:center;gap:7px;font-size:10px;color:#6d7c72}.doc-state .doc-dot{width:7px;height:7px;background:#9bb8a0;border-radius:50%}.doc-banner{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f5f8f4;padding:12px;border-radius:9px;margin:12px 0}.doc-banner strong{font-size:11px}.doc-banner small{display:block;color:var(--muted);margin-top:3px;font-size:10px}.toast{position:fixed;right:20px;top:20px;z-index:10;max-width:min(420px,calc(100vw - 40px));background:#193f32;color:#fff;padding:12px 16px;border-radius:10px;box-shadow:var(--shadow);font-size:12px;opacity:0;transform:translateY(-8px);pointer-events:none;transition:.2s}.toast.show{opacity:1;transform:translateY(0)}.toast.error{background:#943f36}.modal-backdrop{position:fixed;inset:0;background:rgba(14,26,20,.28);display:grid;place-items:center;padding:20px;z-index:5}.modal{background:#fff;border-radius:14px;width:min(100%,560px);padding:21px;box-shadow:0 24px 60px rgba(18,37,26,.2)}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-head h3{margin:0}.modal-close{border:0;background:#f2f4f1;border-radius:50%;width:28px;height:28px}.mobile-nav{display:none}
@media(max-width:1000px){.app-shell{grid-template-columns:210px 1fr}.main-area{padding:0 24px}.stat-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row{grid-template-columns:2fr 1fr 1fr}.form-row>div:nth-child(4){grid-column:1/3}.form-row button{grid-column:3}}
@media(max-width:700px){.login-screen{grid-template-columns:1fr}.login-brand{padding:28px 25px 26px;min-height:280px}.login-brand .brand-mark{margin-bottom:27px}.login-brand h1{font-size:48px}.login-copy{font-size:13px;margin:14px 0 0}.login-steps{margin-top:25px}.login-panel{padding:32px 21px}.login-card{max-width:430px}.app-shell{display:block;padding-bottom:65px}.sidebar{position:fixed;z-index:4;top:auto;bottom:0;left:0;right:0;width:100%;height:62px;min-height:0;padding:5px 8px;border-right:0;border-top:1px solid var(--line);display:block}.brand-lockup,.workspace-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;justify-content:space-around;gap:2px}.side-link{display:flex;flex-direction:column;gap:3px;padding:6px 5px;margin:0;min-width:55px;font-size:9px}.nav-icon{font-size:17px}.main-area{padding:0 15px}.topbar{height:82px}.topbar h1{font-size:20px}.topbar-user{gap:6px}.topbar-user small{font-size:9px}.topbar-user strong{max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.avatar{width:30px;height:30px}.view{padding-top:20px;min-height:calc(100vh - 127px)}.page-intro{align-items:flex-start;flex-direction:column}.page-intro .toolbar{width:100%}.page-intro .toolbar>*{flex:1}.stat-grid{gap:8px}.stat-card{padding:12px}.stat-value{font-size:20px}.stat-label{font-size:10px;margin-bottom:7px}.product-grid{grid-template-columns:1fr 1fr;gap:8px}.product-card{padding:12px;min-height:145px}.line-row{grid-template-columns:minmax(95px,1.3fr) minmax(66px,.8fr) minmax(70px,.8fr);gap:5px;font-size:10px}.line-row>*:last-child{display:none}.line-row.line-head>*:last-child{display:none}.order-card{padding:13px}.order-top{gap:6px}.order-bottom{align-items:flex-start;flex-direction:column}.order-actions{justify-content:flex-start}.vendor-select{width:100%}.cart-bar{bottom:72px}.form-row{grid-template-columns:1fr 1fr}.form-row>div:first-child{grid-column:1/3}.form-row>div:nth-child(4){grid-column:auto}.form-row button{grid-column:1/3}.table-wrap{overflow-x:auto}.topbar-user .online-dot{display:none}.footer-note{padding-bottom:7px}}
@media(max-width:390px){.demo-grid{grid-template-columns:repeat(2,1fr)}.product-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:1fr 1fr}.order-actions .button{font-size:10px;padding:7px 9px}}
.offline-banner{margin-top:13px;padding:10px 13px;border-radius:9px;background:#fff3dd;color:#855514;font-size:11px}
.topbar-tools{display:flex;align-items:center;gap:20px}.notification-wrap{position:relative}.notification-toggle{position:relative;width:38px;height:38px;border:1px solid var(--line);background:#fff;border-radius:11px;color:#637168;display:grid;place-items:center}.notification-toggle:hover{border-color:#abc7b2;color:var(--green)}.notification-toggle svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.notification-count{position:absolute;right:-5px;top:-5px;min-width:17px;height:17px;padding:0 4px;border-radius:10px;background:#bd4d42;color:#fff;font-size:9px;font-weight:800;display:grid;place-items:center;border:2px solid var(--bg)}.notification-panel{position:absolute;right:0;top:46px;width:min(370px,calc(100vw - 30px));max-height:min(520px,70vh);overflow:auto;z-index:8;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);padding:13px}.notification-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:3px 2px 11px;border-bottom:1px solid #f0f2ef}.notification-panel-head strong{font-family:'Manrope';font-size:13px}.notification-panel-head button{border:0;background:transparent;color:var(--green);font-size:10px;font-weight:700}.notification-item{display:block;width:100%;text-align:left;padding:11px 8px;border:0;border-bottom:1px solid #f0f2ef;background:#fff;border-radius:7px}.notification-item:hover{background:#f7faf6}.notification-item.unread{background:#f4f8f3}.notification-title{font-size:11px;font-weight:800;color:var(--ink)}.notification-body{font-size:10px;color:#66736b;line-height:1.45;margin-top:4px}.notification-time{font-size:9px;color:#9ca69f;margin-top:6px}.notification-empty{padding:23px 8px;text-align:center;font-size:11px;color:var(--muted)}
.timeline{max-height:58vh;overflow:auto;padding:5px 0 8px}.timeline-item{display:flex;gap:12px;position:relative;padding:0 4px 18px}.timeline-item:not(:last-child):before{content:'';position:absolute;left:9px;top:14px;bottom:0;width:1px;background:#dce8de}.timeline-dot{width:11px;height:11px;margin-top:2px;flex:0 0 11px;border-radius:50%;background:#6c9b78;border:3px solid #e8f2eb;z-index:1}.timeline-title{font-size:12px;font-weight:700}.timeline-meta{font-size:10px;color:var(--muted);margin-top:4px}.timeline-detail{font-size:10px;color:#536159;background:#f5f7f4;border-radius:6px;padding:6px 8px;margin-top:7px}
.photo-preview{display:block;padding:0;border:0;border-radius:8px;background:transparent;overflow:hidden;cursor:zoom-in}.photo-preview img{display:block;width:100%;height:100%;object-fit:cover}.catalog-photo-cell{display:flex;align-items:center;gap:8px;min-width:130px}.catalog-photo-preview{width:54px;height:48px;flex:0 0 54px}.photo-select{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:7px 9px;border-radius:8px;background:#edf3ee;color:var(--green);font-size:10px;font-weight:700;cursor:pointer;white-space:nowrap}.photo-select:hover{background:#e0ece2}.photo-select:focus-within{outline:2px solid #7ca98b;outline-offset:2px}.photo-select input{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}.photo-empty{font-size:10px;color:var(--muted);white-space:nowrap}.product-new-photo{margin-top:6px}.product-photo-preview{width:100%;height:128px;margin-bottom:12px;background:#f2f5f1}.product-photo-empty{height:128px;display:grid;place-items:center;margin-bottom:12px;border-radius:9px;background:#f2f5f1;color:#98a39c;font-size:10px}.line-photo-preview{width:46px;height:40px;margin-top:7px}.actual-photo-holder{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:5px}.actual-photo-preview{width:60px;height:50px}.photo-caption{display:block;font-size:9px;color:var(--muted);width:100%}.line-photo-select{margin-top:6px;min-height:29px}.no-photo-hint{display:block;margin-top:5px;color:#9a7a4d;font-size:9px}.image-modal .modal{width:min(100%,900px);max-height:calc(100vh - 40px);overflow:auto}.image-modal .modal>img{display:block;max-width:100%;max-height:calc(100vh - 170px);object-fit:contain;margin:0 auto 14px;border-radius:8px}.image-modal .modal .full{width:100%}
.login-logo{display:block;width:124px;height:124px;object-fit:contain;padding:7px;background:#fff;border-radius:20px;margin-bottom:34px;position:relative;z-index:1}.brand-logo-image{display:block;flex:0 0 42px;width:42px;height:42px;object-fit:cover;background:#fff;border:1px solid #edf0ec;border-radius:11px}.brand-lockup{gap:10px}
@media(max-width:700px){.login-logo{width:88px;height:88px;padding:5px;border-radius:16px;margin-bottom:22px}}
.brand-logo-image{object-fit:contain}
.login-logo{width:min(100%,460px);height:auto;max-height:160px;object-fit:contain;padding:0;background:transparent;border-radius:0;margin:0 0 28px;position:relative;z-index:1}
.brand-logo-image{object-fit:cover}
.report-filters{display:grid;grid-template-columns:repeat(3,minmax(130px,1fr)) auto;align-items:end;gap:12px;margin-bottom:16px}
.report-filters label{display:grid;gap:6px;color:var(--muted);font-size:11px;font-weight:700}
.report-filters .field-input,.report-filters .field-select{width:100%;min-width:0}
@media(max-width:700px){.login-logo{width:min(100%,360px);max-height:120px;margin-bottom:20px}.report-filters{grid-template-columns:1fr 1fr}.report-filters label:nth-child(3){grid-column:1/3}.report-filters>.button{grid-column:1/3;width:100%}}
@media(max-width:700px){.report-table{width:100%;min-width:0;border-collapse:collapse}.report-table thead{display:none}.report-table,.report-table tbody,.report-table tr,.report-table td{display:block;width:100%}.report-table tr{padding:8px 10px;border-bottom:1px solid var(--line)}.report-table td{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:5px 0;border:0;text-align:right}.report-table td:before{content:attr(data-label);flex:0 0 43%;color:var(--muted);font-size:10px;text-align:left}.report-table td[colspan]{display:block;text-align:left}.report-table td[colspan]:before{content:none}}
.table input.product-name-input{width:190px;max-width:190px}.table input.product-category-input{display:block;width:130px;max-width:130px;margin-top:5px;font-size:10px}
.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.settings-field{display:grid;gap:7px;font-size:12px;font-weight:700}.settings-actions{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-top:20px}.settings-actions .button{flex:none}@media(max-width:640px){.settings-grid{grid-template-columns:1fr}.settings-actions{align-items:stretch;flex-direction:column}}
.form-row{grid-template-columns:minmax(160px,2fr) repeat(4,minmax(80px,1fr)) auto}
@media(max-width:1000px){.form-row{grid-template-columns:minmax(0,2fr) repeat(2,minmax(120px,1fr))}.form-row>div:first-child{grid-column:span 2}.form-row>div:nth-child(4){grid-column:auto}.form-row button{grid-column:1/4}}
@media(max-width:820px){.login-screen{grid-template-columns:1fr}.login-brand{padding:40px 32px;min-height:300px}.login-brand .brand-mark{margin-bottom:30px}.login-steps{margin-top:30px}}
@media(max-width:700px){.form-row{grid-template-columns:repeat(2,minmax(0,1fr))}.form-row>div:first-child{grid-column:1/3}.form-row button{grid-column:1/3}.login-brand{padding:28px 25px 26px;min-height:280px}.login-brand .brand-mark{margin-bottom:27px}.login-steps{margin-top:25px}}
/* Authentication controls for both the email-code and password flows. */
.password-login-form{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.auth-links{display:flex;align-items:center;justify-content:center;gap:9px;margin-top:12px;color:#a1aba4;font-size:11px}
.auth-links button{border:0;background:transparent;color:var(--green);font-weight:700;padding:4px}
.auth-links button:hover{text-decoration:underline}

/* Account menu and personal profile settings. */
.account-menu-wrap{position:relative}
.topbar-user{border:0;background:transparent;color:var(--ink);padding:6px 7px;border-radius:10px;cursor:pointer;text-align:left}
.topbar-user:hover,.topbar-user:focus-visible{background:#eef4ef;outline:none}
.account-user-copy{display:block}
.account-menu-caret{color:var(--muted);font-size:14px;margin-left:1px}
.account-menu{position:absolute;z-index:9;right:0;top:calc(100% + 8px);width:220px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow)}
.account-menu-caption{padding:8px 10px 9px;color:var(--muted);font-size:10px;border-bottom:1px solid #f0f2ef;margin-bottom:5px}
.account-menu button{display:flex;align-items:center;gap:10px;width:100%;padding:10px;border:0;border-radius:8px;background:#fff;color:var(--ink);text-align:left;font-size:12px}
.account-menu button:hover,.account-menu button:focus-visible{background:#f3f7f3;outline:none}
.account-menu button>span{width:17px;color:var(--green);text-align:center;font-size:15px}
.account-menu .account-menu-logout{border-top:1px solid #f0f2ef;border-radius:0 0 8px 8px;margin-top:4px;color:#8f4942}
.account-menu .account-menu-logout>span{color:#8f4942}
.account-profile-modal{width:min(100%,470px)}
.account-profile-modal .modal-head{align-items:flex-start}
.account-profile-modal .eyebrow{margin-bottom:4px}
.profile-identity{display:flex;align-items:center;gap:12px;padding:14px;background:#f6f8f5;border-radius:11px;margin-bottom:15px}
.profile-avatar{width:44px;height:44px;flex:0 0 44px;margin:0;font-size:18px}
.profile-identity strong,.profile-identity span{display:block}
.profile-identity strong{font-size:14px}
.profile-identity span{margin-top:4px;color:var(--muted);font-size:11px}
.profile-details{margin:0;border:1px solid var(--line);border-radius:10px;overflow:hidden}
.profile-details>div{display:grid;grid-template-columns:125px minmax(0,1fr);gap:12px;padding:11px 13px;border-bottom:1px solid #f0f2ef}
.profile-details>div:last-child{border-bottom:0}
.profile-details dt{color:var(--muted);font-size:11px}
.profile-details dd{margin:0;overflow-wrap:anywhere;font-size:12px;font-weight:700}
.profile-note{margin:13px 0 16px;color:var(--muted);font-size:10px;line-height:1.5}
@media(max-width:700px){.topbar-user{gap:5px}.account-menu-caret{display:none}.account-menu{right:-4px}.profile-details>div{grid-template-columns:105px minmax(0,1fr)}}
.profile-edit-form{display:grid;gap:13px}
.profile-edit-form .profile-note{margin:0}
.profile-pending-email{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.profile-pending-email button{border:0;background:transparent;color:inherit;font-weight:800;text-decoration:underline;cursor:pointer;padding:2px}
.company-search-panel{display:grid;gap:10px;margin:0 0 16px}
.company-search-panel>div:first-child strong{font-size:13px}
.company-search-panel>div:first-child p{margin:4px 0 0}
.company-search-panel .invite-box{margin-top:0}
.company-search-result{padding-top:4px;border-top:1px solid var(--line)}
.company-search-card{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:10px 2px}
.company-search-card strong,.company-search-card span{display:block}
.company-search-card strong{font-size:13px}
.company-search-card>div>span{margin-top:4px;color:var(--muted);font-size:10px}
.company-search-hint{margin:0;color:var(--muted);font-size:10px;line-height:1.5}
.company-code-card{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.company-code-card>div{display:grid;gap:5px}
.company-code-card strong{font-family:'Manrope';font-size:19px;letter-spacing:.8px}
.company-code-card small{max-width:580px;color:var(--muted);font-size:10px;line-height:1.5}
.profile-company-code{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:11px;color:var(--muted);font-size:10px}
@media(max-width:640px){.company-code-card{align-items:stretch;flex-direction:column}.company-code-card .button{width:100%}}
@media(max-width:520px){.profile-company-code{align-items:stretch;flex-direction:column}.profile-company-code .button{width:100%}}
.android-download{margin:10px 0 0}
.android-download a{color:var(--green);font-weight:700;text-decoration:none}
.android-download a:hover{text-decoration:underline}
@media(max-width:700px){
  .section-head{align-items:flex-start;flex-wrap:wrap;gap:8px}
  .section-head>.muted{flex:1 1 100%;line-height:1.45;text-align:left}
  .report-table td{display:grid;grid-template-columns:minmax(0,43%) minmax(0,1fr);align-items:start;justify-content:initial;gap:4px 14px;text-align:right}
  .report-table td:before{grid-column:1;flex:initial}
  .report-table td>*{grid-column:2;min-width:0;overflow-wrap:anywhere}
}
