.login-form{display:grid;gap:20px;margin-top:40px}.login-form label{display:grid;gap:8px;color:var(--muted);font-size:.75rem;letter-spacing:.08em;text-transform:uppercase}.login-form input{padding:14px 0;border:0;border-bottom:1px solid var(--line);background:transparent;outline:none}.login-form .button,.text-button{justify-self:start}.text-button{padding:0;border:0;background:none;color:var(--gold);font-size:.78rem;cursor:pointer}.form-message{padding:10px 14px;background:rgba(76,99,54,.1);color:var(--gold);font-size:.85rem}.admin-shell{--admin-user-font:var(--font-main);--admin-danger:#8a3e2a;--admin-danger-soft:#f7e8e2;--inventory-low-stock:#934f4b;--inventory-low-stock-soft:#f1e5df;min-height:100vh}.admin-shell h2{margin:0;font:400 1rem/1.4 var(--font-main);letter-spacing:normal}html:has(.admin-shell){scroll-behavior:auto}.admin-sidebar{position:fixed;z-index:70;inset:0 auto 0 0;width:250px;padding:24px 16px;display:flex;flex-direction:column;color:white;background:var(--black);border-inline-end:1px solid rgba(244,247,236,.1)}.admin-brand{display:flex;align-items:center;justify-content:space-between;padding:0 8px 22px;border-bottom:1px solid rgba(244,247,236,.12)}.admin-brand .brand-monogram{width:38px;min-width:38px;max-width:38px;height:38px;min-height:38px;max-height:38px;flex:0 0 38px;aspect-ratio:1}.admin-brand button{display:none;border:0;background:none;color:white}.admin-sidebar nav{display:grid;gap:5px;margin-top:0}.admin-sidebar nav a{display:flex;align-items:center;gap:12px;padding:11px 12px;color:rgba(244,247,236,.58);font-size:.84rem;border-inline-start:2px solid transparent}.admin-sidebar nav a.active,.admin-sidebar nav a:hover{color:white;background:rgba(164,186,130,.1);border-color:var(--dust)}.back-site{display:flex;align-items:center;gap:8px;margin-top:auto;padding:12px;color:var(--dust);font-size:.76rem}.admin-main{min-height:100vh;margin-inline-start:250px}.admin-topbar{height:70px;padding:0 3vw;display:flex;align-items:center;justify-content:flex-end;gap:16px;background:#f4f7ec;border-bottom:1px solid var(--line)}.admin-topbar>.admin-user{display:grid;text-align:end}.admin-topbar strong{font-size:.8rem}.admin-topbar span{color:var(--muted);font-size:.65rem;text-transform:capitalize}.admin-menu{display:none;margin-inline-end:auto;border:0;background:none}.admin-page{padding:clamp(24px,4vw,58px)}.admin-page-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:32px}.admin-page-head.compact{align-items:center}.admin-kicker{margin:0 0 14px;color:var(--gold);font-family:var(--font-main);font-size:.76rem;font-weight:600;letter-spacing:.12em;line-height:1.6}.admin-page-head h1{margin:0 0 8px;font-size:clamp(2rem,3.2vw,3.7rem);line-height:1.1}.admin-page-head p{margin:0;color:var(--muted)}.period-filter{position:relative;max-width:100%;z-index:20}.period-filter-native{display:none}.period-filter-trigger{min-width:176px;height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;border:0;background:transparent;outline:none;font-size:.8rem;color:var(--black);cursor:pointer}.period-filter-trigger span{flex:1;text-align:start}.period-filter-chevron{transition:transform .18s ease}.period-filter.is-open .period-filter-chevron{transform:rotate(180deg)}.period-filter-menu{position:absolute;inset-block-start:calc(100% + 8px);inset-inline-end:0;width:max(100%,190px);padding:7px;border:1px solid rgba(76,99,54,.18);border-radius:18px;background:#f4f7ec;box-shadow:0 18px 45px rgba(44,39,17,.16);animation:period-menu-in .16s ease both}.period-filter-menu button{width:100%;min-height:40px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 11px;border:0;border-radius:12px;background:transparent;color:var(--black);font:inherit;text-align:start;cursor:pointer}.period-filter-menu button:focus-visible,.period-filter-menu button:hover{background:var(--invoice-soft,#edf3e3);outline:none}.period-filter-menu button.is-selected{color:var(--gold);background:rgba(164,186,130,.18)}@keyframes period-menu-in{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.admin-select{position:relative;width:fit-content;max-width:100%;min-width:0}.admin-select-trigger{width:auto;max-width:100%;min-height:46px;display:flex;align-items:center;gap:10px;padding:0 14px;color:var(--studio-ink,#283323);background:rgba(244,247,236,.94);border:1px solid rgba(76,99,54,.2);border-radius:999px;outline:none;font:inherit;font-size:.8rem;font-weight:500;cursor:pointer;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.admin-select-trigger:hover{background:#f4f7ec;border-color:rgba(76,99,54,.36)}.admin-select-trigger:focus-visible,.admin-select.is-open .admin-select-trigger{border-color:var(--studio-olive,#4c6336);background:#f4f7ec;box-shadow:0 0 0 3px rgba(76,99,54,.1)}.admin-select-trigger:disabled{opacity:.55;cursor:not-allowed}.admin-select-chevron,.admin-select-icon{flex:0 0 auto}.admin-select-value{flex:1;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap}.admin-select-chevron{transition:transform .18s ease}.admin-select.is-open .admin-select-chevron{transform:rotate(180deg)}.admin-select-popover{box-sizing:border-box;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;position:fixed;z-index:1000;padding:8px;border:1px solid rgba(76,99,54,.18);border-radius:22px;background:#f4f7ec;box-shadow:0 20px 50px rgba(44,39,17,.18);transform-origin:top center}.admin-select-popover button{width:100%;min-height:48px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;color:var(--studio-ink,#283323);background:transparent;border:0;border-radius:15px;outline:none;font:inherit;font-size:.9rem;font-weight:500;text-align:start;cursor:pointer}.admin-select-popover button:focus-visible,.admin-select-popover button:hover{background:var(--invoice-soft,#edf3e3)}.admin-select-popover button.is-selected{color:var(--studio-olive,#4c6336);background:rgba(164,186,130,.18);font-weight:650}.period-filter,.table-admin-select{width:fit-content;min-width:0}.admin-select-field{min-width:0;display:grid;gap:7px;color:var(--muted);font-size:.7rem}.admin-select-field .admin-select,.admin-select-field .admin-select-trigger{width:100%}.invite-form>.admin-select-field,.invoice-details .admin-select-field,.invoice-line .admin-select-field{color:var(--muted);font-size:.66rem;letter-spacing:.07em;text-transform:uppercase}.invoice-editor-page .invoice-line .admin-select-field{color:#66705c;font:500 .63rem/1.2 var(--font-main);letter-spacing:.07em}.invoice-editor-page .admin-select-trigger{min-height:46px;font:400 .79rem/1.2 var(--font-main)}.custom-range-shell{display:grid;grid-template-rows:0fr;opacity:0;transform:translateY(-8px);visibility:hidden;transition:grid-template-rows .24s ease,opacity .18s ease,transform .24s ease,margin .24s ease,visibility 0s linear .24s}.custom-range-shell.is-open{grid-template-rows:1fr;margin:-20px 0 24px;opacity:1;transform:translateY(0);visibility:visible;transition:grid-template-rows .24s ease,opacity .18s ease 40ms,transform .24s ease,margin .24s ease,visibility 0s}.custom-range{min-height:0;overflow:hidden;display:flex;justify-content:flex-end;gap:10px;margin:0}.custom-range label{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:.72rem}.custom-range .admin-date-field{min-width:0;flex:1}.custom-range input{height:40px;padding:0 10px;border:1px solid var(--line);background:#f4f7ec}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.metric-card{position:relative;padding:20px;background:#f4f7ec;border:1px solid var(--line);text-align:center}.metric-card>div{display:flex;justify-content:center;color:var(--muted);font-size:.7rem;font-weight:700;text-align:center}.metric-card>div svg{position:absolute;inset-block-start:20px;inset-inline-end:20px;color:var(--gold)}.metric-card>strong{display:block;margin:20px 0 2px;font:400 clamp(1.15rem,1.7vw,1.65rem) var(--font-main);white-space:nowrap}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.admin-card{padding:24px;background:#f4f7ec;border:1px solid var(--line)}.span-2{grid-column:span 2}.card-head{display:flex;align-items:start;justify-content:space-between;margin-bottom:26px}.card-head h2,.settings-grid h2{margin:0;font:400 1rem var(--font-main)}.card-head p{margin:3px 0 0;color:var(--muted);font-size:.72rem}.chart-wrap{height:250px}.revenue-chart-card{container-type:inline-size}.chart-selection{height:28px;display:flex;align-items:baseline;justify-content:flex-end;gap:9px;color:var(--muted);font-size:.65rem}.chart-selection strong{color:var(--studio-ink);font-size:.76rem;font-weight:600}.revenue-bars{height:220px;padding:8px 8px 0;grid-template-columns:repeat(var(--revenue-columns,7),minmax(0,1fr));gap:clamp(8px,2vw,22px);border-bottom:1px solid var(--line);background:repeating-linear-gradient(180deg,transparent 0,transparent calc(25% - 1px),rgba(76,99,54,.08) 25%)}.revenue-bar,.revenue-bars{display:grid;align-items:end}.revenue-bar{height:100%;min-width:0;padding:0;grid-template-rows:22px 1fr 24px;justify-items:center;color:inherit;background:transparent;border:0;cursor:pointer}.revenue-bar i{width:min(100%,54px);height:var(--bar-height);min-height:5px;display:block;background:linear-gradient(180deg,var(--studio-olive) 0,rgba(76,99,54,.72) 100%);border-radius:8px 8px 2px 2px;box-shadow:0 8px 20px rgba(76,99,54,.14);transform-origin:bottom;transition:filter .18s ease,opacity .18s ease,transform .18s ease;animation:revenue-bar-enter .52s cubic-bezier(.22,1,.36,1) backwards;opacity:.64}.revenue-bar.is-active i,.revenue-bar:focus-visible i,.revenue-bar:hover i{filter:saturate(1.18);opacity:1;transform:translateY(-3px)}.revenue-bar:focus-visible{outline:2px solid rgba(76,99,54,.45);outline-offset:3px;border-radius:8px}.revenue-bar span{max-width:100%;margin-bottom:7px;overflow:hidden;color:var(--muted);font-size:.58rem;line-height:1;text-overflow:ellipsis;white-space:nowrap}.revenue-bar b{color:var(--muted);font-weight:500;font-size:.65rem}.revenue-bar.is-active b{color:var(--studio-olive)}@keyframes revenue-bar-enter{0%{transform:scaleY(0)}}@keyframes revenue-bar-enter-compact{0%{transform:scaleX(0)}}@container (max-width: 560px){.revenue-chart-card .chart-wrap{height:auto}.revenue-chart-card .chart-selection{display:none}.revenue-chart-card .revenue-bars{height:auto;padding:0;display:grid;grid-template-columns:1fr;align-items:stretch;gap:7px;border:0;background:none}.revenue-chart-card .revenue-bar{position:relative;isolation:isolate;height:34px;display:grid;grid-template-columns:30px minmax(0,1fr) 78px;grid-template-rows:1fr;align-items:center;justify-items:stretch;gap:9px;direction:ltr;border-radius:8px}.revenue-chart-card .revenue-bar:before{content:"";z-index:-1;grid-column:2;grid-row:1;width:100%;height:10px;border-radius:999px;background:rgba(76,99,54,.09)}.revenue-chart-card .revenue-bar b{grid-column:1;grid-row:1;color:var(--studio-ink);font-size:.66rem;font-weight:600;text-align:start}.revenue-chart-card .revenue-bar i{grid-column:2;grid-row:1;width:var(--bar-width);height:10px;min-height:0;justify-self:start;border-radius:999px;box-shadow:none;opacity:.7;transform-origin:left center;animation-name:revenue-bar-enter-compact}.revenue-chart-card .revenue-bar span{grid-column:3;grid-row:1;max-width:none;margin:0;overflow:visible;color:var(--muted);font-size:.61rem;line-height:1.2;text-align:end;text-overflow:clip}.revenue-chart-card .revenue-bar.is-active i,.revenue-chart-card .revenue-bar:focus-visible i,.revenue-chart-card .revenue-bar:hover i{filter:none;opacity:.7;transform:none}.revenue-chart-card .revenue-bar.is-active b{color:var(--studio-ink)}}@media (prefers-reduced-motion:reduce){.revenue-bar i{animation:none}}.admin-primary,.admin-secondary{min-height:42px;display:inline-flex;align-items:center;gap:8px;padding:0 16px;border:1px solid var(--black);font-size:.76rem;cursor:pointer}.admin-primary{background:var(--black)}.table-tools{display:flex;align-items:center;gap:8px;margin-bottom:12px}.table-tools .table-search{min-width:220px;flex:1 1 auto;display:flex;align-items:center;gap:8px;padding:0 12px;background:#f4f7ec;border:1px solid var(--line)}.table-tools .table-search input{width:100%;padding:10px 0;border:0;outline:0;background:transparent}.table-menu-group{min-width:0;display:flex;align-items:center;gap:8px;flex:0 1 auto}.table-menu-group .table-admin-select{width:fit-content;min-width:0;flex:0 1 auto}.table-menu-group>button{min-height:44px;flex:0 0 auto}.table-tools button{display:flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--line);background:#f4f7ec;font-size:.72rem}.table-tool-select{position:relative;width:fit-content;max-width:100%;min-width:176px;height:44px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:0 14px;color:var(--black);background:#f4f7ec;border:0;cursor:pointer}.table-tool-select select{min-width:0;width:100%;height:44px;padding:0;color:inherit;background:transparent;border:0;outline:0;appearance:none;-webkit-appearance:none;font:inherit;font-size:.8rem;font-weight:500;cursor:pointer}.table-tool-select:focus-within{box-shadow:0 0 0 2px rgba(76,99,54,.14)}.table-tool-select-compact{position:relative;min-width:0;width:auto;height:44px;display:flex;align-items:center;gap:7px;padding:0 13px;border:1px solid var(--line);font-size:.72rem;font-weight:500}.table-tool-select-compact select{position:absolute;inset:0;width:100%;height:100%;opacity:0}.table-tool-chevron{color:var(--black);pointer-events:none}.admin-table-wrap{background:#f4f7ec;border:1px solid var(--line)}.admin-table-wrap .table-empty{padding:64px 24px;text-align:center}.admin-table-wrap .table-empty small,.admin-table-wrap .table-empty strong{display:block}.admin-table-wrap .table-empty strong{margin-bottom:4px;color:var(--ink);font-size:.95rem}.admin-table-wrap .table-empty small{color:var(--muted);font-size:.76rem}.admin-table-wrap .table-error strong{color:#8a3e2a}.audit-change-list{display:grid;gap:5px;min-width:180px}.audit-change-item{display:block;color:var(--ink);font-size:.72rem;line-height:1.45;unicode-bidi:plaintext}.admin-page.audit-page{box-sizing:border-box;height:auto;min-height:calc(100vh - 88px);display:block;overflow:visible}.audit-page .admin-table-wrap{min-height:180px;overscroll-behavior:auto}.audit-page .audit-table thead th{position:sticky;z-index:12;top:0}.audit-page>.pagination{flex:0 0 auto}.staff-row-action{width:auto;text-align:end;display:flex;justify-content:flex-end;gap:6px}.staff-row-action .admin-delete-trigger.icon-only{width:36px;min-width:36px;height:36px;min-height:36px;justify-content:center;padding:0}.staff-row-action .invitation-regenerate-action{width:100%;min-height:36px;padding-inline:12px;border-color:var(--studio-olive);color:#fff;background:var(--studio-olive);box-shadow:none;white-space:nowrap}.staff-row-action .invitation-regenerate-action.is-sent,.staff-row-action .invitation-regenerate-action:focus-visible,.staff-row-action .invitation-regenerate-action:hover:not(:disabled){border-color:var(--studio-olive);color:#fff;background:var(--studio-olive);box-shadow:none}.staff-row-action .invitation-regenerate-action.is-sent:disabled{border-color:var(--studio-olive);color:#fff;background:var(--studio-olive);opacity:1}.staff-row-action .invitation-regenerate-action.is-error{border-color:rgba(132,61,42,.28);color:#843d2a;background:#fffaf7}@media (min-width:601px){.staff-table tbody tr:not(:last-child){border-bottom:1px solid var(--line)}.staff-table tbody td{border-bottom:0}}.invitation-regenerate-control{display:inline-flex;width:160px;min-width:160px}.staff-row-action .invitation-cancel-action{width:176px;min-width:176px;min-height:36px;justify-content:center;padding-inline:12px;white-space:nowrap}.staff-row-action .invitation-cancel-action.is-morphing{animation:invitation-action-morph .32s ease-out both}.invitation-regenerate-content{display:inline-flex;align-items:center;justify-content:center;gap:7px}.invitation-regenerate-spinner{animation:invitation-regenerate-spin .8s linear infinite}@keyframes invitation-regenerate-spin{to{transform:rotate(1turn)}}@keyframes invitation-action-morph{0%{width:160px;min-width:160px;border-color:var(--studio-olive);background:var(--studio-olive);transform:scale(.98)}to{width:176px;min-width:176px;border-color:var(--admin-danger);background:var(--admin-danger);transform:scale(1)}}@media (min-width:601px){.staff-page .admin-table-wrap{overflow:visible;background:transparent;border:0;border-radius:0;box-shadow:none}.admin-page .staff-table{width:100%;min-width:0;display:block;white-space:normal}.admin-page .staff-table thead{display:none}.admin-page .staff-table tbody{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}.admin-page .staff-table tbody tr{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"user status" "role updated" "action action";align-content:start;gap:14px 16px;padding:18px 20px;background:rgba(244,247,236,.9);border:1px solid rgba(76,99,54,.15);border-radius:20px;box-shadow:0 9px 24px rgba(52,69,42,.05)}.admin-page .staff-table tbody td{width:auto;min-width:0;padding:0;border:0;overflow-wrap:anywhere;white-space:normal}.admin-page .staff-table tbody td:first-child{grid-area:user}.admin-page .staff-table tbody td:nth-child(2){grid-area:role;color:var(--studio-muted);font-size:.7rem}.admin-page .staff-table tbody td:nth-child(3){grid-area:status;text-align:end}.admin-page .staff-table tbody td:nth-child(4){grid-area:updated;color:var(--studio-muted);font-size:.66rem;text-align:end}.admin-page .staff-table tbody td:nth-child(5){grid-area:action;width:auto;text-align:end}.admin-page .staff-table .staff-row-action{justify-content:flex-end}.admin-page .staff-table tbody tr:not(:has(.staff-row-action>*)){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"user status" "role updated"}.admin-page .staff-table tbody .staff-row-action:empty{display:none}.admin-page .staff-table tbody td:nth-child(2):before,.admin-page .staff-table tbody td:nth-child(4):before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--studio-olive);font-size:.56rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.admin-page .staff-table tbody tr:has(.table-empty){display:block;grid-column:1/-1;padding:0}.admin-page .staff-table td.table-empty{display:block;padding:34px 20px}}@media (max-width:600px){.staff-page .admin-table-wrap{overflow-x:hidden;background:transparent;border:0;border-radius:0;box-shadow:none}.admin-page .staff-table{width:100%;min-width:0;display:block;white-space:normal}.admin-page .staff-table thead{display:none}.admin-page .staff-table tbody{display:grid;gap:10px}.admin-page .staff-table tbody tr{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"user status" "role updated" "action action";gap:14px 16px;padding:14px 18px;background:rgba(244,247,236,.9);border:1px solid rgba(76,99,54,.15);border-radius:20px;box-shadow:0 9px 24px rgba(52,69,42,.05)}.admin-page .staff-table tbody td{width:auto;min-width:0;padding:0;border:0;overflow-wrap:anywhere;white-space:normal}.admin-page .staff-table tbody td:first-child{grid-area:user}.admin-page .staff-table tbody td:nth-child(2){grid-area:role;color:var(--studio-muted);font-size:.7rem}.admin-page .staff-table tbody td:nth-child(3){grid-area:status;text-align:end}.admin-page .staff-table tbody td:nth-child(4){grid-area:updated;color:var(--studio-muted);font-size:.66rem;text-align:end}.admin-page .staff-table tbody td:nth-child(5){grid-area:action;width:auto;text-align:end}.admin-page .staff-table .staff-row-action{justify-content:flex-end}.admin-page .staff-table tbody tr:not(:has(.staff-row-action>*)){grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"user status" "role updated"}.admin-page .staff-table tbody .staff-row-action:empty{display:none}.admin-page .staff-table tbody td:nth-child(2):before,.admin-page .staff-table tbody td:nth-child(4):before{content:attr(data-label);display:block;margin-bottom:3px;color:var(--studio-olive);font-size:.56rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.admin-page .staff-table tbody tr:has(.table-empty){display:block;padding:0}.admin-page .staff-table td.table-empty{display:block;padding:34px 20px}}.audit-page .admin-table-wrap{min-height:0;overflow:visible;background:transparent;border:0;border-radius:0}.audit-page .audit-table{width:100%;min-width:0;display:block;white-space:normal}.audit-page .audit-table thead{display:none}.audit-page .audit-table tbody{display:grid;gap:12px;padding-bottom:2px}.audit-page .audit-table tbody tr{position:relative;width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(112px,.72fr);grid-template-areas:"action user" "time user" "changes changes";gap:8px 14px;padding:14px 18px 16px;overflow:hidden;background:rgba(244,247,236,.9);border:1px solid rgba(76,99,54,.15);border-radius:20px;box-shadow:0 9px 24px rgba(52,69,42,.05)}.audit-page .audit-table tbody td{width:auto;min-width:0;padding:0;border:0;overflow-wrap:anywhere;white-space:normal}.audit-page .audit-table tbody td:first-child{grid-area:time;align-self:start;color:var(--studio-muted);font-size:.66rem;line-height:1.4}.audit-page .audit-table tbody td:nth-child(2){grid-area:action}.audit-page .audit-table tbody td:nth-child(2) .primary-cell{color:var(--studio-ink);font-size:.82rem;font-weight:700;line-height:1.3}.audit-page .audit-table tbody td:nth-child(3){grid-area:entity;text-align:start}.audit-page .audit-table tbody td:nth-child(3) .primary-cell{display:block;padding:0;color:var(--studio-muted);background:transparent;border-radius:0;font-size:.72rem;font-weight:500;line-height:1.4}.audit-page .audit-table tbody td:nth-child(4){grid-area:user;text-align:end}.audit-page .audit-table tbody td:nth-child(4) .primary-cell{color:var(--studio-muted);font-size:.64rem;font-weight:500;line-height:1.35}.audit-page .audit-table tbody td:nth-child(3) small,.audit-page .audit-table tbody td:nth-child(4) small{margin-top:2px;font-size:.61rem;line-height:1.35}.audit-page .audit-table tbody td:nth-child(5){grid-area:changes;margin-top:3px;padding-top:11px;border-top:1px solid rgba(76,99,54,.16)}.audit-page .audit-table tbody td:nth-child(5):before{display:none}.audit-page .audit-change-list{min-width:0;gap:4px}.audit-page .audit-change-item{display:grid;gap:3px;font-size:.69rem;line-height:1.48}.audit-page .audit-change-field{font-size:inherit;font-weight:600}.audit-page .audit-change-value{display:flex;align-items:baseline;gap:8px;min-width:0;white-space:normal}.audit-page .audit-change-direction{flex:0 0 30px;color:var(--studio-muted);font-size:inherit}.audit-page .audit-change-list{gap:10px}.audit-page .audit-table tbody tr:has(.table-empty){display:block;padding:0}.audit-page .audit-table td.table-empty{display:block;padding:34px 20px}.admin-table-wrap .clickable-table-row{cursor:pointer;transition:background-color .16s ease,box-shadow .16s ease}.admin-table-wrap .clickable-table-row:hover{background:rgba(164,186,130,.12)}.admin-table-wrap .clickable-table-row:focus-visible{outline:2px solid var(--gold);outline-offset:-2px;background:rgba(164,186,130,.12)}.admin-table-wrap table{width:100%;border-collapse:collapse;white-space:nowrap}.admin-table-wrap td,.admin-table-wrap th{padding:14px 16px;text-align:start;border-bottom:1px solid var(--line);font-size:.77rem}.admin-table-wrap th{color:var(--muted);background:#eaf1de;font-size:.64rem;font-weight:500;letter-spacing:.06em;text-transform:uppercase}.admin-table-wrap tr:last-child td{border-bottom:0}.admin-table-wrap small{display:block;color:var(--muted);font-size:.67rem}.primary-cell{font-weight:500}.status{display:inline-flex;padding:4px 8px;border-radius:99px;background:#eaf1de;font-size:.62rem;text-transform:capitalize}.status.active,.status.completed,.status.published{color:#3f581c;background:#e6edd9}.status.confirmed,.status.in_progress{color:#4c6336;background:#efefd9}.status.cancelled{color:#843d2a;background:#f3e0d9}.status.draft,.status.invited,.status.pending{color:#73551c;background:#f5ebd4}.status.disabled,.status.expired,.status.invalidated,.status.revoked{color:#843d2a;background:#f3e0d9}.row-menu{border:0;background:transparent}.pagination{display:flex;justify-content:space-between;align-items:center;margin-top:14px;color:var(--muted);font-size:.7rem}.pagination button{width:34px;height:34px;border:1px solid var(--line);background:#f4f7ec}.pagination button.active{color:white;background:var(--black)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.settings-section-grid{grid-template-columns:minmax(0,1fr)}.settings-grid section{display:grid;gap:18px}.settings-index-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.settings-section-card{min-height:96px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 20px;color:var(--ink);text-decoration:none;transition:border-color .18s ease,background-color .18s ease,transform .18s ease}.settings-section-card:hover{border-color:var(--studio-olive);background:#f4f7ec;transform:translateY(-2px)}.settings-section-icon{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;color:var(--studio-olive);background:var(--studio-olive-soft);border:1px solid var(--line);border-radius:50%}.settings-section-copy{min-width:0;display:grid;gap:5px}.settings-section-copy strong{font:500 .86rem var(--font-main)}.settings-section-copy small{color:var(--muted);font-size:.74rem;line-height:1.5}.settings-section-chevron{color:var(--studio-olive)}.settings-grid label{display:grid;gap:8px;color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.settings-grid input,.settings-grid select,.settings-grid textarea{width:100%;padding:13px 15px;color:var(--ink);border:1px solid var(--line);border-radius:16px;background:#f4f7ec;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.settings-grid input:focus,.settings-grid select:focus,.settings-grid textarea:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.1)}.profile-email-row{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:54px;padding-block:5px;border-bottom:1px solid var(--line)}.profile-email-row span{color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.profile-email-row strong{min-width:0;overflow-wrap:anywhere;color:var(--ink);font-size:.88rem;text-align:end;user-select:text}.settings-password-requirements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin:-2px 0 0;padding:15px 17px;color:var(--muted);border:1px solid rgba(76,99,54,.18);border-radius:18px;background:rgba(225,235,201,.62);list-style:none}.settings-password-requirements li{display:flex;gap:7px;align-items:center;font-size:.76rem;font-weight:500;letter-spacing:0;text-transform:none}.settings-password-requirements li svg{flex:0 0 auto;color:#8a3e2a}.settings-password-requirements li.is-met,.settings-password-requirements li.is-met svg{color:var(--studio-olive)}.settings-inline-error{margin:-4px 0 0;color:#9e432e;font-size:.76rem}.settings-grid textarea{min-height:118px;resize:vertical}.settings-section-description{max-width:62ch;margin:0;color:var(--muted);font-size:.88rem;line-height:1.6}.settings-section-link{color:inherit;font-weight:700;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.18em}.settings-section-link:hover{color:var(--studio-olive)}.settings-section-steps{display:grid;gap:6px;list-style:disc outside;max-width:62ch;margin:2px 0;padding-inline-start:1.2rem;color:var(--muted);font-size:.82rem;line-height:1.55}.settings-section-steps li{display:list-item}.settings-section-steps li::marker{color:var(--studio-olive)}.settings-section-security{font-weight:600}.settings-secret-note{color:var(--muted);font-size:.72rem;line-height:1.5}.settings-secret-connected,.settings-secret-editor{padding:16px;border:1px solid var(--line);border-radius:20px;background:#e1ebc9}.settings-secret-connected,.settings-secret-help,.settings-secret-status{display:flex;align-items:center}.settings-secret-connected,.settings-secret-help{justify-content:space-between;gap:16px}.settings-secret-help{margin-top:10px}.settings-secret-status{gap:11px}.settings-secret-status>span{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--studio-olive)}.settings-secret-status div{display:grid;gap:3px}.settings-secret-status strong{font-size:.88rem}.settings-secret-status small{color:var(--muted);font-family:var(--font-main);font-size:.7rem;letter-spacing:.08em}.settings-secret-edit{min-height:40px;padding:0 16px;border:1px solid var(--studio-olive);border-radius:999px;font:inherit;font-size:.78rem;font-weight:700}.settings-secret-cancel,.settings-secret-edit{color:var(--studio-olive);background:transparent}.settings-secret-cancel{padding:4px 0;border:0;font:inherit;font-size:.74rem;font-weight:700}@media (max-width:560px){.settings-secret-connected{align-items:stretch;flex-direction:column}.settings-secret-edit{align-self:flex-start}}.settings-page>.editor-message{margin:0}.settings-page .admin-page-head h1{min-width:0;margin:0}.settings-save-button{width:72px;min-width:72px;max-width:72px;height:40px;min-height:40px;max-height:40px;flex:0 0 72px;margin-inline-start:auto;padding:0;overflow:hidden}.admin-primary.is-unchanged,.settings-save-button.is-unchanged{color:#7a856e;background:#cbd8b9}.admin-primary.is-unchanged{border-color:#cbd8b9}.admin-primary.is-unchanged:disabled,.settings-save-button:disabled{cursor:default;opacity:1}.settings-save-content{width:100%;height:100%;display:inline-flex;align-items:center;justify-content:center}.record-save-spinner,.settings-save-spinner{animation:settings-save-spin .8s linear infinite}@keyframes settings-save-spin{to{transform:rotate(1turn)}}@media (prefers-reduced-motion:reduce){.record-save-spinner,.settings-save-spinner{animation:none}}@media (max-width:1200px){.metric-grid{grid-template-columns:repeat(3,1fr)}}@media (max-width:900px){.admin-sidebar{transform:translateX(-105%);transition:transform .25s}.admin-sidebar.open{transform:none}.admin-brand button,.admin-menu{display:block}.admin-main{margin-inline-start:0}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr)}.span-2{grid-column:auto}.settings-grid,.settings-index-grid{grid-template-columns:1fr}}.admin-primary.audit-export-action,.resource-list-page .table-menu-group .admin-primary.resource-list-create,.resource-list-page .top-level-page-actions .admin-primary.resource-list-create,.staff-page .top-level-page-actions .admin-primary.admins-create-action{width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;flex:0 0 40px;margin-inline-start:auto;padding:0;color:#fff;background:var(--studio-olive);border-color:var(--studio-olive);border-radius:50%;font-size:1.25rem;line-height:1}.admin-primary.audit-export-action:disabled{cursor:default;opacity:.45}.resource-list-create>svg{display:block;flex:0 0 auto}.resource-list-page .table-menu-group{flex:1 1 auto}.resource-list-page .table-tools{margin-bottom:8px}.resource-result-count{justify-content:flex-start;margin:0 0 12px;padding-inline:18px;font-size:.72rem}.document-summary-list-card .status,.invoice-summary-card .status{padding:6px 10px;font-size:.62rem;font-weight:600}.top-level-page-actions{display:flex;align-items:center;justify-content:flex-end}.top-level-page-actions.dashboard-page-controls{justify-content:flex-start;margin-bottom:18px}@media (max-width:600px){.period-filter-custom{display:none}.period-filter-native{min-width:176px;height:44px;display:flex;align-items:center;gap:10px;padding:0 14px;background:#f4f7ec}.period-filter-native select{min-width:0;flex:1;appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--black);font:inherit;outline:none}.period-filter-native>svg{flex:0 0 auto;pointer-events:none}.custom-range-shell.is-open{margin:-12px 0 24px}.custom-range{justify-content:stretch}.custom-range .admin-date-field,.custom-range label{flex:1;display:grid}.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.metric-card{min-width:0;padding:15px 7px}.metric-card>div{min-height:32px;align-items:center;line-height:1.35}.metric-card>div svg{display:none}.metric-card>strong{margin-top:10px;font-size:clamp(.86rem,3.2vw,1.1rem)}.admin-page-head{display:block}.admin-page-head>.admin-delete-trigger,.admin-page-head>.admin-primary,.admin-page-head>.admin-secondary,.admin-page-head>.editor-actions:not(.detail-header-actions),.period-filter{margin-top:18px}.table-tools{flex-wrap:wrap}.table-tools .table-search{min-width:0;flex:1 0 100%}.table-tools .table-tool-select{min-width:0;width:auto;flex:1 1 calc(50% - 4px)}.table-tools .table-tool-select-compact{flex:0 0 auto}.table-tools .table-admin-select{min-width:0;width:auto;flex:1 1 calc(50% - 4px)}.chart-card{padding:20px}.chart-card .card-head{margin-bottom:20px}.chart-wrap{height:auto}.chart-selection{display:none}.revenue-bars{height:auto;padding:0;display:grid;grid-template-columns:1fr;align-items:stretch;gap:7px;border:0;background:none}.revenue-bar{position:relative;isolation:isolate;height:34px;display:grid;grid-template-columns:30px minmax(0,1fr) 78px;grid-template-rows:1fr;align-items:center;justify-items:stretch;gap:9px;direction:ltr;border-radius:8px}.revenue-bar:before{content:"";z-index:-1;grid-column:2;grid-row:1;width:100%;height:10px;border-radius:999px;background:rgba(76,99,54,.09)}.revenue-bar b{grid-column:1;grid-row:1;color:var(--studio-ink);font-size:.66rem;font-weight:600;text-align:start}.revenue-bar i{grid-column:2;grid-row:1;width:var(--bar-width);height:10px;min-height:0;justify-self:start;border-radius:999px;box-shadow:none;opacity:.7;transform-origin:left center;animation-name:revenue-bar-enter-mobile}.revenue-bar span{grid-column:3;grid-row:1;max-width:none;margin:0;overflow:visible;color:var(--muted);font-size:.61rem;line-height:1.2;text-align:end;text-overflow:clip}.revenue-bar.is-active i,.revenue-bar:focus-visible i,.revenue-bar:hover i{filter:none;opacity:.7;transform:none}.revenue-bar.is-active b{color:var(--studio-ink)}@keyframes revenue-bar-enter-mobile{0%{transform:scaleX(0)}}.account-nav span{display:none}}.editor-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.editor-message{padding:12px 16px;background:#d4e2bc;color:var(--gold);overflow-wrap:anywhere}.invoice-workspace{grid-template-columns:minmax(0,1fr) 310px;align-items:start}.invoice-workspace,.invoice-workspace>div{display:grid;gap:16px}.invoice-details{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:14px}.invoice-details h2{grid-column:1/-1}.invoice-record-heading{grid-column:1/-1;display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding-top:2px}.invoice-record-heading strong{color:var(--studio-ink);font-size:.78rem}.invoice-record-heading span{max-width:560px;color:var(--muted);font-size:.68rem;line-height:1.5;text-align:end}.invite-form>label,.invoice-details label,.invoice-line label{display:grid;gap:5px;color:var(--muted);font-size:.66rem;text-transform:uppercase;letter-spacing:.07em}.invite-form input,.invite-form select,.invoice-details input,.invoice-details select,.invoice-line input,.invoice-line select,.invoice-line textarea{width:100%;padding:9px 10px;border:1px solid var(--line);background:#f4f7ec;outline:none}.line-editor{padding:0}.invoice-packaging-editor .recipe-editor-head,.line-editor>header{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;border-bottom:1px solid var(--line)}.detail-grid h2,.event-section>.record-invoices-heading h2,.invite-form h2,.line-editor h2,.totals-card h2{margin:0;font:400 1rem var(--font-main)}.invoice-line{display:grid;grid-template-columns:24px minmax(180px,2fr) 80px 110px 110px 95px 110px 66px;gap:8px;align-items:end;padding:14px;border-bottom:1px solid var(--line)}.line-total span{display:block;color:var(--muted);font-size:.63rem;text-transform:uppercase}.line-total strong{font-size:.77rem}.line-actions{display:flex}.line-actions button{width:25px;height:34px;padding:0;display:grid;place-items:center;border:0;background:transparent}.line-actions button:last-child{color:#8a3e2a}.totals-card{position:sticky;top:86px}.totals-card>p{display:flex;justify-content:space-between;margin:0;padding:11px 0;border-bottom:1px solid var(--line);font-size:.76rem}.totals-card .grand{margin-top:10px;border-top:2px solid var(--black);font-size:.95rem}.calculation-error{color:#8a3e2a}.invoice-document{position:relative;width:min(100%,980px);margin:0 auto;padding:65px;background:#f4f7ec;box-shadow:var(--shadow)}.invoice-document>header{display:flex;justify-content:space-between;align-items:start;padding-bottom:35px;border-bottom:2px solid var(--black)}.invoice-brand{display:flex;gap:14px;align-items:center}.invoice-brand>span{width:52px;height:52px;display:grid;place-items:center;border:1px solid var(--black);border-radius:50%;font:400 .9rem var(--font-main)}.invoice-brand small,.invoice-brand strong{display:block}.invoice-brand strong{font-family:var(--font-main);font-size:.92rem;font-weight:500;letter-spacing:.11em;line-height:1}.invoice-brand small{margin-top:7px;font-size:.48rem;letter-spacing:.32em;line-height:1}.invoice-document>header>div:last-child{text-align:start}.invoice-document>header h2{margin:0;font-size:2rem}.invoice-meta{display:flex;justify-content:space-between;padding:38px 0}.invoice-meta span{display:block;color:var(--muted);font-size:.68rem;text-transform:uppercase}.invoice-meta .status{min-height:28px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;line-height:1}.invoice-meta .status>span{display:block;color:inherit;font:inherit;text-transform:inherit;transform:translateY(-.08em)}.invoice-meta p{color:var(--muted);font-size:.78rem;white-space:pre-line}.invoice-meta dl{align-self:flex-start;align-content:start;display:grid;grid-template-columns:auto auto;gap:8px 30px;font-size:.74rem}.invoice-meta dt{color:var(--muted)}.invoice-price-table{overflow:hidden;border:1px solid #cbd8b9;border-radius:14px}.invoice-document table{width:100%;border-collapse:collapse;table-layout:fixed}.invoice-document :where(th,td):first-child{width:50%;text-align:left}.invoice-document :where(th,td):nth-child(2){width:20%;text-align:center}.invoice-document :where(th,td):nth-child(3){width:30%;text-align:right}.invoice-document td,.invoice-document th{padding:15px 16px;border:0;font-size:.76rem;overflow-wrap:anywhere}.invoice-document th{color:white;background:#35452b;font-size:.68rem;font-weight:700}.invoice-document tbody tr+tr td{border-top:1px solid #dce6cc}.invoice-totals{width:min(100%,360px);margin:35px 0 50px;margin-inline-start:auto}.invoice-totals p{display:flex;justify-content:space-between;margin:0;padding:8px;border-bottom:1px solid var(--line);font-size:.75rem}.invoice-totals .grand{font-size:.9rem;border-top:2px solid var(--black)}.invoice-document>footer{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding-top:30px;border-top:1px solid var(--line);font-size:.72rem}.invoice-document>footer.invoice-terms-only{grid-template-columns:1fr}.invoice-document>footer strong{display:block;margin-bottom:7px;color:var(--muted);font-size:.64rem;font-weight:600;letter-spacing:.08em;text-transform:uppercase}.invoice-document>footer p{margin:0;color:var(--muted);line-height:1.6;white-space:pre-line}.page-number{position:absolute;inset:auto 65px 25px;color:var(--muted);font-size:.62rem}.detail-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.detail-metrics article{padding:22px;background:#f4f7ec;border:1px solid var(--line)}.detail-metrics span{display:block;color:var(--muted);font-size:.68rem}.detail-metrics strong{font:400 1.35rem var(--font-main)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-grid section{display:grid;gap:10px}.detail-grid section>a:not(.resource-summary-card){display:flex;justify-content:space-between;padding:10px 0;border-bottom:1px solid var(--line);font-size:.78rem}.detail-grid p{color:var(--muted);font-size:.78rem}.detail-grid textarea{min-height:150px;padding:12px;border:1px solid var(--line);background:#f4f7ec}.detail-list{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:.78rem}.detail-list dt{color:var(--muted)}.invite-form{width:min(100%,780px);max-width:780px;margin-inline:auto;display:grid;gap:18px}.invite-form>label{gap:8px;font-weight:600;letter-spacing:.05em}.invite-form input{padding:13px 15px;color:var(--ink);background:#f4f7ec;border:1px solid var(--line);border-radius:16px;outline:none;transition:border-color .16s ease,box-shadow .16s ease}.invite-form input:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.1)}@media (max-width:1200px){.invoice-workspace{grid-template-columns:1fr}.totals-card{position:static}.invoice-line{grid-template-columns:24px 2fr repeat(2,1fr)}.invoice-line>label:nth-of-type(n+4),.line-actions,.line-total{grid-column:span 1}}@media (max-width:700px){.invoice-editor-page .totals-card{position:sticky;z-index:25;bottom:0;max-height:46svh;overflow:auto;box-shadow:0 -12px 30px rgba(40,51,35,.12)}.detail-grid,.detail-metrics,.invoice-details{grid-template-columns:1fr}.invoice-record-heading{display:grid;gap:4px}.invoice-record-heading span{text-align:start}.invoice-line{grid-template-columns:24px 1fr 1fr}.invoice-line .description{grid-column:2/-1}.invoice-document{padding:28px}.invoice-document>header,.invoice-meta{display:grid;gap:25px}.invoice-document{overflow:auto}.invoice-document>footer{grid-template-columns:1fr}.page-number{display:none}}.document-detail-heading,.document-editor-layout,.document-list-page>:where(.table-tools,.pagination,.document-card-list,.document-empty,.admin-form-message),.document-page-head{width:min(100%,1120px);margin-inline:auto}@media (min-width:1101px){.resource-list-page>:where(.table-tools,.resource-result-count){width:min(100%,1120px);margin-inline:auto}}.button-spinner{width:18px;height:18px;display:block;border:2px solid;border-right:2px solid transparent;border-radius:50%;animation:resource-load-spin .7s linear infinite}.document-discount-field,.document-field-grid label,.document-line label{min-width:0;display:grid;gap:8px;color:var(--studio-olive);font-family:var(--font-main);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.document-discount-field input,.document-field-grid input,.document-field-grid select,.document-line input,.document-line textarea{width:100%;min-height:52px;padding:12px 16px;color:var(--ink);background:rgba(244,247,236,.88);border:1px solid rgba(76,99,54,.2);border-radius:17px;outline:0;font-family:var(--font-main);font-size:.9rem;font-weight:500;letter-spacing:0;text-transform:none}.document-discount-field input:focus,.document-field-grid input:focus,.document-field-grid select:focus,.document-line input:focus,.document-line textarea:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.08)}.document-text-field{margin-top:22px}.document-text-field>p{margin:0 0 10px;color:var(--muted);font-family:var(--font-main);font-size:.82rem;font-weight:700}.document-list-page .table-tools{position:relative;gap:10px}.document-list-page .table-menu-group{flex:1}.document-list-page .compact-search-toggle{width:44px;height:44px;flex:0 0 44px;justify-content:center;padding:0}.document-card-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.invoice-card-list{width:min(100%,1120px);margin-inline:auto}.document-summary-list-card .resource-summary-head{margin-bottom:10px}.document-status.draft{color:#66705c;background:#eaf1de}.document-status.sent{color:#655d22;background:#f0ecd0}.document-status.accepted{color:#466221;background:#e5efd7}.document-status.declined{color:#93402b;background:#f4dfd8}.document-summary-list-card .resource-summary-metrics{display:grid;grid-template-columns:1fr 1fr;padding-top:12px;border-top:1px solid var(--studio-line)}.document-summary-list-card .resource-summary-metrics span{display:grid;gap:4px}.document-summary-list-card .resource-summary-metrics span:last-child{text-align:end}.document-empty{display:grid;justify-items:center;gap:14px;padding:54px 24px;text-align:center}.invoice-list-empty{grid-column:1/-1}.document-empty>svg{width:44px;height:44px;color:var(--studio-olive)}.document-empty h2{margin:0;font-size:1.1rem}.document-document{width:min(100%,980px);min-height:1100px;margin:0 auto;padding:84px;color:#283323;background:#f4f7ec;box-shadow:0 20px 48px rgba(45,42,27,.11)}.document-document-header .invoice-brand{gap:21px;color:#4c6336}.document-document-header .invoice-brand>span{width:61px;height:61px;border-color:#4c6336;font-size:.71rem}.document-document-header .invoice-brand strong{font-size:.875rem}.document-document-header .invoice-brand small{font-size:.42rem}.document-document-overview{display:grid;grid-template-columns:1fr 1fr;gap:50px;margin-top:40px}.document-client{display:grid;justify-items:start;gap:4px}.document-client p{margin:0 0 4px;color:#4c6336;font-size:.925rem;font-weight:700}.document-document .document-client>p{justify-self:stretch;text-align:start;white-space:nowrap}.document-client strong{font-size:1.235rem}.document-client span{color:#66705c;font-size:.925rem}.document-document-overview dl{align-self:start;justify-self:end;align-content:start;display:grid;grid-template-columns:max-content max-content;gap:8px 24px;margin:0}.document-document-overview dt{color:#4c6336;font-size:.925rem}.document-document-overview dt,.invoice-meta dt{white-space:nowrap}.document-document-overview dd{margin:0;font-size:.98rem;text-align:end}.document-document h3{margin:0 0 11px;color:#4c6336;font:750 .925rem var(--admin-user-font);letter-spacing:.1em;text-transform:uppercase}.invoice-price-table td:nth-child(2){white-space:pre-wrap;overflow-wrap:anywhere}.invoice-description-paragraph{margin:0;white-space:pre-wrap;text-align:start;unicode-bidi:isolate;letter-spacing:0}.document-document footer{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:16px;margin-top:44px;padding-top:15px;color:#66705c;border-top:1px solid #cbd8b9;font-size:.62rem;letter-spacing:.08em}.document-document footer>:last-child{justify-self:end}.admin-dialog-layer{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:20px;background:rgba(21,21,13,.3)}.admin-dialog{position:relative;width:min(100%,430px);padding:30px;background:#f4f7ec;border:1px solid var(--studio-line);border-radius:24px;box-shadow:0 24px 70px rgba(31,29,17,.22)}.admin-dialog h2{margin:0 0 24px;font-size:1.1rem}.admin-dialog>div{display:flex;justify-content:flex-end;gap:10px}.admin-dialog-close{position:absolute;top:14px;inset-inline-end:14px;width:36px;height:36px;display:grid;place-items:center;padding:0;border:0;border-radius:50%;background:transparent}.admin-dialog-close svg{width:18px}@media (max-width:1100px){.admin-header-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-header-nav a{padding-inline:clamp(8px,2vw,20px)}}@media (max-width:700px){.document-detail-heading .admin-page-title-with-back,.document-page-head .admin-page-title-with-back{font-size:clamp(1.55rem,8vw,2.25rem)}.document-card-list,.document-copy-grid,.document-field-grid{grid-template-columns:1fr}.document-card-title-row .admin-secondary{width:42px;min-width:42px;height:42px;gap:0;padding:0;font-size:0}.document-card-title-row .admin-secondary svg{display:block;margin:0}.document-list-page .table-menu-group{gap:6px}.document-document{min-height:0;padding:30px 24px}.document-document-header .invoice-brand{gap:14px}.document-document-header .invoice-brand>span{width:52px;height:52px;font-size:.9rem}.document-document-header .invoice-brand strong{font-size:.92rem}.document-document-header .invoice-brand small{font-size:.48rem}.document-document-overview{grid-template-columns:1fr;gap:24px;margin-top:34px}}@media (max-width:600px){.admin-header-nav{grid-template-columns:repeat(5,minmax(0,1fr))}.admin-header-nav a{font-size:clamp(.46rem,2vw,.58rem)}}@media (pointer:coarse){.document-discount-field input,.document-field-grid :where(input,select),.document-filter select,.document-line input{font-size:max(16px,1rem)}}.document-editor-page .editor-message{margin:-10px 0 22px;padding:13px 16px;border:1px solid rgba(76,99,54,.2);border-radius:12px;background:#edf3e3;font-size:.78rem}.document-editor-page .document-lines-card,.document-editor-page .document-section-card,.document-editor-page .document-summary-card,.invoice-editor-page .invoice-terms-card{border-color:var(--invoice-line);background:var(--invoice-surface);box-shadow:0 14px 42px rgba(52,69,42,.055)}.document-editor-page .document-lines-card,.document-editor-page .document-section-card,.invoice-editor-page .invoice-terms-card{padding:0;overflow:hidden}:is(.document-editor-page,.invoice-terms-card) .document-section-body{padding:24px}:is(.document-editor-page,.invoice-terms-card) .document-text-field{margin-top:18px}:is(.document-editor-page,.invoice-terms-card) .document-section-body>.document-text-field:first-child{margin-top:0}:is(.document-editor-page,.invoice-terms-card) .document-text-field>p{margin-bottom:8px;color:var(--studio-olive);font:600 .67rem/1.2 var(--font-main);letter-spacing:.08em;text-transform:uppercase}.document-editor-page .document-lines-card .add-line-button{color:#fff;border-color:var(--gold);background:var(--gold)}.document-editor-page .document-lines-card .add-line-button:hover{border-color:var(--mikado);background:var(--mikado)}.document-editor-page .document-line .service-name{grid-column:2}.document-editor-page .document-line .description{grid-column:3}.document-editor-page .document-discount-row .admin-select-trigger{min-height:46px;font:400 .79rem/1.2 var(--font-main)}.document-editor-page .document-summary-card .totals-card-heading{display:flex}@media (max-width:760px){.document-editor-page .editor-actions{width:auto;display:flex}.document-editor-page .editor-actions button{width:auto;margin-top:0}:is(.document-editor-page,.invoice-terms-card) .document-section-body{padding:20px 18px}.document-editor-page .document-line .description,.document-editor-page .document-line .service-name{grid-column:1/-1}}@media (max-width:520px){.document-editor-page .document-line .description,.document-editor-page .document-line .service-name,.document-editor-page .document-line label:nth-of-type(n+3){grid-column:1}}@media (max-width:600px){.settings-page .admin-page-head.compact{display:flex;align-items:center;justify-content:space-between;gap:16px}.settings-page .admin-page-head .settings-save-button{margin-top:0}.admin-page-head.top-level-page-actions{display:flex;align-items:center;justify-content:flex-end}.admin-page-head.top-level-page-actions.dashboard-page-controls{justify-content:flex-start}.top-level-page-actions .admin-primary,.top-level-page-actions .admin-secondary,.top-level-page-actions .period-filter{margin-top:0}}@media screen and (max-width:1100px){body:has(.admin-shell),html:has(.admin-shell){height:100%;overflow:hidden}.admin-shell{height:100vh;height:100dvh;min-height:0;overflow:hidden}.admin-shell .admin-main{height:100%;min-height:0;display:flex;flex-direction:column;overflow:hidden}.admin-shell .admin-topbar{position:relative;top:auto;flex:0 0 auto}.admin-shell .admin-route-stage{height:100%;min-height:0;overflow-x:clip;overflow-y:auto;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}}.admin-shell :where(button,[role=button],input[type=button],input[type=submit],input[type=reset],a.admin-primary,a.admin-secondary,a.admin-delete-trigger){box-shadow:none!important}.admin-shell :where(button,[role=button],input[type=button],input[type=submit],input[type=reset],a.admin-primary,a.admin-secondary,a.admin-delete-trigger):focus-visible{outline:2px solid rgba(76,99,54,.5);outline-offset:2px}.table-tools.has-compact-search{flex-wrap:nowrap}.resource-search{position:relative;width:46px;height:46px;min-width:46px;flex:0 0 46px;transition:width .22s cubic-bezier(.16,1,.3,1),flex-basis .22s cubic-bezier(.16,1,.3,1)}.resource-search.is-expanded{width:min(440px,100%);flex:1 1 440px}.resource-search-bar{width:100%;height:100%;display:flex;align-items:center;overflow:hidden;color:var(--studio-ink);background:rgba(244,247,236,.94);border:1px solid rgba(76,99,54,.2);border-radius:999px;transition:border-color .16s ease,background-color .16s ease}.resource-search-bar:focus-within,.resource-search.is-expanded .resource-search-bar{background:#f4f7ec;border-color:rgba(76,99,54,.42)}.search-activity-icon{flex:0 0 18px;animation:resource-load-spin .8s linear infinite}@media (prefers-reduced-motion:reduce){.search-activity-icon{animation:none;opacity:.65}}.table-tools .resource-search-close,.table-tools .resource-search-trigger{display:grid;place-items:center;flex:0 0 auto;padding:0;color:var(--studio-ink);background:transparent;border:0;border-radius:50%}.table-tools .resource-search-trigger{width:44px;height:44px}.table-tools .resource-search-close{width:30px;height:30px;margin-inline-end:7px;color:var(--muted)}.resource-search-form{min-width:0;height:100%;display:flex;align-items:center;flex:1;opacity:0;pointer-events:none;transition:opacity .1s ease}.resource-search.is-expanded .resource-search-form{opacity:1;pointer-events:auto;transition-delay:70ms}.resource-search-form input{min-width:0;height:100%;flex:1;padding:0 4px;color:var(--studio-ink);background:transparent;border:0;outline:0;font-family:var(--font-main);font-size:.86rem}.resource-search-form input::-webkit-search-cancel-button{display:none;appearance:none;-webkit-appearance:none}@media (max-width:800px){.table-tools.has-compact-search{align-items:center;flex-wrap:nowrap;transition:gap .18s ease}.table-tools.has-compact-search.search-expanded{gap:0}.table-tools.has-compact-search .table-menu-group{width:auto;min-width:0;flex:1 1 auto;max-width:100%;opacity:1;visibility:visible;transform:translateZ(0);transition:max-width .22s cubic-bezier(.16,1,.3,1),opacity .14s ease,transform .22s cubic-bezier(.16,1,.3,1),visibility 0s}.table-tools.has-compact-search:not(.search-expanded) .table-menu-group .table-admin-select{max-width:calc((100% - 56px) / 2)}.table-tools.has-compact-search:not(.search-expanded) .table-menu-group :is(.audit-filter-select,.audit-sort-select){width:max-content;max-width:none;flex:0 0 auto}.table-tools.has-compact-search:not(.search-expanded) .table-menu-group :is(.audit-filter-select,.audit-sort-select) .admin-select-trigger{width:max-content;max-width:none}.table-tools.has-compact-search.search-expanded .resource-search{width:100%;flex:1 1 100%}.table-tools.has-compact-search.search-expanded .table-menu-group{max-width:0;flex-basis:0;gap:0;overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(12px,0,0);transition:max-width .22s cubic-bezier(.16,1,.3,1),opacity .12s ease,transform .18s ease,visibility 0s linear .18s}}@media (max-width:600px){.resource-search-form input{font-size:1rem}}@media (prefers-reduced-motion:reduce){.resource-search,.resource-search-form,.table-tools.has-compact-search,.table-tools.has-compact-search .table-menu-group{transition:none}}.admin-shell .admin-sidebar{display:none}.admin-shell .admin-main{margin-inline-start:0}.admin-shell .admin-topbar{min-height:88px;height:auto;padding:0 clamp(24px,4vw,64px);display:flex;align-items:center;justify-content:flex-start;gap:clamp(12px,1.6vw,24px);background:rgba(225,235,201,.76);backdrop-filter:blur(18px) saturate(1.12);-webkit-backdrop-filter:blur(18px) saturate(1.12)}.admin-shell .admin-header-brand{width:fit-content;max-width:100%;flex:0 0 auto;justify-self:start}.admin-header-nav{min-width:0;display:flex;align-items:stretch;justify-content:center;flex:1 1 auto;gap:clamp(14px,2vw,34px);align-self:stretch}.admin-header-nav a{position:relative;display:inline-flex;align-items:center;justify-content:center;color:var(--muted);font-family:var(--font-main);font-size:clamp(.68rem,.8vw,.78rem);font-weight:650;line-height:1.2;text-align:center;white-space:nowrap}.admin-header-nav a:after{content:"";position:absolute;inset:auto 14% 0;height:3px;background:var(--studio-olive);border-radius:999px 999px 0 0;opacity:0;transform:scaleX(.45);transition:opacity .16s ease,transform .22s cubic-bezier(.22,1,.36,1)}.admin-header-nav a.active,.admin-header-nav a:hover{color:var(--studio-olive)}.admin-header-nav a.active:after{opacity:1;transform:scaleX(1)}.admin-header-logout{width:46px;height:46px;flex:0 0 auto;display:inline-grid;place-items:center;padding:0;color:var(--studio-olive);background:#f4f7ec;border:1px solid var(--studio-line);border-radius:50%;cursor:pointer}.admin-header-logout:disabled{cursor:wait;opacity:.55}.admin-shell .admin-menu{display:none!important}@media (min-width:1101px){.admin-shell .admin-sidebar{display:flex;padding-top:128px}.admin-shell .admin-main{margin-inline-start:250px}.admin-shell .admin-topbar{min-height:88px;height:88px;padding-inline:clamp(20px,3vw,44px);display:flex;align-items:center;justify-content:flex-end;gap:10px}.admin-header-logout,.admin-header-nav{display:none}}@media (max-width:1100px){.admin-shell .admin-topbar{display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand user logout" "navigation navigation navigation";row-gap:10px;padding:16px 28px 0}.admin-shell .admin-header-brand{grid-area:brand}.admin-shell .admin-user{grid-area:user;display:grid;min-width:0;margin-inline:auto 6px;align-self:center}.admin-shell .admin-user strong{max-width:min(24vw,190px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-header-logout{grid-area:logout}.admin-header-nav{grid-area:navigation;width:calc(100% + 56px);min-height:62px;margin-inline:-28px;padding-inline:20px;justify-content:stretch;gap:0;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none;border-top:1px solid var(--studio-line)}.admin-header-nav::-webkit-scrollbar{display:none}.admin-header-nav a{min-width:max-content;flex:1 0 auto;padding:0 clamp(16px,3vw,34px);font-size:.78rem}}@media (max-width:600px){.admin-shell .admin-topbar{height:auto;min-height:0;grid-template-columns:auto minmax(0,1fr) auto;grid-template-areas:"brand user logout" "navigation navigation navigation";column-gap:10px;row-gap:12px;padding:12px 16px 0}.admin-shell .admin-user,.admin-topbar .admin-user{display:block!important;min-width:max-content;margin-inline:auto 2px;align-self:center;text-align:end}.admin-shell .admin-user strong,.admin-topbar .admin-user strong{display:block;max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap;font-size:.68rem}.admin-shell .admin-user span,.admin-topbar .admin-user span{display:none}.admin-shell .admin-header-brand{min-width:0;margin:0;overflow:hidden}.admin-header-nav{width:calc(100% + 32px);min-height:52px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-inline:-16px;padding-inline:6px;overflow:hidden}.admin-header-nav a{min-width:0;width:100%;padding-inline:2px;overflow:hidden;font-size:clamp(.52rem,2.35vw,.64rem);text-overflow:clip}.admin-header-logout{width:44px;height:44px}}.admin-shell{--gold:#4c6336;--muted:#66705c;--studio-olive:#4c6336;--studio-olive-soft:#d4e2bc;--studio-olive-mist:#edf3e3}.account-page,.admin-shell,.auth-page{background:#e1ebc9}.admin-sidebar{color:#283323;background:rgba(244,247,236,.98);border-inline-end:1px solid rgba(76,99,54,.18);box-shadow:12px 0 42px rgba(52,69,42,.05)}.admin-brand{border-color:rgba(76,99,54,.16)}.admin-brand button{color:#283323}.admin-sidebar nav a{color:#66705c;border:0;border-radius:14px}.admin-sidebar nav a.active,.admin-sidebar nav a:hover{color:#34452a;background:#d4e2bc}.back-site{color:#4c6336;border-radius:14px}.back-site:hover{background:#edf3e3}.admin-sidebar-actions{display:grid;gap:6px;margin-top:auto}.admin-logout{width:100%;border:0;text-align:start;cursor:pointer}.admin-logout:disabled{cursor:wait;opacity:.6}.admin-login-form .button{min-width:180px}.admin-topbar{height:76px;background:rgba(225,235,201,.9);border-color:rgba(76,99,54,.14);backdrop-filter:blur(18px)}.admin-menu{border-radius:999px}.admin-page-head h1,.auth-panel h1{color:#283323;font-family:var(--font-main);font-weight:400}.admin-primary,.admin-secondary,.custom-range input,.login-form input,.pagination button,.period-filter,.table-tool-select,.table-tools .table-search,.table-tools button{border-radius:999px}.admin-primary,.admin-secondary{--studio-olive:var(--brand-brown);min-height:44px;justify-content:center;padding-inline:20px;border-color:var(--brand-brown);font-weight:600;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.admin-primary{color:white;background:var(--brand-brown);box-shadow:0 8px 18px rgba(114,66,28,.18)}.admin-secondary{color:var(--brand-brown);background:#f4f7ec}.admin-primary:hover,.admin-secondary:hover{transform:translateY(-1px);box-shadow:0 10px 24px rgba(114,66,28,.12)}.admin-card,.admin-table-wrap,.metric-card{border-color:rgba(76,99,54,.14);border-radius:20px;box-shadow:0 10px 30px rgba(52,69,42,.05)}.admin-card,.metric-card{background:color-mix(in srgb,var(--brand-green) 35%,white)}.admin-table-wrap{overflow:auto}.admin-table-wrap th{color:#4c6336;background:var(--studio-olive-soft)}.custom-range input,.period-filter,.table-tool-select,.table-tools .table-search,.table-tools button{border-color:rgba(76,99,54,.2);background:rgba(244,247,236,.9)}.status{padding:6px 10px}.login-form input{padding:14px 18px;border:1px solid rgba(76,99,54,.22);background:#f4f7ec}.account-nav{color:#283323;background:rgba(244,247,236,.94);border-bottom:1px solid rgba(76,99,54,.14)}.account-nav button{color:#4c6336}@media (max-width:900px){.admin-sidebar{box-shadow:18px 0 50px rgba(52,69,42,.16)}}@media (max-width:480px){.admin-topbar{padding-inline:14px;gap:10px}}@media (max-width:800px){.table-tools{align-items:stretch;flex-wrap:wrap}.table-tools .table-search{min-width:0;flex:1 0 100%}.table-tools .table-menu-group{width:100%;flex:1 0 100%;justify-content:flex-start}.table-menu-group .table-admin-select{width:fit-content;min-width:0;max-width:calc((100% - 8px) / 2);flex:0 1 auto}}@media (prefers-reduced-motion:reduce){.admin-primary,.admin-secondary{transition:none}}.admin-topbar{position:sticky;z-index:40;top:0;height:88px;min-height:88px;padding-inline:clamp(20px,3vw,44px);gap:10px;color:var(--studio-ink);background:rgba(225,235,201,.92);border-bottom:1px solid var(--studio-line);box-shadow:0 8px 30px rgba(40,51,35,.04);backdrop-filter:blur(20px)}.admin-topbar .admin-user{display:grid;margin-inline-start:auto;margin-inline-end:6px;text-align:end}.admin-topbar .admin-user strong{color:var(--studio-ink);font-size:.72rem;font-weight:500;letter-spacing:.025em}.admin-topbar .admin-user span{margin-top:3px;color:var(--studio-muted);font-size:.56rem;font-weight:500;letter-spacing:.12em;text-transform:uppercase}.admin-header-brand{display:inline-flex;align-items:center;flex:0 0 auto;color:var(--studio-olive)}.admin-header-brand .brand-logo{color:inherit}.admin-header-brand .brand-monogram{width:48px;min-width:48px;max-width:48px;height:48px;min-height:48px;max-height:48px;flex:0 0 48px;aspect-ratio:1}.admin-menu{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;flex:0 0 44px;padding:0;color:var(--studio-ink);background:rgba(244,247,236,.74);border:1px solid var(--studio-line);border-radius:50%;box-shadow:0 4px 14px rgba(40,51,35,.035);transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.admin-menu:hover{background:#f4f7ec;border-color:rgba(76,99,54,.3);box-shadow:0 6px 18px rgba(40,51,35,.07)}.admin-route-stage{width:100%;min-height:inherit;background:#e1ebc9;backface-visibility:hidden;-webkit-backface-visibility:hidden;transform:translateZ(0)}.admin-route-loading{width:100%;min-height:min(58vh,520px);display:grid;place-content:center;justify-items:center;gap:12px;color:var(--studio-olive);background:#e1ebc9}.admin-route-loading-mark{position:relative;width:58px;height:58px;display:grid;place-items:center;border:1px solid rgba(76,99,54,.18);border-radius:50%;background:rgba(244,247,236,.66)}.admin-route-loading-ring{position:absolute;inset:-1px;border:2px solid transparent;border-block-start-color:var(--studio-olive);border-inline-end-color:rgba(76,99,54,.5);border-radius:inherit;will-change:transform}.admin-route-loading-monogram{font-family:var(--font-main);font-size:.72rem;font-weight:600;letter-spacing:-.08em;transform:translateX(-.03em)}.admin-route-loading p{margin:0;color:var(--studio-muted);font-size:.82rem;font-weight:600;letter-spacing:.02em}@media (prefers-reduced-motion:reduce){.admin-route-loading-ring{border-color:rgba(76,99,54,.34);border-block-start-color:var(--studio-olive)}}.admin-route-enter-positive{animation:admin-route-enter-positive .34s cubic-bezier(.32,.72,0,1) both}.admin-route-enter-negative{animation:admin-route-enter-negative .34s cubic-bezier(.32,.72,0,1) both}@keyframes admin-route-enter-positive{0%{transform:translate3d(36px,0,0)}to{transform:translateZ(0)}}@keyframes admin-route-enter-negative{0%{transform:translate3d(-36px,0,0)}to{transform:translateZ(0)}}.admin-page-back-button{order:-1;width:40px;min-width:40px;max-width:40px;height:40px;min-height:40px;max-height:40px;display:inline-grid;place-items:center;padding:0;color:var(--studio-olive);border:1px solid rgba(76,99,54,.22);border-radius:50%;background:rgba(244,247,236,.72);box-shadow:0 5px 16px rgba(40,51,35,.04);font-size:.7rem;font-weight:600;transition:transform .16s ease,background-color .16s ease,border-color .16s ease,box-shadow .16s ease}.admin-page-back-button:hover{transform:translateY(-1px);background:#f4f7ec;border-color:rgba(76,99,54,.38);box-shadow:0 8px 20px rgba(40,51,35,.07)}.admin-page-title-with-back{display:flex;align-items:center;flex-wrap:wrap;gap:12px}@media (max-width:900px){.admin-topbar{justify-content:flex-start}.admin-menu{display:inline-grid;place-items:center;margin-inline-end:0}}@media (max-width:600px){.admin-topbar{height:78px;min-height:78px;padding-inline:20px}.admin-topbar .admin-user{display:block;min-width:0}.admin-header-brand{margin-inline-end:auto}.admin-header-brand .brand-monogram{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px;flex-basis:44px}}@media (max-width:900px){.admin-topbar{background:#e1ebc9;backdrop-filter:none;-webkit-backdrop-filter:none}.admin-sidebar{position:fixed;z-index:35;inset:88px 0 auto;width:100%;height:auto;min-height:0;max-height:calc(100svh - 88px);padding:20px 28px 26px;display:block;overflow-y:auto;color:var(--studio-ink);background:var(--studio-porcelain);border:0;border-bottom:1px solid var(--studio-line);box-shadow:none;opacity:0;visibility:hidden;pointer-events:none;transform:translate3d(0,-14px,0) scale(.995);transform-origin:top center;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform,opacity;transition:opacity .18s ease,transform .28s cubic-bezier(.32,.72,0,1),visibility 0s linear .28s}.admin-sidebar.open{opacity:1;visibility:visible;pointer-events:auto;transform:translateZ(0) scale(1);transition-delay:0s}.admin-sidebar .admin-brand{display:none}.admin-sidebar nav{gap:0;margin:0}.admin-sidebar nav a{min-height:54px;padding:12px 0;gap:0;color:var(--studio-ink);background:transparent;border:0;border-bottom:1px solid var(--studio-line);border-radius:0;font-size:1rem}.admin-sidebar nav a svg{display:none}.admin-sidebar nav a.active,.admin-sidebar nav a:hover{color:var(--studio-olive);background:transparent;border-color:var(--studio-line)}.admin-sidebar-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:18px}.admin-sidebar-actions .back-site{min-height:48px;margin:0;padding:10px 16px;justify-content:center;color:var(--studio-ink);background:#f4f7ec;border:1px solid var(--studio-line);border-radius:999px}.admin-sidebar-actions .back-site:hover{color:var(--studio-olive);background:#f4f7ec}}@media (max-width:600px){.admin-sidebar{inset-block-start:78px;max-height:calc(100svh - 78px);padding:20px 20px 24px}.admin-sidebar nav a{min-height:52px}.admin-sidebar-actions{grid-template-columns:1fr}}@media (prefers-reduced-motion:reduce){.admin-route-enter-negative,.admin-route-enter-positive{animation:none}.admin-sidebar{transition-duration:1ms}}.invoice-editor-page{--invoice-surface:#f4f7ec;--invoice-soft:#edf3e3;--invoice-line:rgba(76,99,54,0.18)}.invoice-editor-page .admin-page-head{margin-bottom:26px}.invoice-editor-page .admin-page-head>div:first-child{max-width:620px}.invoice-editor-page .editor-message{margin:-10px 0 22px;padding:13px 16px;border:1px solid rgba(76,99,54,.2);border-radius:12px;background:#edf3e3;font-size:.78rem}.invoice-editor-page .invoice-workspace{grid-template-columns:minmax(0,1fr) 340px;gap:20px}.invoice-editor-page .invoice-form-column{min-width:0}.invoice-editor-page .invoice-details,.invoice-editor-page .line-editor,.invoice-editor-page .totals-card{border-color:var(--invoice-line);background:var(--invoice-surface);box-shadow:0 14px 42px rgba(52,69,42,.055)}.invoice-editor-page .invoice-details{display:block;padding:0;overflow:hidden}.invoice-card-heading,.totals-card-heading{display:flex;align-items:center;gap:12px}.invoice-card-heading{padding:22px 24px;border-bottom:1px solid var(--invoice-line)}.invoice-card-icon{width:42px;height:42px;flex:0 0 auto;display:grid;place-items:center;color:var(--studio-olive);border:1px solid var(--invoice-line);border-radius:50%;background:var(--invoice-soft)}.invoice-card-heading p,.line-editor>header p,.totals-card-heading p{margin:0 0 3px;color:var(--studio-olive);font:500 .61rem/1.2 var(--font-main);letter-spacing:.12em;text-transform:uppercase}.invoice-card-heading h2,.invoice-editor-page .line-editor h2,.totals-card-heading h2{margin:0;color:var(--studio-ink);font-family:var(--font-main);font-size:1.35rem;font-weight:400;line-height:1.05}.invoice-record-note{max-width:230px;margin-inline-start:auto;color:var(--muted);font-size:.67rem;line-height:1.45;text-align:end}.invoice-details-grid{display:grid;grid-template-columns:minmax(0,1fr)}.invoice-field-group{min-width:0;padding:24px}.invoice-schedule{background:var(--invoice-soft)}.invoice-section-label{min-height:22px;display:flex;align-items:center;gap:7px;margin:0 0 14px;color:var(--studio-olive);font:500 .67rem/1.2 var(--font-main);letter-spacing:.08em;text-transform:uppercase}.invoice-record-toolbar{min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.invoice-record-toolbar .invoice-section-label{flex:0 0 auto;margin:0}.invoice-record-picker-trigger{min-width:0;max-width:min(68%,310px);min-height:38px;overflow:hidden;padding-inline:13px;color:var(--studio-ink);background:var(--invoice-soft);border:1px solid rgba(76,99,54,.2);border-radius:999px;font-family:var(--font-main);font-size:.76rem;font-weight:650;letter-spacing:normal;text-overflow:ellipsis;white-space:nowrap;cursor:pointer}.invoice-record-picker-trigger.admin-primary{color:#fff;background:var(--studio-olive);border-color:var(--studio-olive)}.invoice-record-picker-trigger:focus-visible{outline:0;border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.1)}.invoice-record-picker-trigger:disabled{opacity:.55;cursor:not-allowed}.record-picker-layer{position:fixed;z-index:1200;inset:0;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:rgba(225,235,201,.18)}.record-picker-popup{width:min(520px,100%);max-height:min(680px,calc(100dvh - 32px));display:grid;grid-template-rows:auto auto minmax(0,1fr);overflow:hidden;padding:20px;color:var(--studio-ink);background:#f4f7ec;border:1px solid rgba(76,99,54,.2);border-radius:26px;box-shadow:0 28px 70px rgba(44,39,17,.22)}.record-picker-popup>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}.record-picker-popup>header p{margin:0 0 3px;color:var(--studio-olive);font:600 .65rem/1.2 var(--font-main);letter-spacing:.08em;text-transform:uppercase}.record-picker-popup>header h2{margin:0;font-size:1.45rem;font-weight:600}.record-picker-popup>header button{width:40px;height:40px;flex:0 0 auto;display:grid;place-items:center;color:var(--studio-ink);background:#f4f7ec;border:1px solid var(--invoice-line);border-radius:50%;cursor:pointer}.record-picker-search{min-width:0;min-height:50px;display:flex;align-items:center;gap:10px;padding-inline:15px;background:#f4f7ec;border:1px solid var(--invoice-line);border-radius:17px}.record-picker-search:focus-within{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.1)}.record-picker-search input{width:100%;min-width:0;padding:13px 0;color:var(--studio-ink);background:transparent;border:0;outline:0;font-family:var(--font-main);font-size:1rem}.record-picker-results{min-height:0;display:grid;align-content:start;gap:9px;margin:11px -2px -2px;padding:2px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.record-picker-results>button{width:100%;min-width:0;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:12px 13px;color:var(--studio-ink);background:rgba(244,247,236,.9);border:1px solid rgba(76,99,54,.16);border-radius:17px;box-shadow:0 6px 16px rgba(52,69,42,.045);text-align:start;cursor:pointer;transition:border-color .16s ease,background .16s ease,box-shadow .16s ease,transform .16s ease}.record-picker-results>button:focus-visible,.record-picker-results>button:hover{outline:0;border-color:rgba(76,99,54,.34);background:#f4f7ec;box-shadow:0 10px 24px rgba(52,69,42,.08);transform:translateY(-1px)}.record-picker-results>button.is-selected{border-color:rgba(76,99,54,.35);background:var(--invoice-soft);box-shadow:0 8px 20px rgba(76,99,54,.09)}.record-picker-results>button>span:first-child{min-width:0;display:grid;gap:3px}.record-picker-results small,.record-picker-results strong{overflow:hidden;font-family:var(--font-main);text-overflow:ellipsis;white-space:nowrap}.record-picker-results strong{font-size:.88rem}.record-picker-phone,.record-picker-results small{color:var(--muted);font-size:.74rem}.record-picker-phone{font-family:var(--font-main);font-weight:650}.record-picker-empty{padding:42px 16px;color:var(--muted);text-align:center}.record-picker-loading{padding:12px 16px 8px;color:var(--muted);font-size:.78rem;text-align:center}@media (max-width:600px){.record-picker-layer{align-items:end}.record-picker-popup{max-height:min(72dvh,620px);padding:18px 16px;border-radius:24px}.record-picker-results>button{grid-template-columns:minmax(0,1fr) auto}.record-picker-results>button>svg{display:none}.record-picker-phone{max-width:120px}}.invoice-field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.invoice-schedule .invoice-field-grid{grid-template-columns:1fr;gap:10px}.admin-date-field{display:grid;min-width:0;gap:7px;color:#66705c;font:500 .63rem/1.2 var(--font-main);letter-spacing:.07em}.admin-date-field-label{text-transform:uppercase}.invoice-editor-page .invoice-details label,.invoice-editor-page .invoice-line label{gap:7px;color:#66705c;font:500 .63rem/1.2 var(--font-main);letter-spacing:.07em}.invoice-editor-page .invoice-details input,.invoice-editor-page .invoice-details select,.invoice-editor-page .invoice-line input,.invoice-editor-page .invoice-line select,.invoice-editor-page .invoice-line textarea{min-height:46px;padding:11px 13px;color:var(--studio-ink);border:1px solid rgba(76,99,54,.2);border-radius:11px;background:#f4f7ec;font:400 .79rem/1.2 var(--font-main);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.invoice-editor-page .invoice-details input:focus,.invoice-editor-page .invoice-details select:focus,.invoice-editor-page .invoice-line input:focus,.invoice-editor-page .invoice-line select:focus,.invoice-editor-page .invoice-line textarea:focus{border-color:var(--studio-olive);background:#f4f7ec;box-shadow:0 0 0 3px rgba(76,99,54,.1)}.document-editor-page .document-line textarea,.invoice-editor-page .invoice-line textarea{min-width:0;min-height:46px;height:46px;resize:vertical;line-height:1.5}.admin-date-picker-trigger{width:100%;max-width:100%;min-height:46px;min-width:0;box-sizing:border-box;padding:11px 13px;overflow:hidden;color:var(--studio-ink);border:1px solid rgba(76,99,54,.2);border-radius:11px;background:#f4f7ec;font:400 .79rem/1.2 var(--font-main);font-variant-numeric:tabular-nums;text-align:start;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:border-color .16s ease,box-shadow .18s ease,background-color .18s ease}.admin-date-picker-trigger:hover{border-color:rgba(76,99,54,.36)}.admin-date-picker-trigger:focus-visible,.admin-date-picker-trigger[aria-expanded=true]{border-color:var(--studio-olive);background:#f4f7ec;outline:none;box-shadow:0 0 0 3px rgba(76,99,54,.1)}.admin-date-picker-layer{position:fixed;z-index:180;inset:0;background:transparent}.admin-date-picker-popover{position:fixed;z-index:181;display:grid;gap:13px;padding:17px;overflow:auto;overscroll-behavior:contain;color:var(--studio-ink);border:1px solid rgba(76,99,54,.18);border-radius:24px;background:#f4f7ec;box-shadow:0 24px 70px rgba(40,51,35,.24);transform-origin:bottom center;backface-visibility:hidden;-webkit-backface-visibility:hidden}.admin-date-picker-popover.is-below{transform-origin:top center}.admin-date-picker-popover.is-center{transform-origin:center}.admin-date-picker-footer,.admin-date-picker-head,.admin-date-picker-nav{display:flex;align-items:center}.admin-date-picker-head{justify-content:space-between;gap:14px}.admin-date-picker-head>div{display:grid;gap:4px}.admin-date-picker-head span{color:var(--studio-olive);font:600 .59rem/1 var(--font-main);letter-spacing:.12em;text-transform:uppercase}.admin-date-picker-head strong{font:400 1.45rem/1.1 Bodoni\ 72,Didot,Iowan Old Style,Georgia,serif}.admin-date-picker-close,.admin-date-picker-nav button{width:36px;height:36px;display:grid;flex:0 0 auto;place-items:center;padding:0;color:var(--studio-olive);border:1px solid rgba(76,99,54,.18);border-radius:50%;background:#f4f7ec;cursor:pointer}.admin-date-picker-nav{justify-content:space-between;gap:10px}.admin-date-picker-period{min-width:0;display:flex;align-items:center;justify-content:center;gap:3px}.admin-date-picker-nav .admin-date-picker-period button{width:auto;height:34px;min-width:0;padding:0 9px;overflow:hidden;color:var(--studio-ink);border-color:transparent;border-radius:999px;background:transparent;font-size:.76rem;font-weight:600;text-align:center;text-overflow:ellipsis;white-space:nowrap;transition:color .14s ease,background-color .14s ease}.admin-date-picker-nav .admin-date-picker-period button.is-active,.admin-date-picker-nav .admin-date-picker-period button:focus-visible,.admin-date-picker-nav .admin-date-picker-period button:hover{color:var(--studio-olive);background:var(--studio-olive-soft);outline:none}.admin-date-picker-days,.admin-date-picker-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.admin-date-picker-days-viewport{position:relative;aspect-ratio:7/6;overflow:hidden;touch-action:pan-y;user-select:none;-webkit-user-select:none}.admin-date-picker-days{position:absolute;inset:0;contain:layout paint style;backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform}.admin-date-picker-days.is-entering-from-right{animation:admin-calendar-month-from-right .34s cubic-bezier(.2,.65,.25,1) both}.admin-date-picker-days.is-entering-from-left{animation:admin-calendar-month-from-left .34s cubic-bezier(.2,.65,.25,1) both}@keyframes admin-calendar-month-from-right{0%{transform:translate3d(48px,0,0)}}@keyframes admin-calendar-month-from-left{0%{transform:translate3d(-48px,0,0)}}.admin-date-picker-weekdays span{min-height:24px;display:grid;place-items:center;color:var(--muted);font-size:.62rem;font-weight:600}.admin-date-picker-days button{aspect-ratio:1;min-width:0;display:grid;place-items:center;padding:0;color:var(--studio-ink);border:1px solid transparent;border-radius:50%;background:transparent;font:500 .72rem/1 var(--font-main);cursor:pointer;transition:transform .14s ease,color .14s ease,border-color .14s ease,background-color .14s ease}.admin-date-picker-days button:focus-visible,.admin-date-picker-days button:hover{color:var(--studio-olive);border-color:rgba(76,99,54,.24);background:var(--studio-olive-soft);outline:none;transform:scale(1.04)}.admin-date-picker-days button.is-outside{color:rgba(98,97,82,.42)}.admin-date-picker-days button.is-today{border-color:rgba(76,99,54,.42)}.admin-date-picker-days button.is-selected{color:#fff;border-color:var(--studio-olive);background:var(--studio-olive);box-shadow:0 7px 16px rgba(76,99,54,.2)}.admin-date-picker-months,.admin-date-picker-years{min-height:260px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-content:center;gap:8px}.admin-date-picker-years-viewport{min-height:260px;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}.admin-date-picker-years{backface-visibility:hidden;-webkit-backface-visibility:hidden;will-change:transform}.admin-date-picker-years.is-entering-from-top{animation:admin-calendar-years-from-top .34s cubic-bezier(.2,.65,.25,1) both}.admin-date-picker-years.is-entering-from-bottom{animation:admin-calendar-years-from-bottom .34s cubic-bezier(.2,.65,.25,1) both}@keyframes admin-calendar-years-from-top{0%{transform:translate3d(0,-40px,0)}}@keyframes admin-calendar-years-from-bottom{0%{transform:translate3d(0,40px,0)}}.admin-date-picker-months button,.admin-date-picker-years button{min-width:0;min-height:52px;padding:7px;overflow:hidden;color:var(--studio-ink);border:1px solid rgba(76,99,54,.14);border-radius:14px;background:#f4f7ec;font:500 .7rem/1.15 var(--font-main);text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:transform .14s ease,color .14s ease,border-color .14s ease,background-color .14s ease}.admin-date-picker-months button:focus-visible,.admin-date-picker-months button:hover,.admin-date-picker-years button:focus-visible,.admin-date-picker-years button:hover{color:var(--studio-olive);border-color:rgba(76,99,54,.28);background:var(--studio-olive-soft);outline:none;transform:translateY(-1px)}.admin-date-picker-months button.is-selected,.admin-date-picker-years button.is-selected{color:#fff;border-color:var(--studio-olive);background:var(--studio-olive);box-shadow:0 7px 16px rgba(76,99,54,.18)}.admin-date-picker-footer{justify-content:flex-end;padding-top:2px}.admin-date-picker-footer button{min-height:38px;padding:0 17px;color:var(--studio-olive);border:1px solid rgba(76,99,54,.22);border-radius:999px;background:var(--studio-olive-soft);font-size:.72rem;font-weight:600;cursor:pointer}.invoice-editor-page .line-editor{overflow:hidden}.invoice-editor-page .invoice-packaging-editor .recipe-editor-head,.invoice-editor-page .line-editor>header{min-height:82px;padding:19px 22px;border-color:var(--invoice-line)}.invoice-editor-page .invoice-line{grid-template-columns:38px minmax(135px,.8fr) minmax(175px,1.2fr) minmax(82px,.55fr) minmax(96px,.7fr) 42px;gap:9px;padding:16px;border-color:var(--invoice-line);background:#f4f7ec}@media (min-width:761px){.document-editor-page .document-line,.invoice-editor-page .invoice-line{align-items:start}}.invoice-editor-page .invoice-line-number{grid-column:1;grid-row:1/3;width:34px;height:34px;display:grid;place-items:center;align-self:center;color:var(--studio-olive);background:var(--studio-olive-soft);border-radius:50%;font-size:.7rem;font-weight:750}.invoice-editor-page .invoice-line .service-name{grid-column:2}.invoice-editor-page .invoice-line .description{grid-column:3}.invoice-editor-page .invoice-line>label:nth-of-type(3){grid-column:4}.invoice-editor-page .invoice-line>label:nth-of-type(4){grid-column:5}.invoice-editor-page .invoice-line .admin-select-field{grid-column:2}.invoice-editor-page .invoice-line>label:nth-of-type(5){grid-column:3}.invoice-editor-page .invoice-line .line-total{grid-column:4/6}.invoice-editor-page .invoice-line .line-actions{grid-column:6;grid-row:1/3;align-self:center}.invoice-editor-page .line-total{min-width:0;padding-bottom:10px}.invoice-editor-page .line-total span{margin-bottom:6px;color:#66705c;font:500 .57rem/1.2 var(--font-main);letter-spacing:.06em}.invoice-editor-page .line-total strong{display:block;overflow-wrap:anywhere;font-size:.73rem}.invoice-editor-page .line-actions{padding-bottom:5px}.invoice-editor-page .line-actions button{border-radius:8px}.invoice-editor-page .line-actions button:hover:not(:disabled){background:var(--invoice-soft)}.invoice-editor-page .add-line-button{color:#fff;border-color:var(--gold);background:var(--gold)}.invoice-editor-page .add-line-button:hover{border-color:var(--mikado);background:var(--mikado)}.invoice-editor-page .totals-card{top:96px;padding:0;overflow:hidden}.totals-card-heading{padding:20px;border-bottom:1px solid var(--invoice-line)}.totals-card-heading .status{margin-inline-start:auto}.totals-card-body{padding:8px 20px 20px}.totals-list p{display:flex;justify-content:space-between;gap:16px;margin:0;padding:11px 0;border-bottom:1px solid var(--invoice-line);color:#66705c;font-size:.73rem}.totals-list strong{color:var(--studio-ink);text-align:end}.invoice-grand-total{margin:18px 0 8px;padding:18px 0}.invoice-grand-total span{display:block;margin-bottom:5px;color:var(--studio-olive);font:500 .61rem/1.2 var(--font-main);letter-spacing:.1em;text-transform:uppercase}.invoice-grand-total strong{display:block;color:var(--studio-ink);font-family:var(--font-main);font-size:2rem;font-weight:400;line-height:1.05;overflow-wrap:anywhere}.invoice-confirmation-backdrop{position:fixed;z-index:120;inset:0;display:grid;place-items:center;padding:22px;background:rgba(40,51,35,.5);backdrop-filter:blur(8px)}.invoice-confirmation{width:min(100%,430px);padding:30px;color:var(--studio-ink);text-align:center;border:1px solid var(--invoice-line);border-radius:22px;background:#f4f7ec;box-shadow:0 30px 90px rgba(40,51,35,.22)}.invoice-confirmation .invoice-card-icon{margin:0 auto 15px}.invoice-confirmation .invoice-card-icon.destructive{color:var(--admin-danger,#8a3e2a);background:var(--admin-danger-soft,#f7e8e2);border-color:rgba(138,62,42,.18)}.invoice-confirmation>p{margin:0 0 5px;color:var(--studio-olive);font:500 .62rem/1.2 var(--font-main);letter-spacing:.12em;text-transform:uppercase}.invoice-confirmation h2{margin:0 0 10px;font:400 2rem/1.05 Bodoni\ 72,Didot,Iowan Old Style,Georgia,serif}.invoice-confirmation>span:not(.invoice-card-icon){display:block;color:var(--muted);font-size:.78rem;line-height:1.6}.invoice-confirmation>div{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.invoice-confirmation>div button{justify-content:center;border-radius:999px}.admin-danger{min-height:42px;padding:0 16px;color:#fff;border:1px solid var(--admin-danger,#8a3e2a);background:var(--admin-danger,#8a3e2a);cursor:pointer}.admin-delete-trigger{min-height:44px;display:inline-flex;align-items:center;gap:8px;padding:0 18px;color:#fff;background:var(--admin-danger);border:1px solid var(--admin-danger);border-radius:999px;font-size:.76rem;font-weight:650;box-shadow:0 8px 18px rgba(138,62,42,.18);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.admin-delete-trigger:focus-visible,.admin-delete-trigger:hover{color:#fff;background:#733322;border-color:#733322;outline:0;transform:translateY(-1px);box-shadow:0 10px 24px rgba(138,62,42,.24)}.invoice-confirmation .delete-resource-error{margin-top:12px;color:var(--admin-danger,#8a3e2a);font-weight:650}.admin-danger:disabled,.admin-delete-trigger:disabled{opacity:.55;cursor:wait}@media (max-width:1280px){.invoice-editor-page .invoice-workspace{grid-template-columns:1fr}.invoice-editor-page .totals-card{position:static}}@media (max-width:760px){.invoice-editor-page .admin-page-head.compact{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px}.invoice-editor-page .editor-actions{width:auto;display:flex}.invoice-editor-page .editor-actions button{width:auto;margin-top:0}.invoice-card-heading{display:grid;grid-template-columns:42px minmax(0,1fr);padding:19px 18px}.invoice-card-heading h2,.invoice-editor-page .line-editor h2,.totals-card-heading h2{font-size:1.2rem}.invoice-record-note{grid-column:1/-1;max-width:none;margin:1px 0 0 54px;text-align:start}.invoice-details-grid{grid-template-columns:1fr}.invoice-field-group{padding:20px 18px}.invoice-schedule{border:0}.invoice-schedule .invoice-field-grid{grid-template-columns:1fr;gap:10px}.invoice-editor-page .invoice-packaging-editor .recipe-editor-head,.invoice-editor-page .line-editor>header{min-height:74px;padding:15px 17px}.invoice-editor-page .invoice-line{position:relative;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px 10px;margin:12px;padding:62px 17px 17px;border:1px solid var(--invoice-line);border-radius:15px;background:#f4f7ec}.invoice-editor-page .invoice-line:last-child{margin-bottom:12px}.invoice-editor-page .invoice-line .description,.invoice-editor-page .invoice-line .service-name{grid-column:1/-1}.invoice-editor-page .invoice-line .admin-select-field,.invoice-editor-page .invoice-line .line-actions,.invoice-editor-page .invoice-line .line-total,.invoice-editor-page .invoice-line>label:nth-of-type(n+3){grid-column:auto;grid-row:auto}.invoice-editor-page .invoice-line>.invoice-line-number{position:absolute;top:17px;inset-inline-start:17px;grid-column:auto;grid-row:auto}.invoice-editor-page .line-total{align-self:end;padding:0 0 3px}.invoice-editor-page .line-actions{position:absolute;top:15px;inset-inline-end:17px;align-self:auto;justify-content:flex-end;padding:0}.invoice-editor-page .line-actions button{width:34px;height:38px;border:1px solid var(--invoice-line)}.invoice-editor-page .totals-card{position:static;z-index:auto;bottom:auto;max-height:none;overflow:hidden;box-shadow:0 14px 42px rgba(52,69,42,.055)}}@media (max-width:520px){.invoice-editor-page .invoice-field-grid{grid-template-columns:1fr}.invoice-editor-page .invoice-schedule .invoice-field-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.invoice-editor-page .invoice-schedule{padding-inline:14px}.admin-date-picker-trigger{min-height:48px;padding-inline:10px;font-size:.82rem}.invoice-editor-page .invoice-line{grid-template-columns:1fr}.invoice-editor-page .invoice-line .admin-select-field,.invoice-editor-page .invoice-line .description,.invoice-editor-page .invoice-line .service-name,.invoice-editor-page .line-actions,.invoice-editor-page .line-total{grid-column:1}.invoice-editor-page .line-total{padding-top:3px}.totals-card-heading{padding:18px}.totals-card-body{padding-inline:18px}.invoice-grand-total strong{font-size:1.75rem}}@media (hover:none) and (pointer:coarse){.admin-shell .admin-main input:not([type=checkbox]):not([type=radio]),.admin-shell .admin-main select,.admin-shell .admin-main textarea{font-size:16px}}.admin-shell .admin-main input:not([type=checkbox]):not([type=radio]),.admin-shell .admin-main textarea,.admin-shell .admin-table-wrap tbody td,.admin-shell .admin-user-text,.admin-shell .detail-grid p,.admin-shell .detail-list dd,.admin-shell .invoice-document .invoice-meta dd,.admin-shell .invoice-document .invoice-meta p,.admin-shell .invoice-document .invoice-meta strong,.admin-shell .invoice-document tbody td,.admin-shell .invoice-document>footer p,.admin-shell .invoice-summary-booking,.admin-shell .invoice-summary-meta,.admin-shell .resource-summary-contact,.admin-shell .resource-summary-head small,.admin-shell .resource-summary-title{font-family:var(--font-main);letter-spacing:normal}.resource-card-list{display:grid;gap:10px}.record-card-list{width:min(100%,1120px);margin-inline:auto}.record-card-list .resource-card-empty{grid-column:1/-1}@media (min-width:601px){.record-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}}.resource-load-more{min-height:64px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--admin-muted,#66705c);font-weight:700}.resource-load-spinner{width:24px;height:24px;border:2px solid color-mix(in srgb,var(--admin-olive,#3c502a) 22%,transparent);border-top-color:var(--admin-olive,#3c502a);border-radius:50%;animation:resource-load-spin .7s linear infinite}.resource-load-more button{border:0;background:transparent;color:var(--admin-olive,#3c502a);font:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}@keyframes resource-load-spin{to{transform:rotate(1turn)}}.resource-summary-card{display:block;padding:14px 18px;color:var(--ink);text-decoration:none;background:rgba(244,247,236,.9);border:1px solid rgba(76,99,54,.15);border-radius:20px;box-shadow:0 9px 24px rgba(52,69,42,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.resource-summary-card:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.resource-summary-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.record-summary-card .resource-summary-head{align-items:center}.resource-summary-head>div{display:grid;min-width:0;gap:5px}.invoice-summary-dates,.resource-summary-contact,.resource-summary-head small,.resource-summary-overline{color:var(--muted)}.resource-summary-overline{font-size:.74rem}.resource-summary-title{overflow-wrap:anywhere;font-size:.96rem;line-height:1.25}.invoice-summary-card .resource-summary-title{font-size:1rem;line-height:1.25}.document-summary-list-card .invoice-summary-date,.invoice-summary-card .invoice-summary-date{color:var(--muted);font-size:.72rem;font-weight:500;font-variant-numeric:tabular-nums}.invoice-summary-identity{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 10px;font-size:.82rem;line-height:1.35}.invoice-summary-identity small{color:var(--muted);font-size:.72rem;font-variant-numeric:tabular-nums}.resource-summary-contact{margin-top:7px;font-size:.84rem}.invoice-summary-dates{display:flex;flex-wrap:wrap;gap:5px 14px;margin-top:4px}.invoice-summary-meta{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;font-size:.8rem;font-weight:400;line-height:1.35}.invoice-summary-booking,.invoice-summary-meta-item{unicode-bidi:isolate}.invoice-summary-separator{flex:0 0 auto;color:rgba(76,99,54,.45)}.invoice-summary-booking{width:fit-content;display:flex;gap:4px;margin-top:2px;color:var(--muted);font-size:.8rem;font-weight:400;line-height:1.35}.resource-summary-stats{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin-top:9px;padding-top:8px;border-top:1px solid var(--line)}.resource-summary-stats>span{display:grid;align-content:start;min-width:0;gap:4px}.resource-summary-stats small{color:var(--muted);font-size:.8rem}.resource-summary-stats strong{overflow-wrap:anywhere;font-size:1rem;font-variant-numeric:tabular-nums;white-space:nowrap}.resource-card-empty{display:grid;gap:5px;padding:60px 24px;text-align:center;background:rgba(244,247,236,.82);border:1px solid rgba(76,99,54,.15);border-radius:24px}.resource-card-empty small{color:var(--muted)}.resource-card-error strong{color:#8a3e2a}@media (hover:hover) and (pointer:fine){.resource-summary-card:hover{transform:translateY(-2px);border-color:rgba(76,99,54,.28);box-shadow:0 16px 38px rgba(52,69,42,.09)}}@media (max-width:600px){.resource-card-list{gap:8px}.resource-result-count{padding-inline:14px}.resource-summary-card{padding:10px 14px;border-radius:17px}.resource-summary-head{gap:8px}.invoice-summary-card .resource-summary-head>div,.resource-summary-head>div{gap:3px}.resource-summary-title{font-size:.88rem}.invoice-summary-card .resource-summary-title{font-size:1rem}.invoice-summary-card .invoice-summary-date{font-size:.72rem}.invoice-summary-identity{flex-wrap:nowrap;gap:8px;font-size:.76rem;white-space:nowrap}.invoice-summary-booking,.invoice-summary-meta{font-size:.8rem}.resource-summary-head .status{flex:0 0 auto}.invoice-summary-dates{display:grid;gap:2px}.invoice-summary-meta{flex-wrap:nowrap;gap:0 4px;max-width:100%;overflow:hidden;white-space:nowrap;line-height:1.35}.invoice-summary-meta>span{flex:0 0 auto}.resource-summary-stats{gap:5px;margin-top:6px;padding-top:6px}.resource-summary-stats small{font-size:.8rem}.resource-summary-stats strong{font-size:1rem}.resource-summary-stats>span{display:grid;gap:1px}}@media (prefers-reduced-motion:reduce){.resource-summary-card{transition:none}.admin-date-picker-days,.admin-date-picker-years{animation:none}}.record-editor-card{width:min(100%,920px);max-width:920px;margin-inline:auto}.product-editor-page .admin-page-head>.admin-primary{display:flex;width:fit-content;margin-inline-start:auto}.product-editor-page .admin-page-head.product-edit-head,.record-editor-page .admin-page-head.record-edit-head{display:flex;align-items:center;gap:12px}.product-edit-head>.admin-page-title-with-back,.record-edit-head>.admin-page-title-with-back{min-width:0;margin:0}.product-editor-page .product-edit-head>.product-save-action,.record-editor-page .record-edit-head>.record-save-action{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;margin-top:0;border-radius:50%}.record-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.record-editor-grid label{min-width:0;display:grid;gap:8px;color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.internal-cost-assignment-field{display:grid;gap:8px;justify-items:start}.invoice-field-grid textarea,.record-editor-grid input,.record-editor-grid textarea{width:100%;padding:13px 15px;color:var(--ink);background:#f4f7ec;border:1px solid var(--line);border-radius:16px;outline:none;resize:vertical}.invoice-field-grid textarea:focus,.record-editor-grid input:focus,.record-editor-grid textarea:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.1)}.record-editor-wide{grid-column:1/-1}.record-editor-card .editor-message{margin-top:18px;border-radius:14px}.record-detail-grid{grid-template-columns:1fr}.record-profile-card dl{display:grid;grid-template-columns:minmax(85px,auto) minmax(0,1fr);gap:12px 18px;margin:0;font-size:.8rem}.record-profile-card dt{color:var(--muted)}.record-profile-card dd{min-width:0;margin:0;overflow-wrap:anywhere}.record-invoices-card{display:grid;align-content:start;gap:12px}.record-invoices-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:2px}.record-invoices-heading h2{margin:0}.record-invoices-heading>span{min-height:30px;display:inline-flex;align-items:center;justify-content:center;padding:4px 11px;color:var(--studio-olive);background:var(--studio-olive-soft);border-radius:999px;font-family:var(--font-main);font-size:.8rem;font-weight:700;font-variant-numeric:tabular-nums;line-height:1.2;white-space:nowrap}.record-detail-empty{padding:26px 0}.record-phone-pill{color:var(--studio-olive);background:var(--studio-olive-soft);max-width:48%;align-items:center;justify-content:center;overflow:hidden;font-family:var(--font-main);font-variant-numeric:tabular-nums;font-weight:700;text-align:center;text-overflow:ellipsis;text-transform:none;white-space:nowrap}.record-detail-grid+.pagination{display:none}@media (max-width:700px){.record-editor-grid{grid-template-columns:1fr}.record-editor-wide{grid-column:auto}}@media (max-width:1100px){.admin-header-nav{grid-template-columns:repeat(5,minmax(0,1fr))}}.document-text-grid{display:grid;grid-template-columns:minmax(0,1fr)}.document-text-grid label{min-width:0;display:grid;gap:8px;color:var(--studio-olive);font-family:var(--font-main);font-size:.72rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.document-text-grid input,.document-text-grid textarea{width:100%;min-height:52px;padding:12px 16px;color:var(--ink);background:rgba(244,247,236,.88);border:1px solid rgba(76,99,54,.2);border-radius:17px;outline:0;font-family:var(--font-main);font-size:.9rem;font-weight:500;letter-spacing:0;text-transform:none}.document-text-grid input:focus,.document-text-grid textarea:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.08)}.document-text-grid textarea{min-height:118px;resize:vertical;white-space:pre-wrap}@media (max-width:700px){.document-text-grid{grid-template-columns:1fr}}@media (pointer:coarse){.document-text-grid :where(input,textarea){font-size:max(16px,1rem)}}:is(.quotation-editor-page,.invoice-terms-card) :where(.quotation-field-grid label,.document-text-grid label,.quotation-schedule-grid label,.quotation-line label,.quotation-discount-row label,.quotation-discount-row .admin-select-field){min-width:0;display:grid;gap:7px;color:#66705c;font:500 .63rem/1.2 var(--font-main);letter-spacing:.07em;text-transform:uppercase}:is(.quotation-editor-page,.invoice-terms-card) :where(.quotation-field-grid input,.quotation-field-grid select,.quotation-schedule-grid input,.quotation-schedule-grid select,.document-text-grid input,.document-text-grid textarea,.quotation-line input,.quotation-line textarea,.quotation-discount-row input){min-height:46px;padding:11px 13px;color:var(--studio-ink);border:1px solid rgba(76,99,54,.2);border-radius:11px;background:#f4f7ec;font:400 .79rem/1.2 var(--font-main);transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.quotation-editor-page .document-text-grid textarea{min-height:118px}.quotation-editor-page :where(.quotation-field-grid input,.quotation-field-grid select,.quotation-schedule-grid input,.quotation-schedule-grid select,.document-text-grid input,.document-text-grid textarea,.quotation-line input,.quotation-line textarea,.quotation-discount-row input):focus{border-color:var(--studio-olive);background:#f4f7ec;outline:0;box-shadow:0 0 0 3px rgba(76,99,54,.1)}@media screen and (max-width:1100px){.admin-shell .admin-content-page{min-height:0;flex:1 1 auto;overflow:hidden}}@media (max-width:600px){.admin-content-page{min-height:calc(100vh - 132px)}}.admin-content-page{position:relative;min-height:calc(100vh - 88px);overflow-x:clip}@media (max-width:600px){.admin-content-page{min-height:calc(100vh - 78px)}}.product-fields{padding:0;margin:0;border:0;min-width:0}.product-search{display:flex;align-items:end;gap:12px;margin-bottom:24px}.product-search label{flex:1;max-width:460px}.product-card-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:start;gap:16px}.product-card{display:block;min-width:0;padding:0;overflow:hidden;color:var(--ink);text-decoration:none}.product-card-content{padding:12px}.product-card-content h2{margin:0 0 10px;font-size:.9rem;line-height:1.4;overflow-wrap:anywhere}.product-card .product-prices{grid-template-columns:minmax(0,1fr);gap:6px}.product-card .product-prices>div{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:2px 8px}.product-card .product-prices dt{margin:0;font-size:.7rem;letter-spacing:normal;text-transform:none}.product-card .product-prices dd{font-size:.8rem;line-height:1.4}.product-photo{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--paper,#e1ebc9);color:var(--muted)}.product-photo img{display:block;width:100%;height:100%;object-fit:contain}.product-cover{aspect-ratio:1;background:color-mix(in srgb,var(--brand-green) 80%,var(--studio-olive));border:0;border-bottom:1px solid var(--line);border-radius:0}.product-cover img{object-fit:cover;object-position:center}.product-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:0}.product-prices dt{color:var(--muted);font-size:.7rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}.product-prices dd{margin:0;font-size:1rem;font-weight:600;overflow-wrap:anywhere}.product-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-editor-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.product-photo-remove{position:absolute;top:8px;right:8px;width:44px;height:44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%;background:#f4f7ec;color:var(--ink);cursor:pointer}.product-photo-remove:disabled{opacity:.5;cursor:wait}.product-photo-hint{color:var(--muted);font-size:.8rem;font-weight:400;text-transform:none;letter-spacing:normal;line-height:1.6}.product-detail h2{font-size:1rem;margin:0 0 20px}.product-detail .product-prices{margin-bottom:32px}.product-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;margin-top:24px}@media (max-width:767px){.product-card-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}@media (max-width:600px){.product-card-content{padding:10px}.product-search{flex-wrap:wrap}.product-search label{flex-basis:100%;max-width:none}.product-editor-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.product-prices{gap:16px}}.invoice-product-identity{min-width:0;overflow-wrap:anywhere}.invoice-line-measurements>p{margin:0}.invoice-line-size-summary{margin-top:6px;color:var(--muted)}.invoice-measurement-summary{margin:8px 0 0}.invoice-measurement-summary>div{display:flex;flex-wrap:wrap;gap:4px 12px}.invoice-measurement-summary dt{color:var(--muted)}.invoice-measurement-summary dd{margin:0}.invoice-editor-page :is(.line-editor>.invoice-products-empty,.invoice-packaging-editor .invoice-products-empty){margin:0;padding:26px 22px;color:var(--muted)}@media (max-width:760px){.invoice-editor-page :is(.line-editor>.invoice-products-empty,.invoice-packaging-editor .invoice-products-empty){padding:22px 17px}}.invoice-line-size legend{padding:0;margin-bottom:10px;color:var(--muted);font-size:.75rem;font-weight:600}.invoice-size-options{display:flex;flex-wrap:wrap;gap:8px}.invoice-editor-page .invoice-line .invoice-size-option{position:relative;display:block;grid-column:auto;margin:0;cursor:pointer}.invoice-editor-page .invoice-line .invoice-size-option input{position:absolute;width:1px;height:1px;padding:0;margin:0;opacity:0;border:0}.invoice-size-option>span{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:#f4f7ec;color:var(--ink);font-size:.875rem;font-weight:600;letter-spacing:normal;text-transform:none;transition:border-color .12s ease,background-color .12s ease}.invoice-size-option:hover>span{border-color:var(--studio-olive)}.invoice-size-option input:checked+span{background:var(--studio-olive-soft);border-color:var(--studio-olive);box-shadow:inset 0 0 0 1px var(--studio-olive);color:var(--studio-olive)}.invoice-size-option input:focus-visible+span{outline:2px solid var(--studio-olive);outline-offset:3px}.invoice-size-option input:disabled+span{opacity:.55;cursor:not-allowed}.invoice-manual-heading{margin:0;font-size:.85rem;font-weight:600;color:var(--ink)}.invoice-manual-heading>span{margin-left:8px;font-size:.75rem;font-weight:400;color:var(--muted)}@media (prefers-reduced-motion:reduce){.invoice-size-option>span{transition:none}}.invoice-editor-page .invoice-line.invoice-product-line{grid-template-columns:72px minmax(0,1fr) auto 44px;gap:12px 14px;align-items:center;padding:14px 16px}.invoice-editor-page .invoice-product-line>*{position:static}.invoice-editor-page .invoice-product-line>.invoice-product-identity{grid-column:1/3;grid-row:1;display:flex;align-items:center;gap:10px;min-width:0}.invoice-product-identity .invoice-line-number{position:static;flex:0 0 30px;width:30px;height:30px}.invoice-product-identity>strong{min-width:0;overflow-wrap:anywhere}.invoice-editor-page .invoice-product-line>.line-total{grid-column:3;grid-row:1;padding:0;text-align:end}.invoice-editor-page .invoice-product-line>.line-actions{grid-column:4;grid-row:1}.invoice-editor-page .invoice-product-line>label{grid-column:1;grid-row:2;align-self:end}.invoice-editor-page .invoice-product-line>label input{width:100%}.invoice-editor-page .invoice-product-line>.invoice-line-size{grid-column:2/-1;grid-row:2;min-width:0;margin:0;padding:0;border:0}.invoice-editor-page .invoice-product-line .invoice-line-size legend{margin-bottom:7px}.invoice-editor-page .invoice-product-line .invoice-size-options{gap:6px}.invoice-editor-page .invoice-product-line .invoice-size-option>span{min-width:40px;padding:8px 12px}.invoice-editor-page .invoice-product-line>.invoice-line-measurements{grid-column:1/-1;grid-row:3;min-width:0;width:100%;padding-top:4px;gap:12px}@media (max-width:440px){.invoice-editor-page .invoice-line.invoice-product-line{gap:10px;padding:12px}.invoice-editor-page .invoice-product-line>.invoice-line-size{grid-column:1/-1;grid-row:3}.invoice-editor-page .invoice-product-line>.invoice-line-measurements{grid-row:4}}.admin-shell .admin-topbar,.admin-topbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-areas:"user brand logout";align-items:center}.admin-shell .admin-header-brand,.admin-topbar .admin-header-brand{grid-area:brand;justify-self:center;justify-content:center;margin:0}.admin-shell .admin-topbar .admin-user,.admin-topbar .admin-user{grid-area:user;justify-self:start;min-width:0;max-width:100%;margin:0;text-align:start}.admin-topbar .admin-header-logout{grid-area:logout;justify-self:end}.admin-brand,.admin-brand>a{justify-content:center}.admin-brand>a{display:flex;width:100%}.admin-brand .brand-logo{width:164px}.invoice-brand-artwork{width:180px}@media (max-width:1100px){.admin-shell .admin-topbar{grid-template-areas:"user brand logout" "navigation navigation navigation"}}@media (max-width:600px){.admin-topbar .brand-logo{width:126px}.admin-shell .admin-topbar{column-gap:8px}.admin-shell .admin-topbar .admin-user strong,.admin-topbar .admin-user strong{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.invoice-brand-artwork{width:140px}}.invoice-entry-list .invoice-entry{min-width:0}.detail-grid .invoice-entry-list{gap:16px}.invoice-entry-summary{display:flex;align-items:center;gap:16px}.invoice-entry-copy{flex:1;min-width:0}.invoice-entry-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}.invoice-entry-values dt{margin-bottom:4px}.invoice-entry-note{margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}@media (max-width:600px){.invoice-entry-values{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-entry-values>div:last-child{grid-column:1/-1}}.admin-shell.login-shell{display:flex;flex-direction:column;height:100dvh;min-height:100dvh;overflow-y:auto}.login-shell>.admin-topbar{flex:0 0 auto}.login-floral-page{position:relative;display:grid;grid-template-rows:minmax(0,.45fr) auto minmax(0,1fr);justify-items:center;align-items:center;gap:clamp(6px,1.5dvh,16px);flex:1 1 0;min-height:0;width:100%;padding:clamp(10px,2.5dvh,28px) 20px max(10px,env(safe-area-inset-bottom));background:var(--paper)}.login-floral-page:after,.login-floral-page:before{content:none;display:none;background:none}.login-brand-decoration{grid-row:3;width:100%;height:100%;min-height:0;max-height:140px;max-width:520px;pointer-events:none;background:url(/images/nilo-petals-lined.svg) 50%/contain no-repeat}.login-floral-page .admin-login-card{grid-row:2;position:relative;padding:clamp(16px,3dvh,32px) clamp(20px,4vw,36px);background:rgba(244,247,236,.97)}.login-shell .admin-login-card .eyebrow,.login-shell .admin-login-card h1{margin-bottom:clamp(8px,1.5dvh,16px)}.login-shell .admin-login-card h1{font-size:clamp(1.6rem,4dvh,2.6rem);line-height:1.1}.login-shell .invitation-intro{line-height:1.45}.login-shell .admin-login-form{margin-top:clamp(12px,2.5dvh,28px);gap:clamp(8px,1.7dvh,18px)}.login-shell .admin-login-form label{gap:clamp(4px,.8dvh,8px)}.login-shell .admin-login-form input{font-size:16px}.login-shell .admin-login-form input,.login-shell .admin-login-form>.button{min-height:44px;height:clamp(44px,6dvh,54px);padding-block:10px}@media (max-width:600px){.login-floral-page{padding-inline:16px}}@media (max-height:740px){.login-shell>.admin-topbar{height:64px;min-height:64px}.login-shell .brand-logo-artwork{max-height:48px}}@media (max-height:520px){.login-shell>.admin-topbar{height:54px;min-height:54px}.login-shell .brand-logo-artwork{max-height:42px}.login-shell .admin-login-card{padding-block:12px}.login-shell .admin-login-card .eyebrow,.login-shell .invitation-intro{display:none}.login-shell .admin-login-card h1{font-size:1.35rem;margin-bottom:0}.login-shell .admin-login-form{margin-top:10px;gap:6px}.login-shell .admin-login-form label{gap:3px}}.admin-shell .admin-app-topbar{grid-template-areas:"settings brand account"}.admin-settings-shortcut{grid-area:settings;justify-self:start;align-self:center;display:grid;place-items:center;width:44px;height:44px;color:var(--studio-olive);background:#f4f7ec;border:1px solid var(--studio-line);border-radius:50%}.admin-settings-shortcut.active,.admin-settings-shortcut:hover{background:var(--studio-olive-soft);border-color:var(--studio-olive)}.admin-settings-shortcut:focus-visible{outline:2px solid var(--studio-olive);outline-offset:3px}.admin-app-topbar .admin-account-actions{grid-area:account;justify-self:end;align-self:center;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;max-width:100%}.admin-app-topbar .admin-account-actions .admin-header-logout{grid-area:auto;width:44px;height:44px;display:grid;place-items:center;margin:0}.internal-cost-description{white-space:pre-wrap;overflow-wrap:anywhere}.internal-cost-detail-date{margin:0 0 12px;color:var(--muted);font-size:.75rem;line-height:1.3}.product-prices.internal-cost-detail-values{grid-template-columns:minmax(0,1fr) auto}.internal-cost-detail-values>div:last-child{text-align:right}.internal-cost-detail-values>div:last-child dd{white-space:nowrap}@media (max-width:1100px){.admin-shell .admin-app-topbar{grid-template-areas:"settings brand account" "navigation navigation navigation"}}.admin-shell .admin-app-topbar{align-content:center}.dashboard-profit-note{margin:0 0 24px;color:var(--muted);font-size:.78rem;line-height:1.6}.dashboard-grid.financial-chart-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-chart-grid .revenue-chart-card{grid-column:1/-1}.cost-comparison-chart{display:grid;gap:28px;padding-block:24px}.cost-comparison-row>div:first-child{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:10px;font-size:.8rem}.cost-comparison-track{height:12px;background:var(--studio-olive-mist);border-radius:99px;overflow:hidden}.cost-comparison-track>span{display:block;height:100%;border-radius:inherit}.profit-trend-value{display:flex;justify-content:space-between;gap:12px;padding-top:12px;font-size:.8rem}.profit-trend-value span{color:var(--muted)}.profit-trend-chart svg{display:block;width:100%;height:auto}.profit-period-buttons{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px}.profit-period-buttons button{min-height:44px;padding:4px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--muted);font:inherit;font-size:.65rem;cursor:pointer}.profit-period-buttons button[aria-pressed=true]{color:var(--studio-olive);background:var(--studio-olive-soft)}.profit-period-buttons button:focus-visible{outline:2px solid var(--studio-olive);outline-offset:2px}@media (max-width:900px){.dashboard-grid.financial-chart-grid{grid-template-columns:minmax(0,1fr)}}.pagination.resource-result-count.event-list-summary,.pagination.resource-result-count.internal-cost-list-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.internal-cost-list-summary strong{color:var(--studio-ink);margin-inline-start:6px}.event-list-summary>a{display:inline-flex;align-items:center;gap:6px;color:var(--studio-olive);min-height:44px}.event-sections{display:grid;gap:28px}.event-section{display:grid;gap:16px;min-width:0}.event-summary-card>.event-financials{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding-top:16px;border-top:1px solid var(--line)}.event-financials>div{min-width:0;text-align:center}.event-financials>div:only-child{grid-column:1/-1}.event-financials dt{margin-bottom:6px;font-size:.7rem;font-weight:500;letter-spacing:0;text-transform:none}.event-financials dd{font-size:.9rem;font-variant-numeric:tabular-nums}.resource-summary-card.event-summary-card{display:grid;grid-template-columns:76px minmax(0,1fr);align-items:center;gap:20px;padding:24px}.event-date-tile{flex:0 0 76px;padding:10px 8px;display:grid;justify-items:center;gap:2px;border-radius:16px;background:var(--studio-olive-soft);color:var(--studio-olive);font-variant-numeric:tabular-nums}.event-date-tile>span{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.event-date-tile>strong{font-size:1.8rem;line-height:1.15;font-weight:600}.event-date-tile>small{font-size:.6rem}.event-summary-copy{display:grid;gap:10px;min-width:0}.event-summary-copy>.resource-summary-title{font-size:1rem;line-height:1.35;overflow-wrap:anywhere}.event-date-range{display:flex;align-items:flex-start;gap:7px;color:var(--muted);font-size:.7rem;line-height:1.6}.event-date-range>svg{flex-shrink:0;margin-top:2px}.event-date-range time{white-space:nowrap}.event-open-label{display:inline-flex;align-items:center;gap:6px;color:var(--studio-olive);font-size:.7rem;font-weight:600}@media (max-width:600px){.resource-summary-card.event-summary-card{padding:18px;gap:16px;grid-template-columns:64px minmax(0,1fr)}.event-date-tile{flex-basis:64px}}@media (max-width:380px){.event-summary-card>.event-financials{grid-template-columns:minmax(0,1fr);gap:8px}.event-financials>div{display:flex;justify-content:center;gap:12px;align-items:baseline}.event-financials dt{margin:0}}.sales-cost-donut-chart{display:grid;justify-items:center;gap:24px;padding-top:20px}.sales-cost-donut{width:min(100%,240px);aspect-ratio:1;border-radius:50%;display:grid;place-items:center;padding:25px}.sales-cost-donut-center{width:100%;height:100%;border-radius:50%;background:#f4f7ec;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:12px}.sales-cost-donut-center span{font-size:.7rem;color:var(--muted)}.sales-cost-donut-center strong{font-size:clamp(.85rem,2vw,1.1rem);overflow-wrap:anywhere;max-width:100%}.sales-cost-legend{width:100%;display:grid;gap:6px}.sales-cost-legend button{display:grid;grid-template-columns:10px 1fr auto;align-items:center;gap:10px;min-height:44px;padding:8px;border:1px solid transparent;border-radius:12px;background:transparent;color:var(--ink);font:inherit;font-size:.8rem;text-align:start;cursor:pointer}.sales-cost-legend button i{width:10px;height:10px;border-radius:50%}.sales-cost-legend button[aria-pressed=true]{background:var(--studio-olive-mist);border-color:var(--studio-line)}.sales-cost-legend button:focus-visible{outline:2px solid var(--studio-olive);outline-offset:2px}.sales-cost-legend p{margin:8px;font-size:.7rem;line-height:1.8;color:var(--muted)}.sales-cost-center-breakdown{margin:0;display:grid;gap:6px;max-width:100%}.sales-cost-center-breakdown dt{color:var(--muted);font-size:.55rem;line-height:1.3}.sales-cost-center-breakdown dd{margin:1px 0 0;font-size:.65rem;font-weight:600;overflow-wrap:anywhere}.sales-cost-donut{position:relative;background:transparent}.sales-cost-ring{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.sales-cost-segment{transform-origin:120px 120px;transition:transform .28s ease,opacity .28s ease}.sales-cost-donut-center{position:relative}.sales-cost-center-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;max-width:100%;animation:chart-value-enter .26s ease both}.sales-cost-legend button{transition:background-color .22s ease,border-color .22s ease,transform .15s ease}.sales-cost-legend button:active{transform:scale(.98)}.profit-trend-value{animation:chart-value-enter .26s ease both}.profit-period-buttons button{transition:background-color .22s ease,color .22s ease}@keyframes chart-value-enter{0%{opacity:0;transform:translate3d(0,6px,0)}to{opacity:1;transform:translateZ(0)}}@media (prefers-reduced-motion:reduce){.profit-period-buttons button,.sales-cost-legend button,.sales-cost-segment{transition:none}.profit-trend-value,.sales-cost-center-content{animation:none}.sales-cost-legend button:active{transform:none}}.sales-cost-ring{pointer-events:auto}.sales-cost-segment{cursor:pointer}.sales-cost-percentage{color:var(--muted);font-size:.65rem;margin-inline-start:5px;white-space:nowrap}.status.event-status-pill{justify-self:start;font-weight:600;line-height:1.3}.event-status-pill.event-active{color:var(--studio-olive);background:var(--studio-olive-soft)}.event-status-pill.event-ended{color:var(--muted);background:#e5ecd9}.event-status-pill.event-upcoming{color:var(--studio-olive);background:var(--studio-olive-mist)}.event-summary-copy{flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:start}.event-summary-copy>.event-status-pill{grid-column:2;grid-row:1;justify-self:end;white-space:nowrap}.event-summary-copy>.event-date-range,.event-summary-copy>.event-open-label{grid-column:1/-1}.financial-trend-tabs{display:flex;gap:6px;padding:4px;margin-block:16px;background:var(--studio-olive-mist);border-radius:16px}.financial-trend-tabs button{flex:1;min-height:44px;padding:8px 12px;border:1px solid transparent;border-radius:12px;color:var(--muted);background:transparent;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer;transition:background-color .22s ease,color .22s ease}.financial-trend-tabs button[aria-selected=true]{background:var(--studio-olive-soft);color:var(--studio-olive)}.financial-trend-tabs button:focus-visible{outline:2px solid var(--studio-olive);outline-offset:2px}.financial-trend-view{animation:chart-value-enter .26s ease both}.dashboard-grid.financial-chart-grid>.revenue-chart-card{grid-column:auto}@media (prefers-reduced-motion:reduce){.financial-trend-tabs button{transition:none}.financial-trend-view{animation:none}}.metric-grid.overview-counts{grid-template-columns:minmax(0,1fr)}.financial-trend-panels{display:grid;padding-bottom:12px}.financial-trend-panel{display:none;min-width:0}.financial-trend-panel.is-active{display:block;animation:chart-value-enter .26s ease both}.financial-trend-panel .chart-wrap{height:auto}@media (prefers-reduced-motion:reduce){.financial-trend-panel.is-active{animation:none}}@media (max-width:1100px){.restricted-topbar .admin-header-nav{grid-template-columns:repeat(2,minmax(0,1fr))}}.invoice-product-confirmation{margin:auto;width:min(430px,calc(100% - 40px))}.invoice-product-confirmation::backdrop{background:rgba(40,51,35,.5)}.invoice-product-confirmation h2{font-family:var(--font-main)}.invoice-product-thumbnail{display:inline-flex;align-items:center;justify-content:center;flex:0 0 56px;width:56px;height:56px;overflow:hidden;border:1px solid var(--line);border-radius:16px;background:var(--invoice-soft);color:var(--muted)}.invoice-product-thumbnail img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:#f4f7ec}.record-picker-popup.invoice-product-picker-popup{width:min(820px,100%);height:min(680px,calc(100dvh - 32px))}@media (max-width:600px){.record-picker-popup.invoice-product-picker-popup{height:min(72dvh,620px)}}.invoice-product-results{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:max-content;align-items:start;gap:12px}.invoice-product-results>button.invoice-product-result{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;align-content:start;align-self:start;height:max-content;min-height:max-content;gap:0;padding:0;overflow:hidden}.invoice-product-results>button.invoice-product-result>.invoice-product-thumbnail{position:relative;display:flex;width:100%;height:auto;flex:none;aspect-ratio:1;border:0;border-bottom:1px solid var(--line);border-radius:0}.invoice-product-results .invoice-product-thumbnail img{position:absolute;inset:0}.invoice-product-result .product-card-content{display:grid;gap:6px;min-width:0;padding:12px;color:var(--studio-ink)}.invoice-product-result strong{display:block;white-space:normal;overflow-wrap:anywhere}.invoice-product-result .record-picker-phone{font-size:.8rem}.invoice-product-results>button:not(.invoice-product-result),.invoice-product-results>p{grid-column:1/-1}@media (max-width:767px){.invoice-product-results{grid-template-columns:repeat(2,minmax(0,1fr))}}.invoice-product-code{display:grid;gap:3px;min-width:0}.invoice-product-code strong{overflow-wrap:anywhere}.invoice-product-code small{color:var(--muted);font-size:.72rem}.invoice-product-heading{justify-content:flex-start;gap:12px;align-items:center}.invoice-detail-page .invoice-product-thumbnail,.invoice-editor-page .invoice-product-thumbnail{flex-basis:120px;width:120px;height:120px}.invoice-detail-page .invoice-product-heading{gap:16px}@media (max-width:440px){.invoice-detail-page .invoice-product-thumbnail,.invoice-editor-page .invoice-product-thumbnail{flex-basis:96px;width:96px;height:96px}}@media (max-width:600px){.invoice-editor-page .invoice-product-line>.invoice-product-identity{grid-column:1/4}.invoice-editor-page .invoice-product-line>.line-total{grid-column:2/-1;grid-row:2}.invoice-editor-page .invoice-product-line>.invoice-line-size{grid-column:1/-1;grid-row:3}.invoice-editor-page .invoice-product-line>.invoice-line-measurements{grid-row:4}}.invoice-product-photo-trigger{display:inline-flex;flex-shrink:0;padding:0;border:0;border-radius:16px;background:transparent;cursor:zoom-in}.invoice-product-photo-trigger:focus-visible{outline:2px solid var(--studio-olive);outline-offset:3px}.product-photo-viewer[open]{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#283323;overflow:hidden;overscroll-behavior:contain}.product-photo-viewer::backdrop{background:#283323}.product-photo-viewer-viewport{position:relative;width:100%;height:calc(100% - 180px);overflow:hidden;touch-action:none}.product-photo-viewer-track{display:flex;width:100%;height:100%;transition:transform .3s cubic-bezier(.32,.72,0,1)}.product-photo-viewer-track.is-dragging{transition:none}.product-photo-viewer-slide{display:flex;align-items:center;justify-content:center;flex:0 0 100%;min-width:0;height:100%;padding-inline:20px;overflow:hidden}.product-photo-viewer-image{display:block;width:auto;height:auto;max-width:100%;max-height:100%;border-radius:16px;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;cursor:grab;transform-origin:center}.product-photo-viewer-image:active{cursor:grabbing}.product-photo-viewer-controls{pointer-events:none;position:absolute;z-index:1;top:max(20px,env(safe-area-inset-top));right:max(20px,env(safe-area-inset-right));display:flex;gap:10px}.product-photo-viewer-controls button,.product-photo-viewer-navigation button{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:50%;background:#f4f7ec;color:var(--studio-olive);cursor:pointer}.product-photo-viewer-controls button:disabled,.product-photo-viewer-navigation button:disabled{opacity:.45;cursor:default}.product-photo-viewer-controls button:focus-visible,.product-photo-viewer-navigation button:focus-visible{outline:2px solid #fff;outline-offset:3px}.product-photo-open{display:flex;align-items:center;justify-content:center;width:100%;height:100%;padding:0;border:0;background:transparent;color:inherit;cursor:zoom-in}.product-photo-open:focus-visible{outline:2px solid var(--studio-olive);outline-offset:-4px}a.product-card:focus-visible{outline:2px solid var(--studio-olive);outline-offset:-4px}.product-pagination-item{display:inline-flex;align-items:center;gap:10px}.product-pagination-item>a{min-width:44px;min-height:44px;padding:10px 14px;justify-content:center}.products-list-page .resource-result-count{gap:12px;flex-wrap:wrap}.product-detail-gallery{min-width:0;max-width:760px;margin-inline:auto}.product-detail-gallery-item{aspect-ratio:4/5}.product-detail-gallery-item img{object-fit:cover}.product-detail-gallery-rail{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scrollbar-width:none}.product-detail-gallery-previews::-webkit-scrollbar,.product-detail-gallery-rail::-webkit-scrollbar{display:none}.product-detail-gallery-item{flex:0 0 calc((100% - 10px) / 2);min-width:0;scroll-snap-align:start;scroll-snap-stop:always}.product-detail-gallery-previews{display:flex;justify-content:safe center;gap:8px;margin-top:12px;padding:3px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}.product-detail-gallery-item:only-child{flex-basis:100%}.product-detail-gallery-previews button{flex:0 0 60px;width:60px;height:75px;padding:0;overflow:hidden;border:2px solid transparent;border-radius:12px;background:var(--invoice-soft);opacity:.48;cursor:pointer;transition:opacity .16s ease,border-color .16s ease}.product-detail-gallery-previews img{display:block;width:100%;height:100%;object-fit:cover}.product-detail-gallery-previews button.is-visible{opacity:1;border-color:var(--studio-olive)}.product-detail-gallery-previews button:focus-visible{outline:2px solid var(--studio-olive);outline-offset:1px}@media (max-width:640px){.product-detail-gallery-item{flex-basis:92%}}@media (prefers-reduced-motion:reduce){.product-detail-gallery-previews button{transition:none}}.product-photo-viewer-navigation{position:absolute;z-index:1;inset-inline:20px;bottom:max(20px,env(safe-area-inset-bottom));display:flex;align-items:center;justify-content:center;gap:20px;pointer-events:none;color:#fff}.product-photo-viewer-navigation>span{font-size:.9rem;font-variant-numeric:tabular-nums}.product-photo-viewer-thumbnails{display:flex;gap:7px;max-width:min(440px,calc(100vw - 168px));overflow-x:auto;padding:3px;pointer-events:auto;scrollbar-width:none}.product-photo-viewer-thumbnails::-webkit-scrollbar{display:none}.product-photo-viewer-thumbnails button{flex:0 0 42px;width:42px;height:54px;padding:0;border-radius:8px;overflow:hidden;border:2px solid transparent;opacity:.45;background:#283323}.product-photo-viewer-thumbnails button[aria-current=true]{opacity:1;border-color:#fff}.product-photo-viewer-thumbnails img{display:block;width:100%;height:100%;object-fit:cover}.product-photo-viewer-counter{position:absolute;top:32px;left:20px;color:#fff;pointer-events:none;font-variant-numeric:tabular-nums}@media (prefers-reduced-motion:reduce){.product-photo-viewer-track{transition:none}}.product-photo-viewer-gesture-surface{position:absolute;inset:0;touch-action:none;cursor:grab}.product-photo-viewer-gesture-surface:active{cursor:grabbing}.admin-page-head .editor-actions>:is(.admin-primary,.admin-secondary,.admin-delete-trigger){margin-block:0}.detail-header-actions .admin-page-back-button{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;max-height:44px}.detail-header-actions{width:100%}.detail-header-actions>:is(.admin-primary,.admin-secondary,.admin-delete-trigger){position:relative;top:8px}.admin-page-head .detail-header-actions>.admin-page-title-with-back{margin:0;margin-inline-end:auto}.invoice-editor-page .invoice-product-line>.invoice-product-length{grid-column:1/-1;grid-row:4}.invoice-editor-page .invoice-product-line>.invoice-line-measurements{grid-row:5}@media (min-width:601px){.invoice-editor-page .invoice-product-line>.invoice-product-length input{width:72px;justify-self:start}.invoice-editor-page .invoice-line-measurements{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-editor-page .invoice-line-measurements>.invoice-manual-heading{grid-column:1/-1}}.invoice-editor-page .invoice-product-line>.invoice-measurement-sections{grid-column:1/-1;grid-row:4;min-width:0}.invoice-measurement-reveal{display:grid;grid-template-rows:0fr;opacity:0;transition:grid-template-rows .24s cubic-bezier(.32,.72,0,1),opacity .18s ease}.invoice-measurement-reveal.is-open{grid-template-rows:1fr;opacity:1}.invoice-measurement-reveal-inner{min-height:0;overflow:hidden}.invoice-measurement-sections .invoice-product-length{display:grid;gap:7px}.invoice-measurement-sections .invoice-line-measurements{padding-top:16px;gap:12px}@media (min-width:601px){.invoice-measurement-sections .invoice-product-length input{width:72px;justify-self:start}}@media (prefers-reduced-motion:reduce){.invoice-measurement-reveal{transition:none}}.invoice-editor-page .invoice-field-grid>label.invoice-order-note{grid-column:1/-1;min-width:0;width:100%}.invoice-field-grid textarea{box-sizing:border-box;min-width:0;min-height:100px;font-family:var(--font-main);font-size:16px;line-height:1.5;letter-spacing:normal;text-transform:none}.record-notes-editor{display:grid;gap:16px;min-width:0}@media (max-width:1100px){.record-detail-page .record-notes-list{grid-template-columns:minmax(0,1fr)}.record-detail-page .record-notes-list>div{grid-column:1/-1;min-width:0}}.invoice-editor-page .invoice-product-line>label.invoice-product-note{grid-column:1/-1;grid-row:3;min-width:0;width:100%}.invoice-product-note textarea{font:inherit;letter-spacing:normal;text-transform:none}.invoice-editor-page .invoice-product-note textarea{width:100%;height:auto;min-height:46px;box-sizing:border-box;font-size:16px;line-height:1.2}.inventory-low-filter{display:flex;gap:8px;align-items:center}.inventory-low-filter input{accent-color:var(--studio-olive)}.inventory-recipe{min-width:0}.inventory-recipe .card-head{padding:0;margin-bottom:18px}.inventory-recipe-row,.recipe-column-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(96px,.45fr) 44px;gap:10px;align-items:center}.recipe-column-head{margin-bottom:6px;color:var(--muted);font-size:.72rem;font-weight:600}.recipe-rows{min-width:0}.inventory-recipe-row{padding-block:10px;border-bottom:1px solid var(--line)}.inventory-recipe-row .admin-select-trigger,.inventory-recipe-row>.admin-select{width:100%;min-width:0}.inventory-recipe-row .admin-select-trigger{min-height:44px;padding-inline:12px;font-size:16px}.inventory-recipe .recipe-quantity{position:relative;min-width:0}.inventory-recipe .recipe-quantity input{width:100%;color:var(--ink);background:#f4f7ec;border:1px solid var(--line);outline:none;height:44px;min-height:44px;padding:10px 40px 10px 10px;border-radius:999px;font-size:16px}.recipe-quantity>span{position:absolute;right:10px;top:50%;transform:translateY(-50%);pointer-events:none;color:var(--muted);font-size:.7rem}.inventory-recipe .inventory-recipe-remove{width:44px;min-width:44px;height:44px;padding:0;border-color:transparent;background:transparent;border-radius:50%}.inventory-recipe-remove:hover{background:var(--studio-olive-soft)}.inventory-recipe .recipe-add-button{margin-top:18px}.recipe-row-entering{animation:recipe-row-in .18s cubic-bezier(.2,.65,.25,1)}.recipe-row-leaving{pointer-events:none;animation:recipe-row-out .14s ease-in both}@keyframes recipe-row-in{0%{transform:translate3d(0,8px,0);opacity:0}to{transform:translateZ(0);opacity:1}}@keyframes recipe-row-out{0%{transform:translateZ(0);opacity:1}to{transform:translate3d(8px,0,0);opacity:0}}@media (prefers-reduced-motion:reduce){.recipe-row-entering{animation:none}.recipe-row-leaving{animation-duration:1ms}}.inventory-recipe-row>div{min-width:0}.inventory-recipe-remove{min-height:44px}.inventory-alert-list{display:grid;margin-bottom:18px}.inventory-alert-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);color:inherit;text-decoration:none}.inventory-alert-row span{display:grid;gap:4px}.inventory-alert-row small{color:var(--muted)}@media (max-width:600px){.inventory-recipe-row,.recipe-column-head{gap:8px}}.inventory-detail-sections{gap:28px}.inventory-detail-page>.admin-page-head{display:block}.inventory-detail-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px}.inventory-detail-title-row>.admin-page-title-with-back{min-width:0;margin:0}.inventory-detail-title-row>.inventory-add-stock-icon{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;border-radius:50%}.inventory-detail-page>.admin-page-head>.editor-actions{margin-top:18px}.inventory-detail-page .inventory-detail-card{gap:20px}.inventory-detail-card .editor-message{margin:0;border-radius:14px}.inventory-detail-page .inventory-history-section{gap:16px}.inventory-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.inventory-card-grid .resource-summary-card{min-width:0}.inventory-card-grid .resource-summary-stats strong{white-space:normal}.inventory-card-grid .resource-card-empty{grid-column:1/-1}@media (min-width:768px){.inventory-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:1200px){.inventory-card-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:1600px){.inventory-card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}.inventory-card-grid .inventory-low-stock{background:var(--inventory-low-stock-soft);border-color:color-mix(in srgb,var(--inventory-low-stock) 35%,transparent)}.inventory-card-grid .inventory-low-stock .resource-summary-stats strong,.inventory-card-grid .inventory-low-stock .resource-summary-title{color:var(--inventory-low-stock)}.inventory-card-grid .inventory-availability-row{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.inventory-card-grid .inventory-low-stock-badge,.inventory-detail-card .inventory-low-stock-badge{display:inline-flex;align-items:center;align-self:center;justify-self:end;margin:0;padding:4px 7px;color:#fff;background:var(--inventory-low-stock);border-radius:999px;font-size:.62rem;line-height:1.3;white-space:nowrap}.inventory-detail-card .record-invoices-heading>.inventory-low-stock-badge{min-height:0;font-weight:600}.resource-summary-stats.inventory-history-stats{width:100%;grid-template-columns:repeat(3,minmax(0,1fr));align-items:start;justify-items:stretch;gap:0}.inventory-history-stats>span{width:100%;min-width:0;padding-inline:6px;text-align:center}.inventory-history-stats strong{white-space:normal}.inventory-action-row{margin-block:12px 16px}.inventory-tools .inventory-add-ingredient{margin-inline-start:auto;white-space:nowrap}.product-ingredient-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 32px;padding:0;list-style:none}.status.product-ingredient-pill{align-items:center;flex-wrap:wrap;max-width:100%;gap:8px;padding:8px 12px;color:var(--studio-olive);background:var(--studio-olive-mist);font-size:.8rem;line-height:1.4;text-transform:none;overflow-wrap:anywhere}.product-ingredient-pill strong{font-weight:600;white-space:nowrap}.admin-card.dashboard-low-stock{padding:0;overflow:hidden;margin-bottom:18px;background:var(--white);border-color:color-mix(in srgb,var(--inventory-low-stock) 35%,transparent);box-shadow:none}.dashboard-low-stock .card-head{align-items:center;gap:12px;margin:0;padding:14px 16px;background:var(--inventory-low-stock-soft);border-bottom:1px solid color-mix(in srgb,var(--inventory-low-stock) 16%,transparent)}.dashboard-low-stock .card-head h2{display:flex;align-items:center;gap:8px;margin:0;color:var(--inventory-low-stock);font-size:.85rem;font-weight:600;line-height:1.3;letter-spacing:normal}.dashboard-low-stock-count{display:inline-flex;align-items:center;justify-content:center;min-width:20px;padding:2px 6px;border-radius:999px;color:#fff;background:var(--inventory-low-stock);font-size:.6rem;font-weight:600;line-height:1.3}.dashboard-low-stock .inventory-alert-list{margin:0;padding-inline:16px}.dashboard-low-stock .inventory-alert-row{display:flex;justify-content:space-between;align-items:center;min-height:60px;padding:12px 0;gap:16px;border-bottom:1px solid var(--line);color:var(--ink)}.dashboard-low-stock .inventory-alert-row:last-child{border:0}.dashboard-low-stock .dashboard-low-stock-item{display:grid;gap:3px;min-width:0}.dashboard-low-stock-name{font-size:.85rem;font-weight:600;overflow-wrap:anywhere}.dashboard-low-stock .dashboard-low-stock-remaining{display:grid;justify-items:end;gap:3px;flex-shrink:0}.dashboard-low-stock-remaining>strong{color:var(--inventory-low-stock);font-size:1rem;line-height:1.2}.dashboard-low-stock .inventory-alert-row small{color:var(--muted);font-size:.68rem;line-height:1.3}.inventory-section-tabs{margin:0 0 20px}.inventory-section-tabs>a{flex:1;display:flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;color:var(--muted);font-size:.8rem;font-weight:600;text-decoration:none}.inventory-section-tabs>a[aria-current=page]{color:var(--studio-olive);background:var(--studio-olive-soft)}.inventory-section-tabs>a:focus-visible{outline:2px solid var(--studio-olive);outline-offset:2px}.invoice-packaging-list .inventory-alert-row:last-child{border-bottom:0}.inventory-recipe .recipe-quantity input:focus{border-color:var(--studio-olive);box-shadow:0 0 0 3px rgba(76,99,54,.08)}.inventory-recipe .recipe-quantity input:disabled{opacity:.55}.invoice-packaging-editor .recipe-column-head{margin:14px 17px 6px}.invoice-packaging-editor .recipe-rows{margin:0 17px 17px}.invoice-packaging-editor>.product-photo-hint{margin:16px 17px}.inventory-history-section .admin-delete-trigger.icon-only{flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;justify-content:center;box-shadow:none}.audit-page .audit-table tbody td:nth-child(3){display:flex;align-items:flex-start;justify-content:flex-end;text-align:right}.audit-page .audit-entity-pill{flex:0 0 auto;padding:5px 10px;color:var(--studio-olive);background:var(--studio-olive-soft);border-radius:999px;font-size:.64rem;font-weight:600;line-height:1.3}.audit-page .audit-table tbody td:nth-child(3){display:none}.audit-page .audit-table tbody td:nth-child(4){align-self:start}.inventory-history-section .admin-delete-trigger:disabled{color:var(--studio-muted);background:rgba(100,110,90,.12);border-color:rgba(100,110,90,.18);box-shadow:none;opacity:.5;cursor:not-allowed;transform:none}.inventory-create-row{justify-content:flex-end;margin-block:0 12px}@media (max-width:600px){.inventory-tools .inventory-stock-filter .admin-select-trigger,.inventory-tools .table-menu-group>:is(.admin-primary,.admin-secondary){padding-inline:10px;gap:6px;white-space:nowrap}.inventory-tools.has-compact-search:not(.search-expanded) .table-menu-group .inventory-stock-filter{max-width:none;flex:0 1 auto}}.admin-page-head .internal-cost-create-top{margin-inline-start:auto;flex-shrink:0}.record-editor-page .admin-page-head.stock-add-head{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:12px}.stock-add-head>.admin-page-title-with-back{min-width:0;margin:0}.record-editor-page .stock-add-head>.admin-primary{flex:0 0 auto;margin-inline-start:auto;margin-top:0}.record-editor-page .stock-add-head>.stock-add-submit{flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%;justify-content:center}.admin-page .admin-page-head.record-edit-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.record-edit-head>.editor-actions{margin:0;flex-wrap:nowrap}.admin-page .record-edit-head .record-save-action{width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;padding:0;margin:0;flex:0 0 44px;justify-content:center;border-radius:50%}.inventory-section-tabs{position:relative;isolation:isolate}.inventory-section-tabs:before{content:"";position:absolute;z-index:-1;inset-block:4px;inset-inline-start:4px;width:calc((100% - 8px) / 2);border-radius:12px;background:var(--studio-olive-soft);transform:translateZ(0);transition:transform .34s cubic-bezier(.32,.72,0,1);pointer-events:none}.inventory-section-tabs.is-packaging:before{transform:translate3d(100%,0,0)}.inventory-section-tabs>a[aria-current=page]{background:transparent}.inventory-results-stage{min-width:0}@media (prefers-reduced-motion:reduce){.inventory-section-tabs:before{transition:none}}.product-selling-prices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.product-selling-prices>label{min-width:0}.invoice-product-results.invoice-sale-unit-results{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-product-picker-heading{display:flex;align-items:center;gap:12px;min-width:0}.invoice-product-picker-heading>h2{min-width:0;overflow-wrap:anywhere}.invoice-product-results.invoice-sale-unit-results{padding:16px;margin:-5px -16px -16px;scrollbar-gutter:auto}.record-picker-popup .invoice-product-picker-heading>.admin-page-back-button{color:var(--studio-olive,#4c6336);border:1px solid var(--studio-olive,#4c6336);background:#f4f7ec;flex:0 0 40px}.invoice-product-results.invoice-sale-unit-results{overflow:visible}.product-card-price-table{width:100%;table-layout:fixed;border-collapse:collapse;font-variant-numeric:tabular-nums}.product-card-price-table :is(th,td){padding:3px 0;border:0;text-align:right;overflow-wrap:anywhere;line-height:1.4;font-size:.72rem}.product-card-price-table th{color:var(--muted);font-weight:600}.product-card-price-table td{color:var(--studio-ink);font-weight:600}.product-card-price-table tr>:first-child{width:28%;text-align:left}.product-card-price-table thead th{padding-bottom:6px;font-size:.66rem}.invoice-number-field{display:grid;gap:8px;min-width:0}.invoice-number-controls{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:8px}.invoice-number-controls.is-issued{grid-template-columns:minmax(0,1fr)}.invoice-number-controls>input{min-width:0;width:100%}.invoice-manual-number{animation:invoice-number-enter .22s cubic-bezier(.32,.72,0,1) both}@keyframes invoice-number-enter{0%{transform:translate3d(12px,0,0);opacity:0}to{transform:translateZ(0);opacity:1}}@media (prefers-reduced-motion:reduce){.invoice-manual-number{animation:none}}.invoice-editor-page .invoice-schedule .invoice-field-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invoice-editor-page .invoice-schedule .invoice-field-grid>.invoice-number-field{grid-column:1/-1}.invoice-editor-page .invoice-schedule .invoice-field-grid>.admin-date-field{grid-column:1;width:min(100%,190px);justify-self:start}.invoice-editor-page .invoice-details>.invoice-card-heading{display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:12px}.invoice-editor-page .invoice-details>.invoice-card-heading h2{min-width:0;margin:0}.invoice-editor-page .invoice-schedule .invoice-field-grid>.invoice-delivery-field{grid-column:2;width:min(100%,190px);min-width:0}.ingredient-nutrition-editor{display:grid;gap:16px;min-width:0}.ingredient-nutrition-editor h2,.ingredient-nutrition-editor p{margin:0}.nutrition-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px}.nutrition-conversion{max-width:260px}.nutrition-summary{width:100%;border-collapse:separate;border-spacing:0;border:1px solid var(--line);border-radius:16px;background:var(--invoice-surface,#f4f7ec);font-size:.85rem;font-variant-numeric:tabular-nums}.product-detail>.nutrition-summary{margin-bottom:32px}.nutrition-summary td,.nutrition-summary th{padding:12px 14px;border-bottom:1px solid var(--line);text-align:right}.nutrition-summary th:first-child{text-align:left;color:var(--muted);font-weight:500}.nutrition-summary thead th{background:var(--studio-olive-mist);color:var(--studio-olive);font-size:.75rem;font-weight:600}.nutrition-summary thead th:first-child{border-top-left-radius:15px;color:var(--studio-olive);font-weight:600}.nutrition-summary thead th:last-child{border-top-right-radius:15px}.nutrition-summary td{color:var(--ink);font-weight:600}.nutrition-summary tbody tr:first-child>*{color:var(--ink);font-weight:700}.nutrition-summary tbody tr:last-child td,.nutrition-summary tbody tr:last-child th{border-bottom:0}@media (max-width:480px){.nutrition-summary td,.nutrition-summary th{padding:10px 8px}.nutrition-summary{font-size:.78rem}}.invoice-editor-page .invoice-customer-field,.invoice-editor-page .invoice-phone-field{min-width:0}.nilo-invoice-document{color:var(--ink);background:var(--invoice-surface,#f4f7ec);border-radius:16px}.nilo-invoice-brand img{display:block;object-fit:contain;object-position:left center}.nilo-invoice-contact p{margin:12px 0 0;font-size:.76rem;line-height:1.7}.nilo-invoice-contact a{color:inherit;text-decoration:none}.nilo-invoice-document>header{border-bottom-color:var(--studio-olive);gap:24px}.nilo-invoice-document>header>.nilo-invoice-contact{text-align:right;min-width:0;overflow-wrap:anywhere}.nilo-invoice-number strong{display:block;margin-top:8px}.nilo-invoice-document .invoice-meta{gap:20px}.nilo-invoice-document .invoice-meta dd{margin:0}.nilo-invoice-document table :is(th,td):first-child{width:40%;text-align:left}.nilo-invoice-document table :is(th,td):nth-child(2){width:10%;text-align:center}.nilo-invoice-document table :is(th,td):nth-child(3),.nilo-invoice-document table :is(th,td):nth-child(4){width:25%;text-align:right}.nilo-invoice-document thead th{background:var(--studio-olive)}.nilo-invoice-document .nilo-invoice-item td{vertical-align:top;padding-bottom:8px}.nilo-invoice-item small{display:block;margin-top:4px;color:var(--muted)}.nilo-invoice-document table .nilo-invoice-nutrition-row td{width:auto;border-top:0;padding-top:0;padding-bottom:16px}.nilo-invoice-document tbody+tbody .nilo-invoice-item td{border-top:1px solid var(--line)}.nilo-invoice-nutrition-label{margin:0 0 4px;color:var(--muted);font-size:.66rem}.nilo-invoice-nutrition-group+.nilo-invoice-nutrition-group{margin-top:10px}.invoice-detail-page .detail-header-actions>:is(.invoice-action-icon,.admin-delete-trigger.icon-only){top:0;display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border-radius:50%}.nilo-invoice-nutrition-pills{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:6px}.nilo-invoice-nutrition-pills .product-ingredient-pill{margin:0;padding:5px 9px;min-height:0;font-size:.66rem;gap:5px;background:var(--studio-olive-mist);color:var(--studio-olive)}.nilo-invoice-document .invoice-totals{margin-bottom:0;break-inside:avoid}@media (max-width:600px){.nilo-invoice-document{padding:22px 16px}.nilo-invoice-brand img{width:115px;height:76px}.nilo-invoice-document .invoice-meta,.nilo-invoice-document>header{flex-direction:row}.nilo-invoice-document>header h2{font-size:1.45rem}.nilo-invoice-document :is(th,td){padding:12px 8px;font-size:.7rem}.nilo-invoice-document .invoice-meta{padding:24px 0}.nilo-invoice-document .invoice-meta dl{gap:6px 10px}}@page{size:A4;margin:0;@top-left{content:none}@top-center{content:none}@top-right{content:none}@bottom-left{content:none}@bottom-center{content:none}@bottom-right{content:none}}@media print{body:has(.invoice-print-page){background:white!important}body:has(.invoice-print-page) :is(.admin-sidebar,.admin-topbar,.admin-header-nav,.no-print){display:none!important}body:has(.invoice-print-page) :is(.admin-shell,.admin-main,.admin-content-page,.admin-route-stage,.invoice-detail-page,.invoice-print-page){width:100%;max-width:none;min-height:0;margin:0;padding:0;overflow:visible;transform:none;animation:none;box-shadow:none;background:white}.nilo-invoice-document{width:100%;max-width:none;margin:0;padding:15mm;box-sizing:border-box;background:white;border:0;border-radius:0;box-shadow:none;print-color-adjust:exact;-webkit-print-color-adjust:exact;font-size:11pt}.nilo-invoice-document .invoice-price-table{overflow:visible}.nilo-invoice-document thead{display:table-header-group}.nilo-invoice-document .nilo-invoice-nutrition-pills,.nilo-invoice-document tbody{break-inside:avoid}}.invoice-print-only{display:none}.nilo-invoice-document{--ink:#000;--muted:#000;--line:#ccc;--black:#000;--studio-olive:#000;--studio-olive-mist:#fff;color:#000;background:#fff}.nilo-invoice-contact p{margin-top:0;color:#000}.nilo-invoice-document .invoice-price-table{border-color:#ccc;border-radius:14px}.nilo-invoice-document table{border-collapse:separate;border-spacing:0}.nilo-invoice-document thead th:first-child{border-top-left-radius:13px}.nilo-invoice-document thead th:last-child{border-top-right-radius:13px}.nilo-invoice-document .nilo-invoice-nutrition-pills .product-ingredient-pill{color:#000;background:#fff;border:1px solid #ccc}@media print{.invoice-print-only{display:block}}.product-detail>.nutrition-summary:has(+.nutrition-sugar-note){margin-bottom:12px}.nutrition-sugar-note{margin:12px 0 32px;line-height:1.5}.invoice-sugar-disclosure{margin-top:16px}.invoice-sugar-disclosure>.product-ingredient-pill{display:inline-flex;gap:6px}.invoice-sugar-disclosure sup{align-self:flex-start;line-height:1}.invoice-sugar-disclosure .product-photo-hint{margin:10px 0 0}.nilo-invoice-sugar-note{margin:10px 0 0;font-size:.66rem;line-height:1.5;color:#000}.nutrition-sugar-note p{margin:6px 0}.invoice-sugar-notes{margin-top:18px;font-size:.75rem;line-height:1.5;color:var(--muted)}.invoice-sugar-notes>p{margin:0 0 10px}.invoice-sugar-note-row{display:grid;grid-template-columns:18px minmax(0,1fr);gap:6px;break-inside:avoid}.invoice-sugar-note-row sup{font-size:.65rem;line-height:1.3}.nilo-invoice-document .invoice-sugar-notes{color:#000;font-size:.7rem}.sweetener-fields{align-items:end}.sweetener-select-field{min-width:0;display:grid;gap:8px}.sweetener-select-field>.admin-select{width:100%;min-width:0}.record-editor-grid .sweetener-fields input,.sweetener-fields .admin-select-trigger{box-sizing:border-box;width:100%;height:48px;min-height:48px}.ingredient-type-field{display:grid;gap:8px;justify-items:start}.ingredient-nutrition-height{min-width:0}.ingredient-nutrition-height[data-ready=true]{transition:height .34s cubic-bezier(.32,.72,0,1)}@media (prefers-reduced-motion:reduce){.ingredient-nutrition-height[data-ready=true]{transition:none;overflow:visible!important}}.invoice-sugar-note-row{display:block}