:root{--ink:#283947;--muted:#89928f;--secondary:#6e7a78;--bg:#f7f8f5;--white:#fff;--line:#e9ede7;--green:#314f44;--green-dark:#253d38;--green-soft:#edf3eb;--green-mid:#95b49d;--peach:#f3e1d6;--peach-text:#b3785d;--lilac:#eee8f6;--lilac-text:#91809d;--butter:#f5f0d9;--red:#c77b65;--radius:17px;--shadow:0 3px 12px #283b321f;--font:'Manrope',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
*{box-sizing:border-box}html{min-width:320px;scroll-behavior:smooth;overflow-x:hidden}body{overflow-x:hidden}body{margin:0;background:var(--bg);font-family:var(--font);color:var(--ink);font-size:15px;line-height:1.5;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}input,select,textarea{min-width:0}button:focus-visible,a:focus-visible{outline:3px solid #a8c8b4;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #aec8b7;outline-offset:1px}svg{flex-shrink:0}h1,h2,h3,p{margin:0}.icon{width:20px;height:20px;vertical-align:middle;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.plain-button{border:0;background:none;padding:0}.muted{color:var(--muted)}.positive-text{color:#59876b!important}.negative-text{color:var(--red)!important}.wide{width:100%}.text-link{background:none;border:0;display:inline-flex;align-items:center;gap:6px;color:var(--green);padding:0;font-size:13px;font-weight:700;white-space:nowrap}.text-link .icon{width:14px;height:14px}.text-link:hover{color:#7b9e81}.inline-link{border:0;background:none;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;color:var(--secondary);padding:0}.inline-link .icon{width:13px;height:13px}.inline-link:hover{color:var(--green)}
.app-frame{display:flex;min-height:100vh}.sidebar{width:236px;position:fixed;inset:0 auto 0 0;z-index:20;background:var(--green-dark);color:#f3f6f0;padding:31px 19px 18px;display:flex;flex-direction:column;overflow-y:auto}.brand{display:flex;align-items:center;gap:9px;padding:0 7px;flex-shrink:0}.brand>span{font-weight:800;letter-spacing:-.8px;font-size:24px;line-height:1.2}.brand small{display:block;color:#717f77;font-size:8.9px;letter-spacing:1.15px;font-weight:500;margin-top:5px}.brand img{object-fit:contain}.workspace{display:flex;align-items:center;gap:9px;text-align:left;border:1px solid #ffffff15;border-radius:11px;background:#ffffff06;padding:12px 10px;margin:29px 0 28px;color:#f4f5ef;width:100%}.workspace:hover{background:#ffffff0c}.workspace-icon{height:31px;width:31px;background:#ffffff0c;border-radius:8px;display:grid;place-items:center;color:#99a193;flex-shrink:0}.workspace-icon .icon{width:17px;height:17px}.workspace>span:nth-child(2){flex:1;min-width:0}.workspace strong{display:block;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace small{font-size:11px;color:#6e7c75;display:block;margin-top:3px}.workspace>.icon{width:13px;height:13px;color:#6b7a72}.nav-label{font-size:10.5px;letter-spacing:1.8px;font-weight:600;color:#7f988c;padding-left:14px;margin-bottom:12px}.sidebar nav{display:grid;gap:5px}.nav-item{border:0;background:none;display:flex;align-items:center;gap:12px;color:#7c8981;padding:11px 13px;text-align:left;border-radius:8px;font-size:13.5px;font-weight:500;transition:background .18s,color .18s;min-height:42px;width:100%;position:relative}.nav-item>.icon{width:18px;height:18px;color:#718077}.nav-item:hover{background:#ffffff07;color:#fff}.nav-item.active{background:#dce9d7;color:#344f41;font-weight:700}.nav-item.active>.icon{color:#466747}.nav-item>b{font-size:10.5px;font-weight:600;line-height:18px;padding:0 5px;min-width:19px;border-radius:5px;background:#ffffff0d;color:#909b95;margin-left:auto;text-align:center}.nav-item.active>b{background:#c4d6bd;color:#3e6248}.nav-item .task-count{background:#ddad8917;color:#a28d7c}.sidebar-bottom{margin-top:auto;padding-top:29px}.sidebar-note{padding:16px 15px 18px;border:1px solid #ffffff0c;border-radius:13px;background:#ffffff04;position:relative;overflow:hidden}.sidebar-note>.icon{width:22px;height:22px;color:#909981;margin-bottom:9px}.sidebar-note strong{font-size:12.5px;display:block;font-weight:600;color:#a1a69b}.sidebar-note p{font-size:11.5px;color:#687770;line-height:1.8;margin-top:6px;max-width:135px}.note-doodle{position:absolute;right:-6px;bottom:-15px;color:#60766752;font-size:76px;font-family:serif;transform:rotate(15deg)}.service-nav{margin:14px 0 13px}.service-nav .nav-item{font-size:12.5px;min-height:35px;padding-top:8px;padding-bottom:8px}.service-nav .icon{width:16px;height:16px}.profile{display:flex;gap:9px;align-items:center;border:0;border-top:1px solid #ffffff12;background:none;width:100%;padding:17px 7px 0;text-align:left;color:#e4ede5}.profile>span:not(.avatar){flex:1}.profile strong{display:block;font-size:12.5px;font-weight:600}.profile small{font-size:10.5px;color:#68776f;margin-top:3px;display:block}.profile>.icon{width:13px;height:13px;color:#68776f}.avatar{width:32px;height:32px;flex-shrink:0;display:inline-grid;place-items:center;font-size:12.5px;font-weight:700;border-radius:50%;letter-spacing:-.4px}.tone-0{background:#eae5f1;color:#8d7d9c}.tone-1{background:#e4eee8;color:#6b8e78}.tone-2{background:#f7e9dc;color:#896c57}.tone-3{background:#ecd5bd;color:#916b50}.tone-4{background:#e5ebf1;color:#5e6e7e}.avatar.tiny{height:18px;width:18px;font-size:9.5px}.avatar.large{height:48px;width:48px;font-size:16px}.avatar-button{border:0;border-radius:50%;padding:0;background:none}.main-content{margin-left:236px;min-width:0;flex:1}.topbar{height:76px;padding:0 35px;background:#fff;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.top-left{display:flex;align-items:center;gap:12px}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:12.5px;color:#757973}.breadcrumb>.icon{width:10px;height:10px;color:#8d918b}.breadcrumb strong{font-weight:600;color:#647064}.top-actions{display:flex;align-items:center;gap:15px}.quick-search{display:flex;align-items:center;gap:8px;border:0;background:none;color:#767b76;font-size:12.5px;padding:6px}.quick-search>.icon{width:15px;height:15px}.quick-search kbd{font-family:var(--font);font-size:10.5px;background:#f8f9f6;border:1px solid #ecefe8;border-radius:4px;padding:2px 4px;margin-left:19px;color:#7d827b}.top-divider{height:22px;background:#e9ede7;width:1px}.icon-button{display:inline-grid;place-items:center;border:0;background:none;color:#89978a;width:30px;height:30px;border-radius:8px;transition:background .15s}.icon-button:hover{background:#f0f4ed;color:var(--green)}.icon-button>.icon{width:17px;height:17px}.notification{position:relative}.notification-dot{position:absolute;top:5px;right:5px;border:2px solid white;border-radius:50%;width:7px;height:7px;background:#c28e70}.mobile-menu,.mobile-brand,.mobile-bottom{display:none}.sidebar-scrim{display:none}.demo-bar,.connection-bar{min-height:30px;padding:5px 36px;border-bottom:1px solid #e8ebe1;background:#f0f2e9;color:#87927b;font-size:11.5px;display:flex;align-items:center;justify-content:space-between;gap:8px}.demo-bar>span{display:flex;align-items:center}.demo-bar i,.sync-dot{height:5px;width:5px;border-radius:50%;background:#b0bd9f;margin-right:7px;display:inline-block;flex-shrink:0}.demo-bar button{background:none;border:0;color:#637957;font-size:11.5px;font-weight:700;display:flex;align-items:center;gap:5px;padding:0}.demo-bar button .icon{width:12px;height:12px}.connection-bar{justify-content:flex-start;background:#f5f7f2;color:#849383}.connection-bar .sync-dot{background:#83a37e;margin-right:0}.view-root{padding:31px 35px 20px;max-width:1530px;margin:auto}.page-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:27px}.eyebrow{font-size:10.5px;font-weight:700;letter-spacing:1.55px;color:#6e7866;margin-bottom:9px}h1{font-weight:700;letter-spacing:-1.2px;font-size:29px;line-height:1.3}.greeting-sun{display:inline-block;vertical-align:middle;color:#96895f;margin-left:3px}.greeting-sun .icon{width:29px;height:29px;stroke-width:1.3}.page-head p{margin-top:8px;color:#6e7568;font-size:12.5px;line-height:1.7}.page-actions{display:flex;align-items:center;gap:10px;flex-shrink:0;margin-bottom:2px}.date-control{display:flex;align-items:center;gap:7px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:10px 12px;font-size:11.5px;color:#7c8777;text-transform:capitalize;white-space:nowrap}.date-control .icon{width:14px;height:14px;color:#707768}.button{padding:11px 15px;border:1px solid transparent;border-radius:8px;font-size:12.5px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:7px;line-height:1.4;transition:background .15s,box-shadow .15s;white-space:nowrap;min-height:38px}.button .icon{width:15px;height:15px}.button.primary{background:var(--green);color:#fff;box-shadow:0 3px 6px #243c3810}.button.primary:hover{background:#446553;box-shadow:0 5px 12px #314f4422}.button.secondary{background:#fff;border-color:#e4e9df;color:#6b7c64}.button.secondary:hover{background:#f4f7f0}.button.small{padding:7px 11px;min-height:31px;font-size:11.5px}.button.text-button{background:none;border:0;color:#8c9787}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:23px}.stat-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:18px 19px 16px;position:relative;overflow:hidden;min-height:134px;box-shadow:0 3px 7px #3c4f3802}.stat-top{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#939c8b;font-size:12.5px;font-weight:500}.stat-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;flex-shrink:0}.stat-icon .icon{width:17px;height:17px;stroke-width:1.5}.sage{background:#eaf0e5;color:#8a9e77}.peach{background:#f9eadd;color:#8c6e58}.lilac{background:#efeaf5;color:#786b86}.butter{background:#f5efd9;color:#b6a35e}.stat-value{display:block;font-size:26px;font-weight:700;letter-spacing:-1px;line-height:1.25;margin-top:6px;color:#324532}.stat-foot{display:flex;gap:7px;align-items:center;color:#75796e;font-size:10.5px;min-height:18px;margin-top:12px}.stat-pill{display:inline-block;background:#f1f4ed;color:#8da07a;padding:2px 6px;font-size:10.5px;border-radius:4px;white-space:nowrap}.stat-pill.attention{background:#f8f0e5;color:#b79869}.trend{display:inline-block;font-size:10.5px;padding:2px 5px;border-radius:4px;white-space:nowrap}.trend.positive{background:#eaf2e6;color:#779667}.trend.negative{background:#f6e9e3;color:#be8a6d}.stat-hint{color:#939e88;font-size:10.5px}.dashboard-main-grid{display:grid;grid-template-columns:minmax(0,1.67fr) minmax(0,1fr);gap:20px;margin-bottom:22px}.dashboard-bottom-grid{display:grid;grid-template-columns:minmax(0,1.67fr) minmax(0,1fr);gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);min-width:0;overflow:hidden}.card-head{display:flex;justify-content:space-between;align-items:center;padding:21px 22px 17px;gap:12px}.card-head h2{font-size:15px;letter-spacing:-.35px;font-weight:700;color:#3c4d3a}.card-head p{font-size:11px;color:#777c70;margin-top:5px;line-height:1.65}.card-head>.icon{width:20px;height:20px;color:#78836c}.period-select{border:1px solid #e9ece3;border-radius:7px;padding:8px 24px 8px 10px;color:#8b957e;background:#fff;font-size:11px;line-height:1.5;max-width:150px}.analytics-card .card-head{padding-bottom:15px}.analytics-summary{display:flex;gap:27px;padding:0 22px 12px}.analytics-summary>div{display:flex;flex-direction:column;gap:6px}.analytics-summary strong{font-size:17px;font-weight:700;letter-spacing:-.45px;color:#41563b}.legend{font-size:10.5px;color:#767c6c;display:inline-flex;align-items:center;gap:5px;white-space:nowrap}.legend:before{content:'';height:6px;width:6px;display:block;border-radius:2px;background:#9bb590}.legend.peach-dot:before{background:#dfb9a0}.balance-label{margin-left:auto;text-align:right}.balance-label>span{font-size:10.5px;color:#767c6c}.balance-label strong{font-size:15px}.chart-container{padding:0 13px 9px 10px}.finance-chart{width:100%;height:auto;display:block;max-height:210px}.chart-label{font-family:var(--font);font-size:11.5px;fill:#a3ae95}.chart-group{outline:none}.chart-group:hover .chart-hover-area,.chart-group:focus .chart-hover-area{fill:#f0f4e97d}.chart-group rect:not(.chart-hover-area){transition:opacity .15s}.chart-group:hover rect:not(.chart-hover-area){opacity:.8}.day-card{display:flex;flex-direction:column}.count-pill{background:#f2f4eb;color:#8c9a74;border-radius:5px;padding:2px 5px;font-size:10.5px;font-weight:600;margin-left:5px;vertical-align:middle;display:inline-block;line-height:1.5}.day-card .card-head{padding-bottom:12px}.schedule-list{padding:0 21px;flex:1}.schedule-item{display:flex;align-items:flex-start;gap:14px;border:0;background:none;text-align:left;padding:9px 0;width:100%}.schedule-item:hover .schedule-copy strong{color:#7b9871}.schedule-time{color:#88977b;position:relative;min-width:42px;font-size:12.5px;font-weight:600;padding-top:1px}.schedule-time:after{content:'';position:absolute;height:60px;width:1px;background:#e9efdf;right:-7px;top:11px}.schedule-item:last-child .schedule-time:after{display:none}.schedule-time i{position:absolute;right:-10px;top:5px;width:7px;height:7px;border-radius:50%;border:2px solid #c3d1b1;background:#fff;z-index:1}.schedule-time i.done{background:#9ab780}.schedule-copy{display:block;min-width:0;padding-left:7px}.schedule-copy strong{font-size:12.5px;font-weight:600;display:block;color:#556547;transition:color .15s}.schedule-copy>span{display:block;font-size:10.5px;color:#767e69;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:3px;max-width:240px}.fulfillment-label{font-size:9.5px;display:inline-flex;align-items:center;gap:4px;padding:2px 5px;margin-top:5px;border-radius:4px;color:#8b9e74;background:#f1f5e9}.fulfillment-label.pickup{background:#f9f1e7;color:#8a7158}.fulfillment-label>.icon{width:11px;height:11px}.card-bottom-link{display:flex;align-items:center;justify-content:center;gap:6px;border-top:1px solid #eff2e8;font-size:11.5px;color:#8d9c77;padding:12px;margin-top:12px;transition:background .15s}.card-bottom-link:hover{background:#f8faf3}.card-bottom-link .icon{width:12px;height:12px}.table-wrap{overflow:auto;width:100%}.order-table{width:100%;border-collapse:collapse;white-space:nowrap;min-width:650px}.order-table th{text-align:left;text-transform:uppercase;letter-spacing:.9px;font-size:9.5px;font-weight:500;color:#767e6a;background:#fcfdf9;border-top:1px solid #f0f3e9;border-bottom:1px solid #f0f3e9;padding:10px 17px}.order-table th:first-child{padding-left:22px}.order-table td{padding:16px 17px;border-bottom:1px solid #f0f3e9;font-size:12.5px}.order-table tbody tr:last-child td{border-bottom:0}.order-table tbody tr:hover{background:#fcfdf9}.order-table td:first-child{padding-left:22px}.order-table td:last-child{width:32px;padding-left:0;padding-right:10px}.order-table.compact{min-width:475px}.order-table.compact th{font-size:9px;padding:9px 10px;letter-spacing:.5px}.order-table.compact th:first-child{padding-left:20px}.order-table.compact td{padding:14px 10px;font-size:10.5px}.order-table.compact td:first-child{padding-left:20px}.order-table.compact td:last-child{padding:0 7px 0 0}.order-table.compact td:last-child .icon-button{width:21px;height:25px}.customer-cell{display:flex;align-items:center;gap:9px;background:none;border:0;padding:0;text-align:left;max-width:270px;width:100%}.customer-cell>span:last-child{min-width:0;display:block}.customer-cell strong{font-weight:600;font-size:13px;display:block;overflow:hidden;text-overflow:ellipsis}.customer-cell small{font-size:10.5px;color:#767b6b;display:block;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:200px}.compact .customer-cell{gap:8px}.compact .customer-cell .avatar{width:28px;height:28px;font-size:10.5px}.compact .customer-cell strong{font-size:11.5px}.compact .customer-cell small{font-size:9.5px;max-width:120px}.compact .customer-cell small>span{display:none}.table-date{color:#6e8061;font-size:12.5px}.table-sub{font-size:10.5px;color:#777f6c;display:flex;align-items:center;gap:4px;margin-top:4px}.table-sub .icon{width:12px;height:12px}.table-money{font-size:13px;letter-spacing:-.3px;font-weight:600;color:#4d623f}.compact .table-money{font-size:12.5px}.compact .table-date{font-size:10.5px}.compact .table-sub{font-size:9.5px}.compact .table-sub .icon{width:10px;height:10px}.badge{border-radius:5px;display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:500;padding:4px 7px;line-height:1.4;white-space:nowrap}.badge i{height:4px;width:4px;border-radius:50%;background:currentColor}.status-new{background:#f0ecf7;color:#736787}.status-confirmed{background:#eaf1e3;color:#8aa071}.status-production{background:#fff2df;color:#91764b}.status-ready{background:#e9f0e5;color:#85a66e}.status-delivery{background:#e8eff3;color:#637b86}.status-completed{background:#f0f3eb;color:#95a984}.status-cancelled{background:#f7e9e5;color:#8a6e62}.compact .badge{font-size:9px;padding:4px 5px}.compact .badge i{width:3px;height:3px}.tasks-card{display:flex;flex-direction:column}.tasks-card .card-head{padding-bottom:10px}.add-task{background:#f2f5eb;width:26px;height:26px;color:#95a77d;border-radius:6px}.add-task>.icon{width:15px;height:15px}.compact-tasks{padding:0 20px;flex:1}.task-row{display:flex;align-items:flex-start;gap:11px;padding:19px 0;border-bottom:1px solid #f0f3e8}.task-row:last-child{border-bottom:0}.compact-tasks .task-row{padding:13px 0}.task-check{appearance:none;width:16px;height:16px;border:1px solid #d7dfcb;border-radius:5px;margin:3px 0 0;flex-shrink:0;cursor:pointer;background:#fff;position:relative}.task-check:checked{background:#8fac78;border-color:#8fac78}.task-check:checked:after{content:'';position:absolute;left:5px;top:2px;width:4px;height:8px;border-right:1.5px solid #fff;border-bottom:1.5px solid #fff;transform:rotate(45deg)}.task-copy{flex:1;min-width:0}.task-title{border:0;background:none;text-align:left;padding:0;font-size:13px;font-weight:600;line-height:1.6;color:#5c6f4c}.task-title:hover{color:#90a679}.compact-tasks .task-title{font-size:11.5px;line-height:1.55}.task-meta{display:flex;gap:5px;align-items:center;font-size:10.5px;color:#767e6b;margin-top:7px;flex-wrap:wrap}.compact-tasks .task-meta{font-size:9.5px;gap:4px;margin-top:5px}.meta-dot{color:#909688}.priority-mark{color:#907b5e;margin-top:3px}.priority-mark .icon{width:13px;height:13px}.completed .task-title{color:#787e70;text-decoration:line-through}.completion-info{color:#94a482;font-size:10.5px;margin-top:8px;display:flex;align-items:center;gap:5px}.completion-info .icon{width:12px;height:12px}.task-order{border:0;background:#f0f4ea;color:#92a278;font-size:10.5px;border-radius:4px;padding:2px 5px}.kind-note{display:flex;align-items:center;gap:9px;padding:26px 3px 6px;color:#79816d;font-size:11.5px}.kind-note>.icon{width:18px;height:18px;color:#899379;stroke-width:1.4}.kind-line{height:1px;flex:1;background:linear-gradient(90deg,#e8edde,transparent);margin:0 8px 0 20px}.kind-spark{font-size:26px;color:#8b977e}.page-footer{max-width:1530px;margin:0 auto;padding:14px 35px 22px;display:flex;justify-content:space-between;gap:12px;color:#818873;font-size:10.5px}.page-footer>span:last-child{display:flex;align-items:center;gap:5px}.page-footer .icon{width:10px;height:10px}.payment-hint{display:flex;align-items:center;gap:3px;font-size:10.5px;margin-top:4px;color:#767e6a}.payment-hint.unpaid{color:#8b7c5b}.payment-hint.paid{color:#96a97b}.payment-hint .icon{width:10px;height:10px}.payment-track{height:3px;border-radius:3px;background:#edf2e4;overflow:hidden;margin-top:7px;max-width:100px}.payment-track>span{display:block;height:100%;border-radius:inherit;background:#aec899}.tabs-row{display:flex;gap:18px;padding:0 22px;overflow:auto;border-bottom:1px solid var(--line)}.tab-button{background:none;border:0;color:#707a65;border-bottom:2px solid transparent;padding:19px 0 14px;font-size:12.5px;white-space:nowrap;font-weight:500;display:inline-flex;align-items:center;gap:7px}.tab-button span{background:#f3f6ec;color:#768268;font-size:10.5px;padding:1px 5px;border-radius:4px}.tab-button.active{color:#597942;font-weight:700;border-bottom-color:#8dac77}.tab-button.active span{background:#e9f0e0;color:#82a066}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:19px 22px}.search-field{display:flex;align-items:center;gap:8px;border:1px solid #e4ead9;background:#fff;border-radius:8px;padding:0 11px;min-height:36px;flex:1;max-width:310px}.search-field>.icon{width:15px;height:15px;color:#7b866e}.search-field input{border:0;background:none;outline:none!important;padding:8px 0;width:100%;font-size:12.5px;color:#637c4e}.search-field input::placeholder{color:#808976}.toolbar-filters{display:flex;align-items:center;gap:8px}.toolbar-filters>select,.toolbar-filters>input,.task-toolbar>select,.agenda-filter>select{padding:9px 10px;border:1px solid #e6eddb;background:#fff;border-radius:7px;font-size:11.5px;color:#91a279}.table-footer{padding:16px 22px;display:flex;justify-content:space-between;gap:12px;font-size:11.5px;color:#79826b;border-top:1px solid #f0f3e7}.table-footer strong{color:#7f9565;font-weight:600;margin-left:5px}.empty-state{padding:35px 24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:180px}.empty-icon{width:45px;height:45px;display:grid;place-items:center;background:#f0f4e8;color:#808e6e;border-radius:14px;margin-bottom:13px}.empty-icon>.icon{width:25px;height:25px;stroke-width:1.3}.empty-state h3{font-size:14px;color:#869c70;font-weight:600}.empty-state p{font-size:12.5px;color:#808b75;max-width:270px;margin-top:7px;line-height:1.8}.empty-state .button{margin-top:18px}.schedule-list .empty-state,.compact-tasks .empty-state{padding:25px 10px}.calendar-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(270px,1fr);gap:20px}.calendar-controls{display:flex;align-items:center;gap:5px}.calendar-controls h2{text-transform:capitalize;margin-right:14px;font-size:17px}.calendar-week{display:grid;grid-template-columns:repeat(7,1fr);background:#f7faf1;padding:10px 0;color:#788467;text-align:center;font-size:11.5px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr)}.calendar-day{min-height:94px;border:0;border-right:1px solid #f0f4e7;border-bottom:1px solid #f0f4e7;background:#fff;padding:8px 5px 5px;display:flex;flex-direction:column;align-items:flex-start;gap:3px;color:#718959;transition:background .15s;min-width:0}.calendar-day:nth-child(7n){border-right:0}.calendar-day:hover{background:#f6faef}.calendar-day.outside{background:#fafcf6;color:#949b8b}.calendar-day.selected{background:#f0f6e7;box-shadow:inset 0 0 0 1.5px #b0c996}.day-number{font-size:12.5px;display:grid;place-items:center;border-radius:50%;width:22px;height:22px;margin-bottom:2px}.calendar-day.today .day-number{background:#719452;color:white}.calendar-event{display:block;width:100%;font-size:9.5px;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:3px 4px;background:#edf5e1;color:#7e9d5b;border-radius:3px;line-height:1.4}.calendar-event.pickup{background:#faf0dd;color:#8d7650}.calendar-more{font-size:9.5px;color:#798662;margin:2px 4px}.mobile-day-count{display:none}.calendar-legend{display:flex;gap:16px;padding:14px 22px}.day-agenda{align-self:start}.agenda-filter{padding:0 20px 12px}.agenda-filter>select{width:100%}.agenda-list{padding:0 20px}.agenda-order{padding:18px 0;border-bottom:1px solid #eff5e6}.agenda-order:last-child{border-bottom:0}.agenda-top{display:flex;justify-content:space-between;align-items:center}.agenda-top>strong{color:#7e9c5e;font-size:16px}.agenda-customer{display:flex;align-items:center;justify-content:space-between;font-size:13px;font-weight:700;width:100%;margin:12px 0 8px;text-align:left}.agenda-customer>.icon{width:12px;height:12px;color:#828f6b}.agenda-order p{font-size:11.5px;color:#778165;display:flex;align-items:flex-start;gap:5px;line-height:1.7}.agenda-order p>.icon{height:13px;width:13px;margin-top:2px}.agenda-order>.text-link{margin-top:9px;font-size:10.5px}.agenda-order>small{display:block;font-size:10.5px;color:#7b856a;margin-top:12px}.customer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:0 22px 22px}.client-card{border:1px solid #e9efdf;border-radius:12px;padding:20px}.client-card>.avatar{margin-bottom:12px;height:38px;width:38px;font-size:14px}.client-card h3{font-size:14px;color:#718956}.client-phone{display:block;margin-top:5px;font-size:11.5px;color:#788364}.client-stats{display:flex;gap:25px;padding:19px 0 14px;border-bottom:1px solid #eff4e6}.client-stats>div{display:grid;gap:6px}.client-stats small{font-size:10.5px;color:#828b75}.client-stats strong{font-size:15px;font-weight:700;color:#859e65}.client-bottom{display:flex;justify-content:space-between;gap:8px;margin-top:14px;font-size:10.5px}.client-bottom .text-link{font-size:10.5px}.tasks-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:20px}.task-toolbar{display:flex;align-items:center;justify-content:space-between;padding:16px 22px;border-bottom:1px solid #f1f5e9;color:#788368;font-size:11.5px}.task-list{padding:0 22px 6px}.workload-card{align-self:start}.workload-list{padding:0 22px}.workload-person{padding:14px 0;border-bottom:1px solid #f1f5e9}.workload-person:last-child{border:0}.workload-person>div:first-child{display:flex;align-items:center;gap:9px}.workload-person>div>span:not(.avatar){flex:1}.workload-person strong{display:block;font-size:12.5px;color:#718956}.workload-person small{display:block;font-size:10.5px;color:#808b75;margin-top:3px}.workload-person b{font-size:12.5px;font-weight:500;color:#768662}.progress-track{height:4px;background:#edf3e4;border-radius:3px;overflow:hidden;margin-top:11px}.progress-track>span{display:block;height:100%;background:#afc790;border-radius:inherit}.workload-person>small{font-size:9.5px;margin-top:7px}.workload-note{display:flex;align-items:center;gap:10px;background:#f6f9ed;color:#778565;padding:16px 22px;margin-top:15px;font-size:11.5px;line-height:1.7}.workload-note>.icon{width:22px;height:22px;color:#89946f}.finance-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:20px}.finance-kpis .stat-card{min-height:145px}.finance-kpis .stat-value{font-size:29px}.finance-kpis .stat-foot{font-size:10.5px}.finance-wide-chart{margin-bottom:20px}.finance-wide-chart .finance-chart{max-height:240px}.chart-legend{display:flex;gap:17px}.transactions-card>.tabs-row{border-top:1px solid #edf3e3}.transaction-list{padding:0 22px}.transaction-row{display:flex;align-items:center;gap:12px;padding:17px 0;border-bottom:1px solid #f0f4e7}.transaction-row:last-child{border-bottom:0}.transaction-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;flex-shrink:0;background:#ecf3e2;color:#70825b}.transaction-icon.expense{background:#f6eddd;color:#8e7c60}.transaction-icon>.icon{width:17px;height:17px}.transaction-copy{flex:1;min-width:0}.transaction-copy strong{display:block;font-size:13px;color:#788e60;font-weight:600}.transaction-copy>span{display:block;font-size:10.5px;color:#7d876d;margin-top:4px}.transaction-copy .text-link{font-size:10.5px;color:#71805d}.transaction-date{font-size:11.5px;color:#7d876d;flex-shrink:0;margin-left:8px}.transaction-amount{font-size:14px;font-weight:600;min-width:100px;text-align:right}.info-strip{display:flex;align-items:center;gap:10px;background:#eef5e5;border:1px solid #e2ebd4;padding:13px 17px;border-radius:9px;color:#92a97a;font-size:12.5px;line-height:1.8;margin-bottom:22px}.info-strip>.icon{width:18px;height:18px}.team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.team-card{padding:23px}.team-card.inactive{opacity:.65}.team-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:17px}.access-status{display:flex;align-items:center;gap:5px;font-size:9.5px;color:#7e896d}.access-status i{width:4px;height:4px;border-radius:50%;background:#c9cfc2}.access-status.enabled i{background:#afc58e}.team-card h3{font-size:17px;color:#7b9660;font-weight:700}.team-card>p{margin-top:3px;color:#808a6e;font-size:12.5px}.login-label{display:block;font-size:11.5px;margin-top:10px;color:#778664}.team-task-stats{display:grid;grid-template-columns:1fr 1fr;margin-top:25px;gap:16px}.team-task-stats>div{display:flex;flex-direction:column;gap:4px}.team-task-stats strong{font-size:21px;line-height:1.2;color:#89a669;font-weight:600}.team-task-stats small{font-size:10.5px;color:#868e77}.team-card>.progress-track{margin-top:14px}.team-card-actions{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f1f5e9;margin-top:22px;padding-top:14px}.team-card-actions .text-link{color:#73865e;font-size:11.5px}.settings-layout{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:start}.settings-form{padding:0 23px 23px}.settings-aside{display:grid;gap:18px}.settings-block{padding:0 22px 22px}.settings-block p{font-size:12.5px;line-height:1.9;color:#7b866e;margin-bottom:16px}.settings-block>.button+.button{margin-top:10px}.start-banner{display:flex;align-items:center;justify-content:space-between;gap:22px;border:1px solid #e5eccf;padding:24px;background:#eff4e2;border-radius:15px;margin-bottom:22px}.start-banner h2{font-size:16px;font-weight:600;letter-spacing:-.4px;color:#8b9f6c}.start-banner p{font-size:12.5px;color:#80896b;margin-top:6px}.start-banner .eyebrow{color:#7c8765;font-size:9.5px;margin-bottom:7px}.boot-screen{min-height:100vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;text-align:center}.boot-screen h1{font-size:26px;color:#627c4f;letter-spacing:-.8px}.boot-screen p{font-size:14px;max-width:420px;color:#707f60;line-height:1.9}.boot-screen code{background:#eaf1de;padding:2px 5px;border-radius:4px;font-size:14px}.loader{width:20px;height:20px;border:2px solid #dfe8cf;border-top-color:#8da973;border-radius:50%;animation:spin .8s linear infinite;margin-top:10px}@keyframes spin{to{transform:rotate(360deg)}}
/* Modals, authentication, detail sheets and responsive layout */
.modal-overlay{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px;background:#243c3866;backdrop-filter:blur(6px);overflow:auto}.modal{width:min(650px,100%);max-height:calc(100vh - 40px);overflow:auto;background:#fff;border-radius:18px;box-shadow:0 20px 70px #243c3838;color:var(--ink);outline:none}.modal.narrow{width:min(440px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 25px 4px;gap:20px}.modal-head h2{font-size:18px;letter-spacing:-.6px;color:#42543e}.modal-head p{font-size:11.5px;color:#767e6e;line-height:1.7;margin-top:5px}.modal-close{width:30px;height:30px;border:0;border-radius:8px;background:#f2f5ed;color:#717c6a;display:grid;place-items:center}.modal-close>.icon{width:16px;height:16px}.modal-form{padding:20px 25px 25px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field{display:grid;gap:7px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11.5px;font-weight:600;color:#788c6d}.field input,.field select,.field textarea{border:1px solid #e3eadb;border-radius:8px;background:#fff;padding:10px 11px;font-size:12.5px;color:#647758;width:100%;resize:vertical}.field textarea{min-height:73px}.field input::placeholder,.field textarea::placeholder{color:#838b7c}.field-hint{font-size:10.5px;color:#7b8671;line-height:1.7;margin-top:-5px}.field-hint:before{content:'✧';margin-right:5px;color:#8d967e}.form-section{padding:0 0 20px;margin-bottom:19px;border-bottom:1px solid #eff3e8}.form-section:last-of-type{border-bottom:0;margin-bottom:0;padding-bottom:0}.section-label{font-size:9.5px;letter-spacing:1.35px;font-weight:700;color:#768168;margin-bottom:12px}.item-label-row{display:flex;align-items:center;justify-content:space-between}.item-label-row .text-link{font-size:10.5px;color:#8ca377}.item-label-row .text-link>.icon{width:12px;height:12px}.item-head{display:grid;grid-template-columns:minmax(0,1fr) 72px 110px 30px;gap:8px;font-size:10.5px;color:#808978;padding:0 3px 6px}.item-row{display:grid;grid-template-columns:minmax(0,1fr) 72px 110px 30px;gap:8px;margin-bottom:8px}.item-row input{min-width:0;border:1px solid #e3eadb;border-radius:7px;padding:9px 8px;font-size:11.5px;color:#687b5b}.item-row .icon-button{width:30px;height:31px}.item-row .icon-button>.icon{width:14px;height:14px}.order-total-line{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:12px;padding-top:12px;border-top:1px dashed #e1e8d8;color:#737f69;font-size:11.5px}.order-total-line strong{font-size:17px;color:#6c8b56}.form-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;margin-top:17px}.form-error{color:#bf785f;font-size:11.5px;line-height:1.6;margin:0 auto 0 0}.form-error:empty{display:none}.form-footer .button{min-width:105px}.auth-page{min-height:100vh;background:#f7f8f5;display:grid;grid-template-columns:minmax(390px,1.05fr) minmax(390px,.95fr);overflow:hidden}.auth-story{background:#dfead7;min-height:100vh;position:relative;padding:42px 11%;display:flex;flex-direction:column;overflow:hidden;color:#465e4c}.auth-brand{padding:0;position:relative;z-index:3}.auth-brand>span{font-size:23px;color:#4a624e}.auth-brand small{color:#78907a}.story-content{position:relative;z-index:3;margin:auto 0;padding:60px 0 100px;max-width:500px}.story-content .eyebrow{color:#77966d}.story-content h1{font-size:48px;line-height:1.13;letter-spacing:-2.8px;color:#49634e}.story-content h1 em{font-style:normal;color:#7a9b78}.story-content>p{font-size:16px;line-height:2;color:#789178;max-width:420px;margin-top:22px}.story-points{display:grid;gap:12px;margin-top:29px}.story-points span{display:flex;align-items:center;gap:10px;font-size:12.5px;color:#708a72}.story-points .icon{width:16px;height:16px;padding:3px;background:#f2f5ea;border-radius:50%;color:#697f65}.story-footer{position:relative;z-index:3;color:#6b7b6d;font-size:11.5px;letter-spacing:.2px}.story-orbit{position:absolute;border:1px solid #b8d0b06b;border-radius:50%}.orbit-a{width:530px;height:530px;right:-245px;top:15%}.orbit-b{width:380px;height:380px;right:-105px;top:27%;border-color:#b8d0b047}.orbit-c{width:690px;height:690px;right:-440px;top:-8%;border-color:#b8d0b035}.story-balloon{position:absolute;z-index:2;display:grid;place-items:center;border-radius:48% 52% 46% 54%;transform:rotate(14deg);box-shadow:inset -10px -12px 14px #557b4c18}.story-balloon .icon{width:52%;height:52%;stroke:#72936d;stroke-width:1.1}.balloon-a{width:119px;height:145px;right:20%;top:24%;background:#c4d9bb}.balloon-b{width:74px;height:89px;right:8%;top:51%;transform:rotate(-16deg);background:#f1cdb5}.spark-a,.spark-b{position:absolute;z-index:3;color:#778a6d}.spark-a{right:35%;top:18%;font-size:22px}.spark-b{right:13%;top:40%;font-size:18px}.auth-panel{display:grid;place-items:center;padding:40px 8%;background:#fbfcfa}.auth-card{width:min(405px,100%);background:#fff;border:1px solid #e9eee5;border-radius:17px;padding:37px 39px;box-shadow:0 7px 27px #3c524614}.auth-kicker{font-size:10.5px;letter-spacing:1.6px;font-weight:700;color:#788368;margin-bottom:12px}.auth-card h2{font-size:26px;letter-spacing:-1.1px;color:#526947}.auth-intro{font-size:12.5px;line-height:1.8;color:#788170;margin-top:8px}.entry-actions{display:grid;gap:11px;margin-top:28px}.auth-demo-note{display:flex;gap:10px;padding:14px;margin-top:25px;background:#f4f7ee;border-radius:9px;color:#768367}.auth-demo-note>.icon{width:17px;height:17px;flex-shrink:0}.auth-demo-note p{font-size:10.5px;line-height:1.8}.auth-demo-note strong{font-size:11.5px;font-weight:600;color:#789168}.auth-switch{display:block;margin:21px auto 0;font-size:11.5px;color:#707c68}.back-link{border:0;background:none;display:inline-flex;align-items:center;gap:6px;color:#6f7c69;font-size:11.5px;padding:0;margin-bottom:29px}.back-link>.icon{width:14px;height:14px}.auth-form{margin-top:25px}.auth-form .field{margin-bottom:15px}.auth-form>.button{margin-top:9px}.auth-small{text-align:center;font-size:10.5px;color:#808878;line-height:1.7;margin-top:19px}.auth-trust{align-self:end;margin-bottom:9vh;color:#7b8476;font-size:10.5px;display:flex;align-items:center;gap:6px}.auth-trust>.icon{width:12px;height:12px}.detail-modal,.task-detail{padding:18px 25px 25px}.detail-hero{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f4f7ef;border-radius:12px;padding:15px}.detail-hero>div{display:flex;align-items:center;gap:10px}.detail-hero h3{font-size:15px;color:#617b50}.detail-hero p{font-size:10.5px;color:#76816e;margin-top:3px}.detail-hero a{color:#85a075}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:22px}.detail-grid>div{display:grid;gap:5px;min-width:0}.detail-grid>div.full{grid-column:1/-1}.detail-grid span{font-size:10.5px;color:#7a8572}.detail-grid strong{font-size:12.5px;color:#6d825d;display:flex;align-items:center;gap:5px;line-height:1.5}.detail-grid strong .icon{width:13px;height:13px}.detail-grid .text-link{font-size:10.5px;margin-top:4px}.detail-items{margin-top:23px;padding-top:17px;border-top:1px solid #edf2e7}.detail-item,.detail-total{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;font-size:12.5px;color:#829578}.detail-item small{font-size:10.5px;color:#7e8978}.detail-item strong{font-weight:600;color:#6c8559}.detail-total{border-top:1px dashed #e0e9dc;margin-top:6px;padding-top:14px;font-weight:600;color:#718c5d}.detail-total strong{font-size:17px;color:#607d4d}.payment-card{display:grid;grid-template-columns:1fr 1fr;gap:9px 20px;background:#f7f9f4;border-radius:10px;padding:14px;margin-top:18px}.payment-card>div:not(.payment-track){display:grid;gap:5px}.payment-card span{font-size:10.5px;color:#757f6f}.payment-card strong{font-size:14px}.payment-track{grid-column:1/-1;height:5px;border-radius:5px;background:#e6eddd;overflow:hidden;margin-top:2px}.payment-track span{display:block;height:100%;background:#9dbd8b;border-radius:inherit}.notes-box{display:flex;gap:9px;align-items:flex-start;background:#fff8ee;border:1px solid #f3e5ce;border-radius:9px;padding:12px;margin-top:16px;color:#8a7153;font-size:11.5px;line-height:1.7}.notes-box>.icon{width:14px;height:14px;flex-shrink:0}.detail-history{margin-top:18px;border-top:1px solid #eef3e8;padding-top:17px}.detail-history>div:not(.section-label){display:flex;justify-content:space-between;padding:7px 0;color:#717b6a;font-size:10.5px}.detail-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;border-top:1px solid #eef3e8;padding-top:18px;margin-top:20px}.detail-actions form{display:flex;gap:8px;margin-right:auto}.detail-actions select{border:1px solid #e2eadb;border-radius:7px;color:#829879;padding:8px;font-size:11.5px}.profile-modal,.member-settings{padding:18px 25px 25px}.profile-hero{display:flex;align-items:center;gap:14px;padding:16px;background:#f5f8f0;border-radius:11px}.profile-hero h3{font-size:17px;color:#6c8757}.profile-hero p{font-size:11.5px;color:#76806e;margin-top:4px}.profile-actions{display:grid;gap:9px;margin-top:17px}.access-toggle{display:flex;align-items:center;justify-content:space-between;padding:18px 3px;border-bottom:1px solid #eef3e8}.access-toggle strong{display:block;font-size:12.5px;color:#738b60}.access-toggle small{display:block;font-size:10.5px;color:#7b8673;margin-top:4px}.switch{width:39px;height:23px;border:0;border-radius:20px;background:#dfe6da;padding:3px;transition:.2s}.switch i{display:block;width:17px;height:17px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #334b3328;transition:.2s}.switch.on{background:#91ac7e}.switch.on i{transform:translateX(16px)}.member-settings>.button{margin-top:19px}.client-history{padding:18px 25px 25px}.history-summary{display:grid;grid-template-columns:auto 1fr auto 1fr;align-items:center;gap:8px;background:#f5f8f0;border-radius:10px;padding:15px;color:#76806e;font-size:10.5px}.history-summary strong{font-size:16px;color:#7f9b65}.history-order{width:100%;border:0;border-bottom:1px solid #eff3e8;background:none;display:flex;align-items:center;text-align:left;padding:15px 0;gap:10px}.history-order>span:first-child{flex:1}.history-order>span:nth-child(2){display:grid;gap:5px;justify-items:end}.history-order strong{font-size:12.5px;color:#6e8659}.history-order small{display:block;font-size:10.5px;color:#78816e;margin-top:4px}.history-order .badge{font-size:9.5px}.history-order>.icon{width:13px;color:#808b73}.search-modal{padding:18px 25px 25px}.search-field.big{max-width:none;height:44px}.search-field.big input{font-size:14px}.search-results{margin-top:14px}.search-result{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #eff3e8;background:#fff;text-align:left;padding:12px 0}.search-result>span:nth-child(2){flex:1}.search-result strong{display:block;font-size:12.5px;color:#708858}.search-result small{display:block;font-size:10.5px;color:#7a8371;margin-top:4px}.search-result>b{font-size:11.5px;color:#789464}.search-result>.icon{width:13px;color:#848f7a}.help-list{padding:18px 25px 20px;display:grid;gap:10px}.help-list>div{display:flex;gap:11px;padding:13px;background:#f6f8f1;border-radius:9px}.help-list>.icon{color:#718661}.help-list>div>.icon{width:18px;height:18px;color:#768663;flex-shrink:0}.help-list strong,.help-list small{display:block}.help-list strong{font-size:12.5px;color:#758c60}.help-list small{font-size:10.5px;line-height:1.8;color:#7b8573;margin-top:4px}.help-list+.button{margin:0 25px 25px}.attention-list{padding:17px 25px 25px}.attention-list>button{display:flex;align-items:center;gap:10px;width:100%;border:0;border-bottom:1px solid #eff3e8;background:none;padding:13px 0;text-align:left}.attention-list>button>.icon:first-child{width:18px;color:#be8f72}.attention-list>button>span{flex:1}.attention-list strong,.attention-list small{display:block}.attention-list strong{font-size:12.5px;color:#778d63}.attention-list small{font-size:10.5px;color:#808978;margin-top:4px}.attention-list>button>.icon:last-child{width:13px;color:#838d7b}.calm-state{display:grid;justify-items:center;gap:8px;padding:25px;color:#76856b;text-align:center}.calm-state>.icon{width:31px;height:31px;color:#899373}.calm-state strong{font-size:13px}.calm-state span{font-size:10.5px}.confirm-body{padding:20px 25px 25px}.confirm-body>p{font-size:12.5px;color:#737f6d;line-height:1.8}.confirm-body .form-footer{margin-top:23px}.start-banner{box-shadow:0 3px 10px #76926310}
@media(max-width:1100px){.sidebar{width:215px}.main-content{margin-left:215px}.topbar,.demo-bar,.connection-bar{padding-left:27px;padding-right:27px}.view-root{padding-left:27px;padding-right:27px}.dashboard-main-grid,.dashboard-bottom-grid,.calendar-layout,.tasks-layout,.settings-layout{grid-template-columns:1fr}.dashboard-main-grid .day-card{min-height:0}.customer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.team-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.settings-aside{grid-template-columns:1fr 1fr}.settings-aside>.text-link{grid-column:1/-1}.analytics-card .chart-container{min-height:205px}}
@media(max-width:760px){body{font-size:14px}.sidebar{transform:translateX(-105%);box-shadow:12px 0 35px #1d392d38}.sidebar.open{transform:none}.main-content{margin-left:0;padding-bottom:60px}.sidebar-scrim{position:fixed;inset:0;z-index:19;border:0;background:#203a3259;display:block;opacity:0;pointer-events:none;transition:opacity .2s}.sidebar-scrim.visible{opacity:1;pointer-events:auto}.topbar{height:62px;padding:0 16px}.breadcrumb,.quick-search,.top-divider{display:none}.mobile-menu{display:inline-grid;width:32px;height:32px}.mobile-brand{display:block;color:var(--green);font-weight:800;font-size:17px;letter-spacing:-.5px}.top-actions{gap:7px}.notification{display:none}.view-root{padding:24px 15px 10px}.page-head{display:block;margin-bottom:22px}.page-head h1{font-size:26px}.page-head p{font-size:11.5px;margin-top:6px}.page-actions{margin-top:17px;display:flex;gap:7px}.page-actions>.date-control{display:none}.page-actions>.period-select{flex:1}.page-actions>.button{flex:1}.stats-grid{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}.stat-card{min-height:117px;padding:14px 13px}.stat-top{font-size:10.5px}.stat-icon{width:28px;height:28px}.stat-icon .icon{width:15px;height:15px}.stat-value{font-size:19px;margin-top:8px;letter-spacing:-.7px}.stat-foot{font-size:9.5px;gap:4px;margin-top:7px}.stat-pill,.trend,.stat-hint{font-size:9.5px}.dashboard-main-grid,.dashboard-bottom-grid{gap:14px;margin-bottom:14px}.card-head{padding:16px 15px 13px}.card-head h2{font-size:14px}.card-head p{font-size:10px}.analytics-summary{padding:0 15px 9px;gap:13px}.analytics-summary strong{font-size:16px}.legend{font-size:9.5px}.balance-label{display:none}.chart-container{padding:0 7px 7px}.chart-label{font-size:10.5px}.schedule-list{padding:0 15px}.schedule-copy>span{max-width:210px}.orders-card .card-head .text-link,.tasks-card .card-head .add-task{display:none}.order-table{min-width:640px}.order-table.compact{min-width:500px}.order-table th{padding:9px 11px}.order-table th:first-child,.order-table td:first-child{padding-left:15px}.order-table td{padding:13px 11px}.compact .customer-cell strong{font-size:10.5px}.compact .customer-cell small{font-size:9px}.compact .table-money{font-size:11.5px}.compact .badge{font-size:8.5px}.compact .table-date{font-size:9.5px}.compact .table-sub{font-size:9px}.kind-note{padding-top:18px;font-size:10.5px}.page-footer{padding:11px 15px 17px;font-size:9.5px}.tabs-row{gap:15px;padding:0 15px}.tab-button{font-size:10.5px;padding-top:15px}.toolbar{padding:14px 15px;display:grid;grid-template-columns:1fr;gap:9px}.search-field{max-width:none}.toolbar-filters{width:100%}.toolbar-filters>select,.toolbar-filters>input{flex:1;width:0}.table-footer{padding:13px 15px;font-size:10.5px}.calendar-day{min-height:67px;padding:5px 3px}.calendar-event{font-size:8px;padding:2px}.calendar-more{font-size:8px}.calendar-week{font-size:9.5px}.calendar-controls h2{font-size:15px}.day-agenda{margin-top:0}.customer-grid{grid-template-columns:1fr;padding:0 15px 15px}.client-card{padding:16px}.tasks-layout{gap:15px}.task-list{padding:0 15px 5px}.task-row{padding:15px 0}.task-title{font-size:12.5px}.task-meta{font-size:9.5px}.task-toolbar{padding:13px 15px}.workload-list{padding:0 15px}.workload-note{padding:14px 15px}.finance-kpis{grid-template-columns:1fr;gap:10px;margin-bottom:14px}.finance-kpis .stat-card{min-height:112px}.transaction-list{padding:0 15px}.transaction-row{gap:8px;padding:14px 0}.transaction-copy strong{font-size:11.5px}.transaction-copy>span{font-size:9.5px}.transaction-date{display:none}.transaction-amount{min-width:75px;font-size:12.5px}.chart-legend{display:none}.team-grid{grid-template-columns:1fr;gap:10px}.team-card{padding:18px}.settings-aside{grid-template-columns:1fr}.settings-aside>.text-link{grid-column:auto}.settings-form{padding:0 15px 17px}.start-banner{display:block;padding:18px}.start-banner .button{margin-top:15px;width:100%}.modal-overlay{padding:0;align-items:end}.modal{max-height:93vh;border-radius:17px 17px 0 0}.modal-head{padding:20px 18px 3px}.modal-form,.detail-modal,.profile-modal,.member-settings,.client-history,.search-modal,.attention-list,.help-list,.confirm-body{padding-left:18px;padding-right:18px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.item-head,.item-row{grid-template-columns:minmax(0,1fr) 48px 83px 27px}.item-row .icon-button{width:27px}.detail-grid{grid-template-columns:1fr}.detail-grid>div.full{grid-column:auto}.detail-actions{align-items:stretch;flex-direction:column}.detail-actions form{margin:0;display:grid;grid-template-columns:1fr auto}.detail-actions>.button,.detail-actions>form>.button{width:100%}.auth-page{display:block;min-height:100vh}.auth-story{min-height:280px;padding:26px 24px 45px}.auth-brand{align-self:flex-start}.auth-brand>span{font-size:20px}.story-content{margin:35px 0 0;padding:0;max-width:none}.story-content .eyebrow{margin-bottom:6px}.story-content h1{font-size:29px;letter-spacing:-1.5px}.story-content>p{font-size:12.5px;line-height:1.7;margin-top:10px;max-width:260px}.story-points{display:none}.story-footer{font-size:9.5px;position:absolute;bottom:17px}.story-balloon{transform:scale(.55) rotate(13deg);right:4%;top:12%}.balloon-b{transform:scale(.4) rotate(-14deg);right:-3%;top:45%}.orbit-a{width:320px;height:320px;right:-175px;top:-12%}.orbit-b{width:240px;height:240px;right:-90px;top:12%}.orbit-c{display:none}.spark-a{right:27%;top:11%;font-size:16px}.spark-b{right:7%;top:34%;font-size:14px}.auth-panel{display:block;padding:25px 16px 35px}.auth-card{padding:27px 22px}.auth-card h2{font-size:23px}.auth-trust{display:none}.mobile-bottom{display:flex;position:fixed;z-index:18;bottom:0;left:0;right:0;height:59px;background:#fff;border-top:1px solid #e7ece3;justify-content:space-around}.mobile-bottom a,.mobile-bottom button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#767f6e;font-size:9.5px;flex:1}.mobile-bottom a.active{color:#6f915b}.mobile-bottom .icon{width:17px;height:17px}.mobile-bottom button{font-family:var(--font)}.demo-extra{display:none}.connection-bar{padding:5px 15px;font-size:10.5px}.demo-bar{padding:5px 15px;font-size:10.5px}.date-control{font-size:10.5px}}
@media(max-width:370px){.stat-card{padding:11px 9px}.stat-value{font-size:16px}.stat-foot{font-size:9px}.stat-icon{width:25px;height:25px}.page-actions{display:grid;grid-template-columns:1fr 1fr}.page-actions>.button{min-width:0;padding-left:8px;padding-right:8px}.page-actions>.period-select{grid-column:1/-1}.auth-card{padding-left:17px;padding-right:17px}}

/* Final usability refinements: comfortable touch targets and no page-wide mobile overflow. */
.sr-only{position:fixed!important;left:0!important;top:0!important;clip-path:inset(50%);width:1px!important;height:1px!important}
.brand small{font-size:6.4px;letter-spacing:1.05px;color:#a6b7ac;white-space:nowrap}.sidebar .nav-item{color:#bbc9c0}.sidebar .nav-item>.icon{color:#b1c2b6}.sidebar .nav-item.active{color:#344f41}.sidebar .nav-item.active>.icon{color:#466747}.sidebar .nav-label{color:#94ad9e}.sidebar .workspace small,.sidebar .profile small{color:#a0b2a5}.sidebar-note p{color:#a9bcae}.sidebar-note strong{color:#dce8d7}.sidebar-note>.icon{color:#becfb0}.detail-tools{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:18px}.cancellation-note{padding:12px;background:#fbf0e7;border-radius:9px;color:#956b51;font-size:11px;line-height:1.7;margin-top:14px}.detail-modal .payment-track{max-width:none}.modal-form>.field+.field{margin-top:15px}.help-list+.button{width:calc(100% - 50px)}.form-section>.field-hint{margin-top:10px}.modal{overscroll-behavior:contain;scrollbar-width:thin}.toast-root{position:fixed;z-index:200;bottom:26px;right:26px;display:grid;gap:9px;max-width:430px;pointer-events:none}.toast{background:#2f4a40;color:#f1f6ed;border:1px solid #68856c;border-radius:10px;box-shadow:0 10px 30px #243b3830;padding:14px 17px;display:flex;align-items:center;gap:10px;font-size:12px;line-height:1.6;animation:toast-in .2s ease}.toast>.icon{width:17px;height:17px}.toast.error{background:#8d5948;border-color:#b8866d}.toast.error>.icon{color:#f0d3c1}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.auth-card{margin:auto}.page-footer>span:last-child{font-size:8px}.toast-root{bottom:76px;left:15px;right:15px;max-width:none}.button{min-height:44px;font-size:13px}.icon-button{min-width:36px;min-height:36px}.modal-close{min-width:36px;min-height:36px}.field input,.field select,.field textarea,.item-row input{font-size:16px;min-height:44px}.field label{font-size:12px}.field-hint{font-size:11px}.item-row{grid-template-columns:minmax(0,1fr) 52px 91px 29px;gap:5px}.item-head{grid-template-columns:minmax(0,1fr) 52px 91px 29px;gap:5px}.item-row input{font-size:13px}.item-row .icon-button{min-width:29px;min-height:44px}.stat-top{font-size:11px}.stat-value{font-size:23px}.stat-foot{min-height:29px;font-size:10px;flex-wrap:wrap}.stat-pill,.trend,.stat-hint{font-size:10px}.stat-foot .inline-link{font-size:10px;white-space:normal;text-align:left}.page-head h1{font-size:25px}.greeting-sun>.icon{width:23px;height:23px}.analytics-summary .balance-label{display:none}.analytics-card .chart-container{min-height:0}.card-head .text-link{font-size:10px}.analytics-card .chart-container .finance-chart{min-height:145px}.table-wrap{overflow-x:auto;overscroll-behavior-x:contain}.order-table.compact{display:block;min-width:0;white-space:normal}.order-table.compact thead{display:none}.order-table.compact tbody{display:block}.order-table.compact tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 10px;padding:14px 15px;border-top:1px solid var(--line)}.order-table.compact td{display:block;border:0;padding:0!important}.order-table.compact td:first-child{grid-column:1}.order-table.compact td:nth-child(2){grid-row:2;grid-column:1;display:flex;align-items:center;gap:10px}.order-table.compact td:nth-child(3){grid-row:1;grid-column:2;text-align:right;align-self:center}.order-table.compact td:nth-child(4){grid-column:2;grid-row:2;text-align:right;align-self:center}.order-table.compact td:last-child{display:none}.compact .customer-cell{max-width:none}.compact .customer-cell strong{font-size:12px}.compact .customer-cell small{font-size:10px}.compact .table-money{font-size:13px}.compact .badge{font-size:9px}.compact .table-date,.compact .table-sub{font-size:10px}.compact .table-sub{margin-top:0}.compact .customer-cell .avatar{width:34px;height:34px;font-size:10px}.compact-tasks .task-title{font-size:12px}.compact-tasks .task-meta{font-size:10px}.task-check{min-width:22px;min-height:22px}.task-check:checked:after{left:7px;top:4px;width:5px;height:9px}.compact-tasks .task-row{padding:17px 0}.schedule-time{font-size:13px}.schedule-copy strong{font-size:13px}.schedule-copy>span{font-size:11px;max-width:none;white-space:normal}.fulfillment-label{font-size:10px}.schedule-time:after{height:85px}.schedule-item{padding:13px 0}.card-bottom-link{min-height:46px;font-size:11px}.mobile-bottom a,.mobile-bottom button{font-size:10px}.mobile-bottom .icon{height:20px;width:20px}.calendar-day{min-height:64px}.day-number{font-size:12px}.calendar-event,.calendar-more{display:none}.mobile-day-count{display:grid;place-items:center;width:18px;height:18px;background:#dceacf;border-radius:5px;font-size:10px;color:#5c7f46;align-self:center}.calendar-day{align-items:center}.calendar-day.selected{background:#e7efd9}.modal .detail-hero{flex-wrap:wrap}.detail-actions .button{min-height:44px;white-space:normal}.form-footer{flex-wrap:wrap}.form-footer .form-error{flex-basis:100%}.page-actions>.button{white-space:normal}.chart-container svg{overflow:visible}.detail-tools{justify-content:space-between}.detail-tools .text-link{font-size:11px}.search-field input{font-size:16px}.task-meta{font-size:10px}.task-title{font-size:13px}.task-toolbar>select{max-width:190px}.info-strip{font-size:11px}.help-list+.button{width:calc(100% - 36px);margin-left:18px;margin-right:18px}.mobile-bottom{height:64px;padding-bottom:env(safe-area-inset-bottom)}.main-content{padding-bottom:68px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Configurable order workspace */
.wide-modal{width:min(850px,100%)}
.advanced-order-form{padding-top:14px}
.draft-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#f5f0fb;border:1px solid #e7dcf2;border-radius:10px;margin-bottom:23px}
.draft-notice>span:last-child{font-size:11px;color:#867393}
.badge.status-draft{background:#ece2f6;color:#83649a;font-size:11px;gap:6px}
.badge.status-draft .icon{width:13px;height:13px}
.edit-seller-note{padding:12px 15px;background:#fff6e9;border-left:3px solid #d8b583;border-radius:6px;color:#967045;font-size:12px;line-height:1.8;margin-bottom:20px}
.ordered-form-fields{display:grid;gap:21px}
.ordered-form-fields>.field label,.ordered-form-fields .field>label,.advanced-order-form .section-title-row>label{font-size:12px;color:#596d5b;font-weight:600}
.advanced-order-form input:not([type=checkbox]):not([type=file]),.advanced-order-form select,.advanced-order-form textarea{width:100%;border:1px solid #dce5d7;background:#fff;border-radius:8px;padding:11px 12px;color:#415846;font-size:13px;min-height:43px}
.advanced-order-form input::placeholder,.advanced-order-form textarea::placeholder{color:#a1ae99}
.advanced-order-form textarea{resize:vertical;line-height:1.8}
.advanced-order-form input[type=checkbox],.visibility-label input{accent-color:#668961;width:17px;height:17px;flex-shrink:0}
.required-dot{color:#c0826d;margin-left:4px}
.required-note{font-size:10px;color:#95a287}
.check-label{display:flex!important;align-items:center;gap:9px;font-size:12px;font-weight:500!important;color:#52694e;cursor:pointer;line-height:1.5}
.section-title-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.time-group{padding:17px;background:#f7f9f3;border:1px solid #e5ebdc;border-radius:11px}
.time-group>.field{margin-top:10px}
.time-mode-options{display:flex;flex-wrap:wrap;gap:14px 22px;margin-top:15px}
.money-input{position:relative}
.money-input>span{position:absolute;right:14px;top:50%;transform:translateY(-50%);color:#8b9c7e;font-size:13px}
.money-input input{padding-right:33px!important}
.readonly-money{display:block;padding:13px 15px;border:1px solid #e0e9d6;border-radius:9px;background:#f1f6e9;color:#60814f;font-size:22px;font-weight:700}
.category-branch{border:1px solid #dce7d2;background:#f8fbf3;border-radius:12px;padding:17px;margin-top:-10px}
.category-branch-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
.category-branch-head>strong{color:#536f40;font-size:14px;display:flex;align-items:center;gap:8px}
.category-branch-head>.button{font-size:11px}
.product-line-card,.extra-product-card{padding:15px;background:#fff;border:1px solid #e6eddc;border-radius:10px;margin-bottom:12px}
.product-row-grid{display:grid;grid-template-columns:minmax(0,1fr) 115px 30px;gap:10px;align-items:end}
.product-row-grid>.icon-button{margin-bottom:5px}
.subtype-field{margin-top:12px}
.line-price{display:flex;justify-content:space-between;margin:12px 0;color:#97a68b;font-size:11px}
.line-price b{color:#6e885b;font-size:12px}
.product-line-card details{border-top:1px dashed #e5ebde;padding-top:9px}
.product-line-card summary{font-size:11px;color:#849874;cursor:pointer;padding:3px 0}
.product-line-card details textarea{margin-top:9px}
.category-extras{display:grid;gap:17px;margin-top:17px}
.category-extra{display:grid;gap:10px}
.extra-product-card>.field{margin-top:13px}
.extra-products>.section-title-row{padding-bottom:9px;border-bottom:1px solid #edf1e7}
.photo-field>label{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.photo-field>label small{font-weight:400;font-size:10px;color:#a0ae92;margin-left:auto}
.photo-thumbnails{display:flex;gap:10px;flex-wrap:wrap}
.photo-thumb{width:100px;height:100px;position:relative;border:1px solid #e1e9d8;border-radius:9px;overflow:hidden;background:#f3f6ed}
.photo-thumb img{width:100%;height:100%;object-fit:cover}
.photo-thumb>button{position:absolute;right:4px;top:4px;border:0;background:#fffef9e8;width:24px;height:24px;display:grid;place-items:center;border-radius:50%}
.photo-thumb>button .icon{width:12px;height:12px}
.photo-add{width:120px;min-height:100px;border:1px dashed #bfcfb0;border-radius:9px;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:8px;color:#839e6d;background:#f9fcf3;position:relative;cursor:pointer;font-size:10px!important}
.photo-add input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}
.photo-add>.icon{width:23px;height:23px}
.order-calculation{border:1px solid #dee8d4;border-radius:12px;background:#f4f8ee;padding:19px 20px;margin-top:25px;display:grid;gap:10px}
.order-calculation>div{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#8b9c7c}
.order-calculation b{color:#5d774c;font-weight:600}
.order-calculation small{font-size:10px;color:#8da372}
.order-calculation .grand-total{border-top:1px solid #dfe8d4;margin-top:2px;padding-top:14px;align-items:center;color:#5f7950;font-size:14px;font-weight:600}
.grand-total strong{font-size:26px;letter-spacing:-.8px}
.sticky-order-footer{position:sticky;bottom:-25px;background:#fff;padding:16px 0 5px;border-top:1px solid #eef2e8;z-index:2}
.sticky-order-footer .form-error{max-width:100%}
.draft-section{margin-bottom:22px;border-color:#e4dbed}
.draft-section .card-head h2{display:flex;align-items:center;gap:8px}
.draft-section .card-head h2>.icon{height:16px;width:16px;color:#ab8ebb}
.draft-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:0 21px 21px}
.draft-card{padding:16px;border:1px solid #e8dff0;border-radius:11px;background:#fdfbff}
.draft-card h3{font-size:14px;color:#776387;margin-top:11px;overflow-wrap:anywhere}
.draft-card p{font-size:12px;color:#9a8aa4;margin-top:5px}
.draft-card>small{font-size:10px;color:#b0a2ba;display:block;margin-top:11px}
.draft-card>div{display:flex;justify-content:space-between;align-items:center;margin-top:13px}
.draft-card .text-link{color:#967aaa}
.configuration-tabs{display:flex;gap:8px;padding:8px;margin-bottom:22px}
.configuration-tabs>button{display:flex;gap:8px;align-items:center;border:0;background:none;padding:12px 17px;border-radius:8px;color:#91a07e;font-size:13px;font-weight:600}
.configuration-tabs>button.active{background:#edf4e4;color:#678652}
.configuration-tabs .icon{width:17px;height:17px}
.field-settings-layout{display:grid;grid-template-columns:minmax(0,2.6fr) minmax(260px,1fr);gap:22px;align-items:start}
.field-settings-layout .card-head select{border:1px solid #dfe8d5;border-radius:7px;padding:8px;background:#fff;color:#7a9367;font-size:11px}
.configured-fields{padding:0 21px 18px}
.configured-field{display:flex;align-items:center;gap:10px;padding:14px 0;border-top:1px solid #edf2e5}
.field-hidden{opacity:.65}
.field-reorder{display:flex;flex-direction:column;flex-shrink:0;gap:1px}
.field-reorder .icon-button{width:23px;min-width:23px;height:22px;min-height:22px;font-size:17px;font-family:system-ui}
.field-type-icon{width:31px;height:31px;display:grid;place-items:center;background:#f0f5e7;border-radius:8px;color:#94ac7c;flex-shrink:0}
.field-type-icon>.icon{width:16px;height:16px}
.configured-field-copy{min-width:0;flex:1}
.configured-field-copy>strong{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:12px;color:#617d4f;font-weight:600}
.configured-field-copy>small{font-size:10px;color:#a2b28d;display:block;margin-top:4px;overflow-wrap:anywhere}
.required-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 5px;font-size:8px;background:#f3f6ed;border-radius:4px;color:#9faf8b;font-weight:500}
.required-tag>.icon{width:9px;height:9px}
.configured-field-actions{display:flex;gap:3px;align-items:center}
.visibility-label{display:flex;gap:6px;align-items:center;font-size:10px;color:#99aa85;cursor:pointer;margin-right:5px}
.field-settings-guide{padding:23px;position:sticky;top:20px}
.guide-spark{display:grid;place-items:center;width:38px;height:38px;background:#f1f4e7;border-radius:11px;color:#b0bc8e;margin-bottom:15px}
.guide-spark>.icon{width:24px;height:24px}
.field-settings-guide h2{font-size:16px;color:#7a915e;line-height:1.7}
.field-settings-guide h3{font-size:13px;color:#859d69;margin-top:24px}
.field-settings-guide p{font-size:11px;line-height:1.9;color:#a2b28b;margin-top:9px}
.guide-preview{background:#f9fbf5;border:1px dashed #d8e2c9;border-radius:8px;padding:12px;margin-top:18px}
.guide-preview label{font-size:10px;color:#9dab88}
.guide-preview>div{display:flex;align-items:center;gap:8px;font-size:12px;color:#9cab8a;border:1px solid #e2e9d9;background:white;padding:9px;border-radius:6px;margin-top:7px}
.guide-preview .icon{height:13px;width:13px}
.field-live-preview{background:#f6f9f0;border:1px dashed #dce5d0;border-radius:10px;padding:17px}
.preview-disabled{pointer-events:none}
.special-field-preview{display:flex;gap:8px;align-items:center;font-size:12px;color:#92a67a}
.catalog-category-list{display:grid;gap:19px;margin-bottom:22px}
.catalog-products{padding:0 21px}
.catalog-product{display:flex;align-items:center;gap:14px;padding:13px 0;border-top:1px solid #eff3e7}
.catalog-product>div{flex:1;min-width:0}
.catalog-product strong{display:block;font-size:13px;color:#6c8756}
.catalog-product small{display:block;font-size:10px;color:#a0b389;margin-top:5px}
.catalog-price{font-size:15px;font-weight:600;color:#7a965f;text-align:right}
.catalog-price small{font-size:9px;font-weight:400}
.price-not-set{color:#b89875}
.catalog-footer{display:flex;justify-content:space-between;gap:12px;padding:17px 21px}
.category-field-list{background:#fafcf6;border-top:1px solid #eaf0de;padding:5px 21px}
.category-field-row{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #f0f4e9}
.category-field-row>div:nth-child(2){flex:1}
.category-field-row strong{font-size:12px;font-weight:500;color:#89a06f}
.category-field-row small{display:block;font-size:10px;color:#acbc96;margin-top:3px}
.subtype-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 125px 30px;gap:8px;margin-bottom:9px}
.subtype-editor-row input{font-size:12px!important}
.legacy-items-note{padding:18px;background:#fbf6eb;border:1px solid #eee1c7;border-radius:10px;font-size:12px;color:#9a865e}
.legacy-items-note p{margin:8px 0;line-height:1.7}
.extended-order-details{border-top:1px solid #e9efdf;margin-top:25px;padding-top:22px}
.extended-order-details h3{font-size:17px;color:#7a965f;margin:0 0 17px}
.extended-order-details h4{font-size:12px;color:#94a879;margin:21px 0 12px}
.extended-order-details p{font-size:11px;line-height:1.8;color:#9faf8b;overflow-wrap:anywhere}
.extended-order-details .detail-grid{margin-top:14px}
.extended-order-details .detail-grid>div{padding:8px 0}
.extended-order-details .detail-grid strong{font-size:12px}
.extended-order-details .detail-grid span{font-size:10px}
.order-product-details{border:1px solid #e4ebd8;border-radius:9px;margin-top:20px;padding:0 15px;background:#fbfcf8}
.order-info-line{padding:12px 0;border-bottom:1px solid #eef2e7}
.order-info-line:last-child{border-bottom:0}
.order-info-line strong{font-size:12px;color:#899d74}
.extra-detail{padding:12px 0;margin-top:10px;border-top:1px solid #edf1e4}
.extra-detail strong{font-size:12px;color:#90a479}
.detail-photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.detail-photo-grid img{width:100%;max-height:200px;object-fit:contain;border:1px solid #e5ecd9;border-radius:9px;background:#f6f8f0}
.order-audit{margin-top:28px}
.order-audit h3{display:flex;gap:8px;align-items:center;font-size:14px}
.order-audit h3>.icon{width:17px;height:17px}
.audit-entry{border:1px solid #e9eedf;background:#fbfcf7;border-radius:8px;margin-bottom:10px;padding:13px 14px}
.audit-entry>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;list-style:none}
.audit-entry strong{font-size:12px;color:#859970}
.audit-entry small{display:block;font-size:10px;color:#aabb94;margin-top:4px}
.audit-entry summary>.icon{width:14px;height:14px;color:#a6b88e}
.audit-change{display:grid;grid-template-columns:1fr 18px 1fr;gap:7px;border-top:1px dashed #e2e9d6;margin-top:13px;padding-top:12px;min-width:0}
.audit-change>b{grid-column:1/-1;font-size:11px;color:#99ac81}
.audit-change pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-family:var(--font);font-size:10px;max-height:220px;overflow:auto;line-height:1.7;padding:8px;border-radius:5px}
.audit-before{background:#f8eeea;color:#b69789}
.audit-after{background:#eff5e6;color:#91a777}
.audit-arrow{align-self:center;color:#aaba95}
.anniversary-reminder{border:1px solid #dfe8d1;border-radius:12px;padding:20px;background:#f4f8eb;margin-bottom:20px}
.anniversary-reminder h3{margin-top:12px;font-size:16px;color:#839b65}
.anniversary-reminder p{margin-top:6px;font-size:12px;color:#9dae8a}
.anniversary-reminder>div{display:flex;gap:15px;justify-content:space-between;margin-top:15px}
[hidden]{display:none!important}
@media(max-width:1100px){
  .field-settings-layout{grid-template-columns:1fr}.field-settings-guide{position:static}.draft-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .wide-modal{width:100%}.advanced-order-form{padding-bottom:18px}.ordered-form-fields{gap:21px}.draft-notice{align-items:flex-start;flex-direction:column;font-size:10px}.draft-notice>span:last-child{font-size:11px}
  .advanced-order-form input:not([type=checkbox]):not([type=file]),.advanced-order-form textarea,.advanced-order-form select{font-size:16px;min-height:45px}
  .advanced-order-form .field>label{font-size:13px}.advanced-order-form input[type=checkbox]{width:21px;height:21px}
  .category-branch{padding:12px}.category-branch-head{flex-wrap:wrap}.category-branch-head .button{width:100%}
  .product-line-card,.extra-product-card{padding:12px}.product-row-grid{grid-template-columns:minmax(0,1fr) 75px 24px;gap:7px}
  .product-row-grid .quantity-field label{font-size:10px}.product-row-grid .icon-button{min-width:24px;width:24px}.subtype-field{margin-top:13px}
  .photo-thumb{width:82px;height:82px}.photo-add{width:98px;min-height:82px}.photo-field>label small{margin-left:0;flex-basis:100%}
  .time-mode-options{flex-direction:column;gap:13px}.time-group{padding:13px}
  .sticky-order-footer{bottom:-18px;flex-direction:column;align-items:stretch;padding-top:14px}.sticky-order-footer .button{width:100%;font-size:12px}
  .sticky-order-footer .form-error{font-size:12px;line-height:1.8}
  .draft-grid{grid-template-columns:1fr;padding:0 15px 15px}.draft-card{padding:15px}.draft-card h3{font-size:15px}
  .configuration-tabs{padding:5px;gap:2px}.configuration-tabs>button{font-size:11px;padding:10px;flex:1;justify-content:center}.configuration-tabs .icon{width:15px}
  .configured-fields{padding:0 12px 12px}.configured-field{gap:7px;flex-wrap:wrap;padding:14px 0}
  .configured-field-copy{min-width:180px}.configured-field-copy>strong{font-size:13px}.configured-field-copy>small{font-size:11px}.field-type-icon{display:none}
  .configured-field-actions{margin-left:31px;flex-basis:calc(100% - 31px);justify-content:flex-end;gap:9px}.visibility-label{margin-right:auto;font-size:12px}.visibility-label input{width:21px;height:21px}
  .required-tag{font-size:9px}.field-reorder .icon-button{min-width:24px;min-height:27px}.field-settings-guide{padding:19px}
  .field-settings-guide p{font-size:12px}.catalog-product{gap:10px}.catalog-product strong{font-size:12px}.catalog-price{font-size:13px}
  .catalog-products{padding:0 15px}.catalog-footer{padding:15px;flex-direction:column;gap:15px}.catalog-footer .text-link{font-size:12px}
  .catalog-category>.card-head{align-items:flex-start}.catalog-category>.card-head h2{font-size:14px}
  .category-field-list{padding:5px 15px}.category-field-row strong{font-size:12px}.category-field-row small{font-size:10px}
  .subtype-editor-row{grid-template-columns:minmax(0,1fr) 90px 25px;gap:5px}.subtype-editor-row .icon-button{min-width:25px;width:25px}
  .detail-photo-grid{grid-template-columns:1fr 1fr}.extended-order-details h3{font-size:16px}.audit-change{grid-template-columns:1fr}.audit-change>b{grid-column:auto}.audit-arrow{transform:rotate(90deg);justify-self:center}
  .anniversary-reminder{padding:15px}.anniversary-reminder>div{flex-direction:column}.anniversary-reminder p{font-size:11px}
  .notification{display:inline-grid}.preview-disabled input,.preview-disabled textarea,.preview-disabled select{max-width:100%}
}
body.modal-open{overflow:hidden}.modal-open #app{pointer-events:none}.modal-overlay{height:100dvh;overscroll-behavior:contain}.modal{max-height:calc(100dvh - 40px)}
@media(max-width:760px){
  .order-table:not(.compact){display:block;min-width:0;white-space:normal}
  .order-table:not(.compact) thead{display:none}
  .order-table:not(.compact) tbody{display:block}
  .order-table:not(.compact) tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 8px;padding:17px 15px;border-top:1px solid var(--line);position:relative}
  .order-table:not(.compact) td{display:block;border:0;padding:0!important}
  .order-table:not(.compact) td:first-child{grid-column:1;grid-row:1;min-width:0}
  .order-table:not(.compact) td:nth-child(2){grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:2px}
  .order-table:not(.compact) td:nth-child(3){grid-column:2;grid-row:1;text-align:right;align-self:center;max-width:124px}
  .order-table:not(.compact) td:nth-child(4){grid-column:2;grid-row:2;text-align:right;align-self:center}
  .order-table:not(.compact) td:last-child{display:none}
  .order-table:not(.compact) .customer-cell{max-width:none;gap:8px}
  .order-table:not(.compact) .customer-cell strong{font-size:12px}
  .order-table:not(.compact) .customer-cell small{font-size:10px;max-width:135px}
  .order-table:not(.compact) .customer-cell small>span{display:none}
  .order-table:not(.compact) .customer-cell .avatar{width:32px;height:32px;font-size:10px}
  .order-table:not(.compact) .table-money{font-size:13px}
  .order-table:not(.compact) .payment-hint{font-size:9px;justify-content:flex-end}
  .order-table:not(.compact) .payment-track{margin-left:auto;height:4px;max-width:105px}
  .order-table:not(.compact) .table-date,.order-table:not(.compact) .table-sub{font-size:11px}
  .order-table:not(.compact) .badge{font-size:10px}
  .modal{max-height:93dvh}.modal .detail-actions{flex-wrap:wrap}
}
/* Final layout for configurable rows: quantity beside the selected product. */
.ordered-form-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:17px}
.ordered-form-fields>*{grid-column:1/-1}
.ordered-form-fields>[data-field-id=prepayment],.ordered-form-fields>[data-field-id=payment-method]{grid-column:auto}
.line-fields-grid{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:14px 12px}
.line-fields-grid>.line-option{grid-column:1}
.line-fields-grid>.line-quantity{grid-column:2}
.line-fields-grid>.line-subtype,.line-fields-grid>.line-comment{grid-column:1/-1}
.product-line-title{display:flex;align-items:center;justify-content:space-between;color:#7c8c74;margin-bottom:8px}
.product-line-title>small{font-size:11px}
.sticky-order-footer{bottom:0;padding:14px 0;margin-bottom:0;box-shadow:0 -8px 14px #ffffffdb}
.line-setting-row{display:flex;gap:12px;align-items:center;border-bottom:1px solid #e9eee1;padding:14px 0}
.line-setting-row>.field{flex:1}.line-setting-row .check-label{font-size:11px}.line-setting-row .check-label input{width:17px;min-height:17px}
.category-extra+.category-extra,.category-extra+.category-branch-head{margin-top:18px}
.configured-field-copy>small,.field-settings-guide p{color:#75856d}.configured-field-copy>strong{color:#4f6744}
.configuration-tabs>button{color:#65755a}.catalog-product small,.category-field-row small{color:#7d8e6e}
.configured-field .required-tag{color:#758767}.configured-field .visibility-label{color:#758267}
@media(max-width:760px){
  .line-fields-grid{grid-template-columns:minmax(0,1fr) 82px;gap:12px 8px}
  .ordered-form-fields{grid-template-columns:minmax(0,1fr)}
  .ordered-form-fields>[data-field-id=prepayment],.ordered-form-fields>[data-field-id=payment-method]{grid-column:1/-1}
  .sticky-order-footer{bottom:0;padding:10px 0}.line-setting-row{flex-wrap:wrap}.line-setting-row>.check-label{margin-left:35px}
}
/* Keep category forms readable after arbitrary field reordering. */
.seller-settings-list{display:grid;gap:8px;padding:12px;background:#f6f9ef;border-radius:8px;margin-top:9px}
.seller-settings-list>div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:11px;color:#73836a}
.advanced-order-form .line-quantity input{height:45px}
.advanced-order-form .line-fields-grid>.field{align-self:end}
.advanced-order-form .line-fields-grid{grid-auto-flow:row;align-items:end}
@media(max-width:760px){.seller-settings-list>div{align-items:flex-start;flex-direction:column;font-size:12px}.line-fields-grid>.line-quantity>label{font-size:11px}.sticky-order-footer .button{min-height:43px}.draft-card h3{word-break:break-word}}
.registration-trap{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.auth-card .auth-switch+.auth-switch{margin-top:12px}

/* Task Detail Modal improvements */
.task-detail-title{display:flex;align-items:flex-start;gap:14px;margin-bottom:18px}
.task-detail-icon{width:38px;height:38px;border-radius:10px;background:#eef3e8;color:#67825a;display:grid;place-items:center;flex-shrink:0;margin-top:2px}
.task-detail-icon.done{background:#dcedd5;color:#3b7431}
.task-detail-icon .icon{width:20px;height:20px}
.task-detail-title h3{font-size:16px;letter-spacing:-.4px;color:#43573c;margin:0 0 5px;line-height:1.35}
.task-detail-title p{font-size:12px;color:#75806e;line-height:1.6;margin:0}

/* Task Photos Section */
.task-photos-section{margin-top:20px;border-top:1px solid #edf2e7;padding-top:18px}
.task-photos-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.task-photos-head .section-label{margin-bottom:0}
.task-photos-count{font-size:10.5px;color:#7e8b75;background:#f2f5ed;padding:2px 7px;border-radius:10px}
.task-photos-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:12px}
.task-photo-card{position:relative;border:1px solid #e1e9d8;border-radius:10px;overflow:hidden;background:#f7f9f3;display:flex;flex-direction:column}
.task-photo-img-wrap{position:relative;width:100%;aspect-ratio:1/1;overflow:hidden;cursor:pointer;background:#eaefe3}
.task-photo-img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.task-photo-img-wrap:hover .task-photo-img{transform:scale(1.05)}
.task-photo-badge{position:absolute;top:6px;left:6px;padding:3px 7px;border-radius:6px;font-size:9.5px;font-weight:700;line-height:1.2;box-shadow:0 1px 3px rgba(0,0,0,.15);pointer-events:none}
.task-photo-badge.tag-example{background:#fff3e0;color:#bf6a1f}
.task-photo-badge.tag-in_progress{background:#e3f2fd;color:#1976d2}
.task-photo-badge.tag-result{background:#e8f5e9;color:#2e7d32}
.task-photo-badge.tag-other{background:#f5f5f5;color:#616161}
.task-photo-meta{padding:6px 7px;background:#fff;border-top:1px solid #edf2e7;display:flex;flex-direction:column;gap:4px}
.task-photo-select-row{display:flex;justify-content:space-between;align-items:center;gap:4px}
.task-photo-tag-select{border:1px solid #e2eadb;border-radius:6px;background:#fbfdf9;color:#5a7350;font-size:10px;padding:3px 4px;font-weight:600;flex:1;min-width:0;cursor:pointer}
.task-photo-del{border:0;background:none;color:#9ca794;cursor:pointer;padding:3px;border-radius:5px;display:grid;place-items:center;flex-shrink:0}
.task-photo-del:hover{color:#b34033;background:#feeceb}
.task-photo-del .icon{width:13px;height:13px}
.task-photo-author{font-size:9.5px;color:#89957f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.task-photo-add-card{min-height:115px;aspect-ratio:1/1;border:1.5px dashed #bfcfb0;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#75915e;background:#f9fcf5;cursor:pointer;font-size:11px;font-weight:600;position:relative;transition:background .15s,border-color .15s}
.task-photo-add-card:hover{background:#f1f7ec;border-color:#99b884}
.task-photo-add-card input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.task-photo-add-card .icon{width:18px;height:18px}

/* Lightbox Modal */
.lightbox-modal{padding:20px 25px 25px;text-align:center}
.lightbox-img-wrap{max-height:70vh;display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:10px;background:#f3f6ee;margin-bottom:14px}
.lightbox-img{max-width:100%;max-height:70vh;object-fit:contain;border-radius:8px}
.lightbox-caption{display:flex;justify-content:space-between;align-items:center;font-size:11.5px;color:#788670}

/* Finance Categories Summary */
.finance-category-summary{margin-bottom:20px}
.finance-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px;margin-top:12px}
.finance-cat-card{background:#fff;border:1px solid #e7eee2;border-radius:12px;padding:14px;cursor:pointer;transition:border-color .15s,box-shadow .15s,transform .15s;text-align:left;position:relative}
.finance-cat-card:hover{border-color:#adc4a0;transform:translateY(-1px);box-shadow:0 4px 14px #334b3310}
.finance-cat-card.active{border-color:#6c955a;background:#f9fcf6;box-shadow:0 0 0 2px #6c955a33}
.finance-cat-top{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;margin-bottom:7px}
.finance-cat-name{font-size:12.5px;font-weight:700;color:#3f5438;line-height:1.35;word-break:break-word}
.finance-cat-count{font-size:10px;color:#7b8871;background:#eef3e8;padding:2px 7px;border-radius:10px;white-space:nowrap}
.finance-cat-amount{font-size:15px;font-weight:800;letter-spacing:-.4px;color:#354c30;display:block;margin-bottom:8px}
.finance-cat-bar{height:5px;background:#e8ede3;border-radius:3px;overflow:hidden}
.finance-cat-fill{height:100%;border-radius:3px;transition:width .3s}
.finance-cat-fill.expense{background:#de8e79}
.finance-cat-fill.income{background:#7aa98b}
.finance-filter-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f0f5eb;border:1px solid #dbe6d3;border-radius:9px;padding:9px 14px;margin-bottom:14px;font-size:12px;color:#556b4a}
.finance-filter-banner strong{color:#3c5332}
.finance-filter-banner button{border:0;background:#fff;border:1px solid #cedcc5;color:#5c7352;border-radius:6px;padding:4px 9px;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:4px;cursor:pointer}
.finance-filter-banner button:hover{background:#f6f9f2}

/* Custom price override per order line */
.line-custom-price-field{background:#f9fbf6;border:1px solid #e1ebda;border-radius:8px;padding:10px 12px;margin:10px 0 6px}
.custom-price-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:6px;flex-wrap:wrap}
.custom-price-head label{font-size:11px;font-weight:600;color:#5a754b;margin:0}
.custom-price-head .catalog-hint{font-weight:400;color:#859977;margin-left:4px}
.reset-price-btn{font-size:10.5px;color:#ad6653;display:inline-flex;align-items:center;gap:4px;padding:0}
.reset-price-btn:hover{color:#8f4d3c}
.reset-price-btn .icon{width:12px;height:12px}
.line-price{display:flex;justify-content:space-between;align-items:center;margin:12px 0 4px;color:#97a68b;font-size:11.5px;flex-wrap:wrap;gap:8px}
.line-price-calc{display:inline-flex;align-items:center;gap:8px;flex-wrap:wrap}
.line-price-calc b{color:#577346;font-size:13px;font-weight:700}
.custom-price-badge{background:#eaf2e3;color:#537341;font-size:9.5px;font-weight:600;padding:2px 6px;border-radius:4px;border:1px solid #d4e5cb}
.set-custom-price-btn{font-size:11px;color:#6f8a5c;display:inline-flex;align-items:center;gap:4px;font-weight:600}
.set-custom-price-btn:hover{color:#4f6e3c}
.set-custom-price-btn .icon{width:13px;height:13px}

/* Customer card, tags, badges, and profile styles */
.client-card-header{display:flex;align-items:flex-start;gap:12px;margin-bottom:8px}
.client-title-block{flex:1;min-width:0}
.client-name-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.client-name-row h3{margin:0;font-size:15px;color:#35492f;font-weight:700}
.client-discount-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 7px;border-radius:6px;font-size:11px;font-weight:700;background:#fef4eb;color:#ba5c23;border:1px solid #f6dbcb}
.client-discount-badge.big{font-size:12px;padding:3px 9px}
.client-card-tags{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.client-tag{display:inline-block;padding:2px 6px;border-radius:4px;font-size:10px;font-weight:600;background:#edf3e7;color:#4f6b43;border:1px solid #dce8d3}
.client-contacts-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:6px 0;font-size:11.5px;flex-wrap:wrap}
.client-wa-link{color:#2a7e37;text-decoration:none;font-size:11px;font-weight:600;display:inline-flex;align-items:center;gap:4px}
.client-wa-link:hover{text-decoration:underline}
.client-wa-link .icon{width:13px;height:13px}
.client-address-snippet{display:flex;align-items:center;gap:6px;font-size:11px;color:#67775f;margin:5px 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.client-address-snippet .icon{width:13px;height:13px;flex-shrink:0;color:#8ba081}
.client-notes-preview{display:flex;align-items:flex-start;gap:6px;font-size:11px;color:#55694c;background:#f8fbf5;border:1px solid #e7f0e0;border-radius:6px;padding:5px 8px;margin:6px 0;line-height:1.4}
.client-notes-preview .icon{width:13px;height:13px;flex-shrink:0;color:#91ad81;margin-top:2px}
.client-notes-preview span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.client-family-preview{display:flex;align-items:center;gap:6px;font-size:10.5px;color:#6d8065;margin:4px 0}
.client-family-preview .icon{width:12px;height:12px;flex-shrink:0;color:#91a787}
.client-card-actions{display:flex;align-items:center;gap:6px}

/* Customer Profile Modal */
.customer-profile-hero{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid #edf2e7;flex-wrap:wrap}
.profile-main-info{flex:1;min-width:260px}
.profile-hero-top{display:flex;align-items:center;gap:14px}
.profile-name-tags{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.profile-name-tags h2{margin:0;font-size:19px;color:#354c2e;letter-spacing:-.4px}
.profile-quick-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.customer-details-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}
@media(max-width:860px){.customer-details-grid{grid-template-columns:1fr}}
.customer-info-column{display:flex;flex-direction:column;gap:14px}
.detail-block{background:#fbfdf9;border:1px solid #e6efe1;border-radius:10px;padding:14px}
.detail-block h3{margin:0 0 8px;font-size:12px;color:#67825a;text-transform:uppercase;letter-spacing:.3px;display:flex;align-items:center;gap:6px}
.detail-block h3 .icon{width:14px;height:14px}
.detail-block p{margin:0;font-size:12.5px;line-height:1.55;color:#3d5236}
.detail-block.highlight-notes{background:#fdfcf6;border-color:#f2eacf}
.detail-block.highlight-notes h3{color:#a47c23}
.family-members-list{display:flex;flex-direction:column;gap:8px}
.family-member-row{background:#fff;border:1px solid #e4eedf;border-radius:7px;padding:8px 10px}
.family-member-row strong{font-size:12px;color:#384f30}
.family-member-row small{color:#76886e;font-size:11px}
.family-member-comment{font-size:11.5px;color:#64785e;margin-top:4px!important}
.customer-orders-column{display:flex;flex-direction:column;gap:12px}
.customer-orders-column .history-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;background:#f6f9f2;border:1px solid #e5ede0;border-radius:10px;padding:12px;text-align:center}
.customer-orders-column .history-summary div{display:flex;flex-direction:column;gap:3px}
.customer-orders-column .history-summary span{font-size:10.5px;color:#708468}
.customer-orders-column .history-summary strong{font-size:14px;color:#364e2e}
.customer-orders-list h3{font-size:13px;color:#475f3e;margin:6px 0 10px}

/* Tag chips in customer edit form */
.tag-selector-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.tag-chip{display:inline-flex;align-items:center;padding:5px 12px;border-radius:20px;font-size:11.5px;font-weight:600;background:#f3f7ef;border:1px solid #d5e4cf;color:#536f46;cursor:pointer;user-select:none;transition:all .15s}
.tag-chip input{position:absolute;opacity:0;pointer-events:none;width:1px;height:1px}
.tag-chip.active{background:#5a7c4c;color:#fff;border-color:#5a7c4c}
.family-editor-list{display:flex;flex-direction:column;gap:8px;margin-top:8px}
.family-editor-row{display:grid;grid-template-columns:1.5fr 1fr 2fr auto;gap:8px;align-items:center}
@media(max-width:600px){.family-editor-row{grid-template-columns:1fr}}

/* Order form customer profile hint */
.customer-profile-box{background:#f7fbf3;border:1px solid #dbe8d3;border-radius:9px;padding:10px 14px;margin:8px 0 14px;display:flex;flex-direction:column;gap:6px}
.customer-discount-pill{display:inline-flex;align-items:center;gap:8px;background:#fff5eb;color:#b2581f;border:1px solid #f6dccb;padding:4px 10px;border-radius:6px;font-size:11.5px;font-weight:600;align-self:flex-start}
.customer-discount-pill .icon{width:13px;height:13px}
.apply-discount-link{font-size:11px;font-weight:700;color:#9b4614;text-decoration:underline;cursor:pointer;padding:0;background:none;border:0}
.apply-discount-link:hover{color:#76300a}
.customer-hint-tags{display:flex;flex-wrap:wrap;gap:4px}
.customer-hint-notes{font-size:11.5px;color:#4a623f;line-height:1.45}
.customer-hint-family{font-size:11px;color:#6b8260}

