*{box-sizing:border-box}html{font-size:16px}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1e332b;background:#f4f5f2;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}a{color:inherit;text-underline-offset:4px}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #bc873f;outline-offset:3px}[hidden]{display:none!important}h1,h2,h3,p{margin-top:0}h1{font-size:2rem;letter-spacing:-.05em;font-weight:550;line-height:1.2}h2{font-size:1.3rem;letter-spacing:-.025em;font-weight:600}h3{font-size:1.05rem;font-weight:600}.eyebrow{font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;font-weight:650;color:#587063;margin-bottom:.7rem}.muted{color:#66796e}.small{font-size:.875rem}.primary,.secondary,.text-button,.danger{display:inline-flex;justify-content:center;align-items:center;gap:.5rem;min-height:44px;padding:.7rem 1.1rem;border-radius:5px;font-size:.9rem;font-weight:600;text-decoration:none;border:1px solid transparent}.primary{background:#173f2f;color:#fff;border-color:#173f2f}.primary:hover{background:#0c2d20}.secondary{background:#fff;border-color:#d2dad2;color:#234435}.secondary:hover{border-color:#6c8c76}.text-button{padding:.5rem .7rem;background:transparent;color:#38634c}.danger{background:#fff5f2;border-color:#e7b8ab;color:#9c382a}.icon-button{background:none;border:0;font-size:1.6rem;width:44px;height:44px;color:#425c4c}.wordmark{text-decoration:none;display:inline-flex;flex-direction:column;font-size:2.1rem;font-weight:850;letter-spacing:-.08em;line-height:1}.wordmark small{font-size:.8rem;font-weight:450;letter-spacing:.03em;margin:.35rem 0 0 .2rem}.boot{display:grid;place-items:center;min-height:100dvh;color:#365c47}.auth-layout{min-height:100dvh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{padding:4rem clamp(2rem,6vw,7rem);background:#143a2d;color:#f2f4e9;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;min-height:100dvh}.auth-brand .eyebrow{color:#c5ba90}.auth-brand h1{font-family:Georgia,serif;font-size:clamp(2.8rem,5vw,5.7rem);font-weight:400;line-height:1.05;letter-spacing:-.05em}.auth-brand p:not(.eyebrow){color:#c1d0c2;line-height:1.9}.auth-brand>a:last-child{font-size:.875rem}.auth-panel{display:grid;place-items:center;padding:3rem}.auth-panel form{width:100%;max-width:380px}.auth-panel h2{font-family:Georgia,serif;font-weight:400;font-size:2.8rem;margin-bottom:.7rem}.auth-panel form>.primary{width:100%;margin:.5rem 0 1.4rem}label{display:flex;flex-direction:column;gap:.4rem;font-size:.875rem;font-weight:550;color:#34513f}input,select,textarea{width:100%;min-width:0;padding:.7rem .8rem;border:1px solid #c8d2c8;border-radius:4px;background:#fff;color:#20362b;font-size:1rem;min-height:44px}textarea{resize:vertical}.auth-panel label,.password-gate label{margin-top:1.15rem}.error{color:#ac3029;font-size:.9rem;min-height:1rem;margin:.65rem 0}.error-banner{background:#fff0ea;color:#923526;border:1px solid #edc5b6;padding:1rem;border-radius:5px;margin-bottom:1.2rem}.password-gate{min-height:100dvh;display:grid;place-items:center;padding:1.5rem;background:#eaf0e8}.password-gate form{max-width:530px;width:100%;padding:2.5rem}.password-gate h1{font-family:Georgia,serif;font-size:2.4rem}.password-gate .primary{width:100%}.workspace{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100dvh}.sidebar{position:sticky;top:0;height:100dvh;background:#143a2d;color:#e4ecdf;padding:2.5rem 1.1rem 1.3rem;display:flex;flex-direction:column}.sidebar>.wordmark{margin:0 1rem 2.6rem}.sidebar-label{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;margin:0 1rem 1rem;color:#a8bda9}.sidebar nav{display:grid;gap:.35rem}.sidebar nav a{display:flex;gap:.8rem;align-items:center;text-decoration:none;padding:.85rem .9rem;font-size:.9rem;border-radius:5px;color:#cbd8ca}.sidebar nav a span{font-size:1.15rem;width:22px;text-align:center}.sidebar nav a:hover{background:#224a38}.sidebar nav a.active{background:#e8ede0;color:#143a2d;font-weight:600}.sidebar-bottom{margin-top:auto;padding:1.5rem .8rem 0;border-top:1px solid #40614c;font-size:.875rem}.sidebar-bottom small{color:#b9cbb9}.sidebar-bottom a{display:block;margin:.5rem 0}.sidebar-bottom button{background:none;border:0;padding:.5rem 0;color:#e4ecdf}.main-workspace{padding:2.2rem clamp(1.2rem,3vw,3rem);min-width:0}.workspace-header{display:flex;align-items:center;justify-content:space-between;gap:1.3rem;margin-bottom:1.8rem}.workspace-header h1{margin:0}.workspace-header .eyebrow{margin-bottom:.45rem}.header-actions{display:flex;gap:.6rem}.date-toolbar{display:flex;align-items:end;flex-wrap:wrap;gap:.6rem;margin-bottom:1.6rem;border-bottom:1px solid #d8dfd6;padding-bottom:1.1rem}.date-toolbar label{font-size:.75rem}.date-toolbar input{font-size:.875rem;padding:.45rem .6rem;max-width:165px}.date-toolbar .text-button{font-size:.8rem;padding:.5rem}.panel{background:#fff;border:1px solid #dce2d9;border-radius:7px;padding:1.4rem;box-shadow:0 3px 8px rgba(20,42,29,.02)}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.2rem}.panel-heading h2{margin:0}.panel-heading p{margin:.25rem 0 0}.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin-bottom:1.4rem}.metric{padding:1.35rem;min-width:0}.metric>span{display:block;font-size:.875rem;color:#647568}.metric strong{display:block;font-size:clamp(1.5rem,2.6vw,2.3rem);letter-spacing:-.055em;font-weight:550;margin:.5rem 0;overflow-wrap:anywhere}.metric p{font-size:.75rem;color:#657768;margin:0}.metric.featured{background:#173f2f;color:#fff;border-color:#173f2f}.metric.featured>span,.metric.featured p{color:#c0d0c0}.two-column{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:1.4rem;margin-bottom:1.4rem}.balance-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-bottom:1.4rem}.balance-strip .panel{padding:1rem 1.3rem}.balance-strip span{font-size:.875rem;color:#637c67}.balance-strip strong{display:block;font-size:1.35rem;font-weight:550;margin-top:.3rem}.empty{padding:2.4rem 1rem;text-align:center;color:#6e7d71}.empty strong{display:block;color:#355241;font-size:1.1rem;margin-bottom:.45rem}.empty p{max-width:440px;margin:.2rem auto 1.2rem;font-size:.9rem}.table-wrap{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:.875rem;text-align:left}th{font-weight:550;color:#64786b;font-size:.75rem;padding:.85rem .8rem;background:#f6f8f4;border-bottom:1px solid #d9e1d7;white-space:nowrap}td{padding:1rem .8rem;border-bottom:1px solid #e6ebe2;vertical-align:top}tr:last-child td{border-bottom:0}td strong{font-weight:600}td small{display:block;color:#708171;font-size:.75rem;margin-top:.2rem}.money{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.badge{display:inline-flex;align-items:center;padding:.22rem .6rem;border-radius:3px;font-size:.75rem;white-space:nowrap;background:#edf1e9;color:#496044}.badge.pending{background:#fbf1d8;color:#846722}.badge.confirmed,.badge.delivered,.badge.paid{background:#e4f1e1;color:#336c3d}.badge.cancelled{background:#f8e9e5;color:#924d3e}.badge.dispatched{background:#e6edf5;color:#426580}.table-link{background:none;border:0;padding:0;color:#214d34;font-size:inherit;font-weight:600;text-align:left;text-decoration:underline;text-underline-offset:3px}.filters{display:flex;flex-wrap:wrap;gap:.7rem;align-items:end;margin-bottom:1rem}.filters label:first-child{flex:1;min-width:180px}.filters label{min-width:140px}.filters input,.filters select{font-size:.9rem}.pagination{display:flex;justify-content:space-between;align-items:center;gap:.8rem;margin-top:1rem;border-top:1px solid #dfe5db;padding-top:1rem;font-size:.875rem;color:#58705e}.pagination>div{display:flex;gap:.5rem}.button-row{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}.note{padding:.9rem 1rem;background:#eff3eb;border-left:3px solid #9bb28d;font-size:.875rem;color:#526749;margin:1rem 0}.note.warning{background:#fcf3df;border-color:#c69d4b;color:#806332}.channel-row{display:grid;grid-template-columns:1fr auto;gap:.5rem;padding:.85rem 0;border-bottom:1px solid #e2e8dc;font-size:.875rem}.channel-row:last-child{border-bottom:0}.channel-row strong{font-weight:550}.chart{width:100%;height:220px;display:block;overflow:visible}.chart text{font:12px system-ui;fill:#60715e}.chart .axis{stroke:#dce3d7;stroke-width:1}.chart .revenue{fill:#234f36}.chart .expense{fill:#c4a368}.chart-legend{display:flex;gap:1.2rem;font-size:.75rem;color:#667761}.chart-legend span:before{content:'';display:inline-block;width:9px;height:9px;margin-right:.4rem;background:#234f36}.chart-legend span+span:before{background:#c4a368}.tabs{display:flex;gap:.35rem;border-bottom:1px solid #d7e0d2;margin-bottom:1.2rem;overflow:auto}.tabs button{border:0;background:none;white-space:nowrap;padding:.8rem 1rem;color:#58734f;font-size:.875rem;border-bottom:2px solid transparent}.tabs button[aria-selected=true]{color:#1d492d;border-color:#224e32;font-weight:650}.report-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.3rem}.report-row{display:flex;justify-content:space-between;gap:1rem;padding:.65rem 0;border-bottom:1px solid #e7ecdf;font-size:.9rem}.report-row.total{font-weight:650;font-size:1rem;border-bottom:2px solid #a7b9a0;padding:1rem 0}.report-row.indent{padding-left:1rem;color:#62775c}.report-label{color:#5d7655;font-size:.75rem;text-transform:uppercase;letter-spacing:.12em;margin:1.1rem 0 .3rem}.admin-footer{font-size:.75rem;color:#6d7e67;margin:2rem 0 0;max-width:900px;line-height:1.65}dialog{width:min(900px,calc(100% - 2rem));max-height:92dvh;border:1px solid #bcccb7;border-radius:9px;padding:0;background:#fbfcf8;color:#233d2c}dialog::backdrop{background:rgba(9,26,16,.58);backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.2rem 1.6rem;border-bottom:1px solid #dce4d5;position:sticky;top:0;background:#fbfcf8;z-index:2}.dialog-heading h2{margin:0}#editor-body{padding:1.4rem 1.6rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.full{grid-column:1/-1}.form-section{margin:1.5rem 0 .8rem;padding-top:1.1rem;border-top:1px solid #dde5d5}.form-section h3{margin-bottom:.4rem}.line-item{display:grid;grid-template-columns:minmax(160px,2fr) 100px 72px 100px 100px 34px;gap:.5rem;align-items:end;padding:.8rem 0;border-bottom:1px solid #e3e9dd}.line-item input,.line-item select{font-size:.9rem;padding:.6rem .5rem}.line-item label{font-size:.75rem}.line-item .icon-button{width:34px}.form-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-top:1.4rem;border-top:1px solid #dce4d4;padding-top:1.2rem}.order-total{font-size:1.4rem;font-weight:550;letter-spacing:-.035em}.details-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}.details-grid>div{padding:.8rem;background:#f0f4ea;border-radius:4px;overflow-wrap:anywhere}.details-grid span{display:block;font-size:.75rem;color:#677e5c}.details-grid strong{font-size:.95rem;font-weight:550}.detail-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin:1rem 0}.journal-line{display:grid;grid-template-columns:2fr 1fr 1fr 34px;gap:.6rem;align-items:end;padding:.6rem 0}.journal-line label{font-size:.75rem}#toast{position:fixed;bottom:1.3rem;right:1.3rem;padding:.9rem 1.3rem;background:#153c29;color:white;border-radius:5px;box-shadow:0 8px 30px #153c2930;z-index:20;max-width:calc(100% - 2rem);font-size:.9rem}.activity-list{list-style:none;padding:0;margin:0}.activity-list li{padding:1rem 0;border-bottom:1px solid #e4e9dd}.activity-list li:last-child{border:0}.activity-list strong{display:block;font-size:.95rem}.activity-list time,.activity-list span{font-size:.8rem;color:#657b5c;display:block}.checkbox-label{display:flex;flex-direction:row;align-items:center;gap:.6rem}.checkbox-label input{width:20px;min-height:20px}
@media(min-width:1700px){.main-workspace{max-width:1680px;width:100%;margin:0 auto}}@media(max-width:1150px){.workspace{grid-template-columns:200px minmax(0,1fr)}.sidebar{padding-left:.6rem;padding-right:.6rem}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.two-column{grid-template-columns:1fr}.line-item{grid-template-columns:2fr 1fr 1fr}.line-item .icon-button{justify-self:end}}@media(max-width:760px){.workspace{display:block}.sidebar{position:relative;top:auto;height:auto;padding:1rem}.sidebar>.wordmark{font-size:1.5rem;margin:0 0 .6rem}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow-x:auto;gap:.25rem}.sidebar nav a{white-space:nowrap;padding:.65rem;font-size:.8rem}.sidebar nav a span{display:none}.main-workspace{padding:1.3rem 1rem}.workspace-header{align-items:flex-start;gap:.6rem}.workspace-header h1{font-size:1.65rem}.header-actions{flex-direction:column}.header-actions .secondary{display:none}.metric-grid{gap:.65rem}.metric{padding:1rem}.metric strong{font-size:1.65rem}.metric>span{font-size:.8rem}.balance-strip{grid-template-columns:1fr}.balance-strip .panel{display:flex;justify-content:space-between;align-items:center}.balance-strip strong{margin:0}.report-grid{grid-template-columns:1fr}.date-toolbar .text-button{padding:.3rem}.date-toolbar label{flex:1;min-width:118px}.date-toolbar input{max-width:none}.date-toolbar button{font-size:.8rem}.panel{padding:1rem}.panel-heading{align-items:flex-start}.panel-heading h2{font-size:1.1rem}.auth-layout{display:block}.auth-brand{min-height:0;padding:2rem}.auth-brand>div{display:none}.auth-brand>a:last-child{margin-top:1.5rem}.auth-panel{padding:2rem 1.4rem}.form-grid,.details-grid{grid-template-columns:1fr}.line-item{grid-template-columns:1fr 1fr}.journal-line{grid-template-columns:1fr 1fr}.journal-line label:first-child{grid-column:1/-1}.dialog-heading,#editor-body{padding:1rem}.form-footer{align-items:flex-start;flex-wrap:wrap}.password-gate form{padding:1.5rem}.two-column{gap:1rem}.button-row{justify-content:flex-start}.tabs button{padding:.65rem}.chart{height:190px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media print{.sidebar,.workspace-header .header-actions,.date-toolbar button,.admin-footer,.tabs,.button-row,.filters,.pagination,#toast{display:none!important}.workspace{display:block}.main-workspace{padding:0}.panel{box-shadow:none;break-inside:avoid}.metric-grid{grid-template-columns:repeat(4,1fr)}body{background:#fff}.table-wrap{overflow:visible}.workspace-header h1{font-size:22pt}}
/* Real MOFS logo treatment for the admin entry and sidebar. */
.admin-logo{display:inline-flex;align-items:center;justify-content:center;width:280px;min-height:104px;padding:.75rem;background:#fff;border:1px solid rgba(255,255,255,.28);border-radius:7px;text-decoration:none;box-shadow:0 14px 36px rgba(5,20,13,.16)}
.admin-logo img{display:block;width:100%;height:82px;object-fit:contain}
.admin-logo-sidebar{width:188px;min-height:76px;margin:0 1rem 2.2rem;padding:.45rem;box-shadow:none;border-color:rgba(255,255,255,.18)}
.admin-logo-sidebar img{height:60px}
@media(max-width:760px){.admin-logo{width:220px;min-height:82px}.admin-logo img{height:62px}.admin-logo-sidebar{margin:0 0 .7rem;width:164px;min-height:64px}.admin-logo-sidebar img{height:50px}}

/* Use the transparent, high-resolution mark without a white logo box. */
html,body{max-width:100%;overflow-x:hidden}
.admin-logo{width:min(260px,100%);min-height:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;overflow:visible}
.admin-logo img{display:block;width:100%;height:auto;aspect-ratio:1600 / 910;object-fit:contain;object-position:center}
.auth-brand .admin-logo img,.sidebar .admin-logo img{filter:brightness(0) invert(1);}
.admin-logo-sidebar{width:178px;min-height:0;margin:0 1rem 2.2rem;padding:0;}
.admin-logo-sidebar img{height:auto}
@media(max-width:760px){.admin-logo{width:min(210px,100%)}.admin-logo-sidebar{width:152px;margin:0 0 .7rem}.main-workspace,.auth-panel{max-width:100%;overflow-x:hidden}}

/* Website editor uses the existing admin workspace and authentication. */
.website-intro{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:28px}.website-intro p{max-width:760px;margin-top:10px}.website-intro>a{flex:none;text-decoration:none}.website-section-title{display:flex;align-items:center;gap:14px;font-size:24px;margin:30px 0 18px}.website-section-title span{font:400 12px var(--sans,Arial);color:#657465}.website-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.website-card{padding:0;overflow:hidden;display:flex;flex-direction:column}.website-card-photo{height:180px;background:#e9eee4;display:flex;align-items:center;justify-content:center;border-bottom:1px solid #d5decf}.website-card-photo img{width:100%;height:100%;object-fit:contain}.website-no-photo{font-size:13px;color:#61715d;text-align:center;padding:18px}.website-card-copy{padding:20px;display:flex;flex-direction:column;flex:1;gap:10px}.website-card h3{font-size:17px;line-height:1.45;margin:0}.website-price{font-size:23px;font-weight:600}.website-price small{font-size:12px;font-weight:400}.website-updated{font-size:11px;color:#647260;margin-top:auto}.website-card-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:5px}.website-card-actions .primary{font-size:12px;padding:10px 13px}.website-fields{border:0;margin:0;padding:0;display:grid;gap:18px;min-width:0}.website-fields:disabled{opacity:.6}.website-fields input[type=file]{max-width:100%;padding:10px;border:1px solid #bdcbb5;background:#fff}.website-photo-preview{height:265px;background:#edf0e6;border:1px solid #d6decd;display:flex;align-items:center;justify-content:center;overflow:hidden}.website-photo-preview img{height:100%;width:100%;object-fit:contain}.website-photo-preview[data-fit=cover] img{object-fit:cover}.website-pack-preview{padding:16px;background:#edf2e5;border:1px solid #d4dfc8;font-size:13px}.website-pack-preview>div{display:flex;flex-wrap:wrap;gap:9px;margin-top:10px}.website-pack-preview span{display:flex;gap:12px;padding:7px 10px;background:white;border:1px solid #dbe3d2;font-size:12px}.website-history-row{display:grid;grid-template-columns:100px minmax(0,1fr) auto;gap:16px;align-items:center;border-bottom:1px solid #d6decd;padding:20px 0}.website-history-photo{height:90px;display:grid;place-items:center;background:#edf0e6}.website-history-photo img{width:100%;height:90px;object-fit:contain}.website-history-row p{margin-top:5px}.website-history .error{margin-top:16px}.date-toolbar[hidden]{display:none!important}@media(max-width:1200px){.website-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}@media(max-width:650px){.website-grid{grid-template-columns:1fr}.website-intro{flex-direction:column;gap:16px}.website-card-photo{height:210px}.website-history-row{grid-template-columns:70px minmax(0,1fr);gap:12px}.website-history-row>button,.website-history-row>.badge{grid-column:2;justify-self:start}.website-photo-preview{height:220px}.website-section-title{font-size:22px;flex-wrap:wrap}}
