body[data-florist] #app{max-width:1180px}body[data-florist] #nav{max-width:1180px;width:min(100%,1180px)}.florist-shell{--fl-accent:var(--violet,#6b507f);--fl-soft:var(--soft,#eae1ef);--fl-line:var(--border,#e1d7e7);--fl-muted:var(--muted,#75677f);color:var(--ink,#34283e);padding-bottom:15px}.florist-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 0 21px}.florist-header h1{font-size:36px;letter-spacing:-1px;margin:10px 0}.florist-header p{max-width:540px;color:var(--fl-muted);margin:0;font-size:15px}.florist-header .eyebrow,.florist-detail-heading .eyebrow{color:var(--fl-muted);font-size:11px}.florist-refresh{flex-shrink:0;background:var(--card,#fffdfd);border:1px solid var(--fl-line);font-size:14px}.florist-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:6px 0 25px}.florist-tabs:has([data-filter="all"]){grid-template-columns:repeat(4,minmax(0,1fr))}.florist-tabs button{text-align:left;border:1px solid var(--fl-line);background:var(--card,#fffdfd);display:flex;align-items:center;justify-content:space-between;gap:10px;padding:17px;font-size:14px}.florist-tabs button b{font-size:25px;font-weight:650}.florist-tabs button.active{background:var(--fl-accent);color:white;border-color:var(--fl-accent)}.florist-list-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:0 0 13px}.florist-list-heading h2{font-size:20px;margin:0}.florist-list-heading small{color:var(--fl-muted)}.florist-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.florist-card,.florist-panel{background:var(--card,#fffdfd);border:1px solid var(--fl-line);border-radius:20px;padding:22px;min-width:0}.florist-card h2{font-size:21px;margin:18px 0 7px}.florist-card-top,.florist-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.florist-status{background:#faf0da;color:#826320;font-size:11px;border-radius:8px;padding:5px 9px;font-weight:650}.florist-status.collecting{background:#eee7f5;color:#70528e}.florist-status.ready{background:#e7f0e7;color:#365d4a}.florist-time{font-size:12px;font-weight:600;color:var(--fl-muted)}.florist-customer{font-size:14px;overflow-wrap:anywhere}.florist-wish{border-left:2px solid var(--border,#e1d7e7);padding:0 0 0 12px;font-size:13px;white-space:pre-wrap;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;color:var(--muted,#75677f)}.florist-card-bottom{border-top:1px solid var(--border,#e1d7e7);padding-top:14px;margin-top:18px}.florist-card-bottom>span{font-size:12px;color:var(--fl-muted);flex:1;min-width:80px}.florist-card-bottom button{font-size:13px;color:var(--fl-accent);background:var(--fl-soft);flex-shrink:0}.florist-shelf-badge{display:inline-block;border:1px solid var(--fl-line);padding:7px 12px;border-radius:8px;color:var(--fl-accent)}.florist-footnote{font-size:12px;color:var(--fl-muted);margin:22px 0 0}.florist-incoming{background:#fff4df;border:1px solid #ead9b6;border-radius:18px;padding:18px;margin-bottom:24px}.florist-incoming h2{font-size:17px}.florist-incoming h2 span{font-size:13px}.florist-incoming-card{display:flex;align-items:center;justify-content:space-between;gap:14px}.florist-incoming-card+article{border-top:1px solid #ead9b6;padding-top:14px;margin-top:14px}.florist-incoming-card p{font-size:13px;margin:5px 0;color:#726044}.florist-incoming-card button{background:#fff9ec;font-size:13px;flex-shrink:0}.florist-empty{grid-column:1/-1;background:var(--card,#fffdfd);border:1px dashed var(--border,#e1d7e7);border-radius:20px;text-align:center;padding:38px 22px;color:var(--fl-muted)}.florist-empty>span{font-size:37px;color:var(--violet,#6b507f)}.florist-empty h3{font-size:20px;margin:12px 0}.florist-empty p{max-width:460px;margin:8px auto;font-size:14px}.florist-back{background:transparent;color:var(--fl-accent);padding:5px 0;margin-top:8px}.florist-detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:16px 0 24px}.florist-detail-heading h1{font-size:34px;margin-bottom:0}.florist-detail-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(260px,1fr);gap:20px;align-items:start}.florist-panel h2{font-size:18px}.florist-detail-grid>div .florist-panel+.florist-panel{margin-top:18px}.florist-facts{margin:0}.florist-facts>div+div{margin-top:17px}.florist-facts dt{font-size:12px;color:var(--fl-muted);margin-bottom:5px}.florist-facts dd{margin:0;font-size:15px;overflow-wrap:anywhere}.florist-comment{white-space:pre-wrap;border-left:2px solid var(--border,#e1d7e7);padding-left:12px;line-height:1.55}.florist-item{display:flex;gap:15px;padding:16px 0;border-top:1px solid var(--border,#e1d7e7)}.florist-item-body{flex:1;min-width:0}.florist-item-title{display:flex;gap:10px;justify-content:space-between}.florist-item-title h3{font-size:15px;overflow-wrap:anywhere}.florist-item-title b{white-space:nowrap;font-size:13px}.florist-composition{border:0;margin:10px 0 0;padding:0;font-size:13px}.florist-composition summary{color:var(--fl-accent)}.florist-composition ul{list-style:none;padding:0;margin:10px 0 0}.florist-composition li{display:flex;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid var(--border,#e1d7e7)}.florist-composition li b{white-space:nowrap;font-weight:500}.florist-photo{width:104px;height:116px;flex-shrink:0;background:var(--bg,#f4f1f6);display:grid;place-items:center;border-radius:12px;overflow:hidden;text-align:center;color:var(--fl-muted);font-size:11px}.florist-photo img{width:100%;height:100%;object-fit:cover}.florist-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.florist-actions button{width:100%;font-size:14px}.florist-shell .primary,.florist-modal .primary{background:var(--fl-accent,var(--violet,#6b507f));color:white}.florist-actions .subtle{font-size:12px}.florist-progress>p{font-size:14px}.florist-progress .caption{font-size:12px}.florist-ready-shelf{display:flex;align-items:center;gap:20px;margin:18px 0 22px;background:var(--fl-soft);border-radius:15px;padding:20px}.florist-ready-shelf strong{font-size:46px;line-height:1;margin-left:auto;color:var(--fl-accent)}.florist-ready-shelf span{font-size:14px;max-width:100px}.florist-warning{background:#fff3dc;border:1px solid #ecd9b4;padding:14px;border-radius:12px;color:#785b22;font-size:13px}.florist-handoff{background:#fff6e7;border:1px solid #e9d8b8;border-radius:18px;padding:20px;margin:0 0 20px}.florist-handoff h2{margin:7px 0;font-size:21px}.florist-handoff .florist-actions button{width:auto}.florist-modal p,.florist-modal li{font-size:15px;line-height:1.55}.florist-modal li+li{margin-top:12px}.florist-shelves{border:0;padding:0;margin:24px 0;display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.florist-shelves legend{font-size:13px;margin-bottom:12px;color:var(--muted,#75677f)}.florist-shelves label{position:relative;margin:0;cursor:pointer}.florist-shelves input{position:absolute;opacity:0;width:1px;height:1px}.florist-shelves span{display:grid;place-items:center;border:1px solid var(--border,#e1d7e7);background:var(--soft,#eae1ef);border-radius:15px;padding:16px;font-size:25px;color:var(--violet,#6b507f);font-weight:650}.florist-shelves input:checked+span{background:var(--violet,#6b507f);color:#fff;border-color:var(--violet,#6b507f)}.florist-shelves input:focus-visible+span{outline:3px solid #ab90c0;outline-offset:2px}.florist-people button{text-align:left;border:1px solid var(--border,#e1d7e7);background:var(--soft,#eae1ef)}
@media(max-width:680px){.florist-header{padding:13px 0 18px;gap:10px;align-items:flex-start}.florist-header h1{font-size:27px;letter-spacing:-.7px}.florist-header p{font-size:13px;line-height:1.5}.florist-refresh{font-size:11px;padding:9px;min-height:38px;margin-top:24px}.florist-tabs,.florist-tabs:has([data-filter="all"]){gap:6px;margin:2px 0 22px}.florist-tabs button{display:block;padding:12px 9px;font-size:11px;line-height:1.3;border-radius:13px}.florist-tabs button span{display:block;min-height:28px}.florist-tabs button b{font-size:24px;display:block;margin-top:7px}.florist-grid{grid-template-columns:1fr;gap:13px}.florist-list-heading{align-items:baseline;gap:8px}.florist-list-heading h2{font-size:19px}.florist-list-heading small{font-size:10px}.florist-card,.florist-panel{padding:18px}.florist-card h2{font-size:21px}.florist-card-top{gap:7px}.florist-time{font-size:11px}.florist-incoming{padding:15px}.florist-incoming-card{display:block}.florist-incoming-card button{width:100%;margin-top:8px}.florist-detail-heading{gap:12px;flex-wrap:wrap;margin:10px 0 20px}.florist-detail-heading h1{font-size:29px}.florist-detail-grid{grid-template-columns:1fr;gap:16px}.florist-progress{grid-row:2}.florist-item{gap:12px;flex-wrap:wrap}.florist-photo{width:86px;height:98px}.florist-item-title{flex-wrap:wrap;gap:4px}.florist-item-title h3{font-size:14px}.florist-facts dd{font-size:14px}.florist-handoff .florist-actions button{flex:1}.florist-composition ul{min-width:150px}.florist-footnote{font-size:11px}}

/* The focused workspace owns its chrome. Leaving it preserves the open order. */
.florist-work-controls{display:flex;justify-content:flex-end;padding:4px 0 0}
.florist-work-toggle{background:transparent;border:1px solid var(--border,#e1d7e7);color:var(--violet,#6b507f);font-size:12px;font-weight:550;min-height:40px;padding:8px 13px;border-radius:12px}
body[data-florist-work]{
 --fl-safe-top:calc(max(env(safe-area-inset-top,0px),var(--fl-system-top,var(--tg-safe-area-inset-top,0px))) + var(--fl-content-top,var(--tg-content-safe-area-inset-top,0px)));
 --fl-safe-right:calc(max(env(safe-area-inset-right,0px),var(--fl-system-right,var(--tg-safe-area-inset-right,0px))) + var(--fl-content-right,var(--tg-content-safe-area-inset-right,0px)));
 --fl-safe-bottom:calc(max(env(safe-area-inset-bottom,0px),var(--fl-system-bottom,var(--tg-safe-area-inset-bottom,0px))) + var(--fl-content-bottom,var(--tg-content-safe-area-inset-bottom,0px)));
 --fl-safe-left:calc(max(env(safe-area-inset-left,0px),var(--fl-system-left,var(--tg-safe-area-inset-left,0px))) + var(--fl-content-left,var(--tg-content-safe-area-inset-left,0px)));
 background:var(--bg,#f4f1f6);
}
body[data-florist-work] #app{max-width:none;min-height:100dvh}
body[data-florist-work] #app>header,body[data-florist-work] #nav,body[data-florist-work] #site-menu-anchor,body[data-florist-work] #site-menu-panel,body[data-florist-work] .site-menu-space,body[data-florist-work] .app-install-button{display:none!important}
body[data-florist-work] #screen{min-height:100dvh;padding:calc(var(--fl-safe-top) + 10px) calc(var(--fl-safe-right) + clamp(16px,2.5vw,44px)) calc(var(--fl-safe-bottom) + 24px) calc(var(--fl-safe-left) + clamp(16px,2.5vw,44px))}
body[data-florist-work] .florist-work-controls{position:sticky;top:var(--fl-safe-top);z-index:8;pointer-events:none;padding:4px 0 8px}
body[data-florist-work] .florist-work-toggle{pointer-events:auto;background:#f4f1f6f5;backdrop-filter:blur(8px)}
body[data-florist-work] .florist-header{padding:8px 0 20px;align-items:center}
body[data-florist-work] .florist-header .eyebrow,body[data-florist-work] .florist-header>div>p,body[data-florist-work] .florist-footnote{display:none}
body[data-florist-work] .florist-header h1{margin:0;font-size:clamp(27px,3vw,36px)}
body[data-florist-work] .florist-refresh{margin:0;min-height:42px}
body[data-florist-work] .florist-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr))}
body[data-florist-work] .florist-tabs{margin-top:0}
body[data-florist-work] .florist-detail-grid{grid-template-columns:minmax(0,2fr) minmax(260px,1fr)}
body[data-florist-work] .florist-detail-grid>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
body[data-florist-work] .florist-detail-grid>div .florist-panel+.florist-panel{margin-top:0}
body[data-florist-work] #sheet{bottom:var(--fl-safe-bottom);width:calc(100% - var(--fl-safe-left) - var(--fl-safe-right));max-width:720px;max-height:calc(100dvh - var(--fl-safe-top) - var(--fl-safe-bottom) - 12px);margin-left:calc(var(--fl-safe-left) + (100% - var(--fl-safe-left) - var(--fl-safe-right) - min(720px,100% - var(--fl-safe-left) - var(--fl-safe-right))) / 2);padding:24px 20px 16px;overflow-y:auto;overscroll-behavior:contain}
body[data-florist-work] #toast{bottom:calc(var(--fl-safe-bottom) + 14px);left:calc(var(--fl-safe-left) + (100% - var(--fl-safe-left) - var(--fl-safe-right)) / 2);max-width:min(540px,calc(100% - var(--fl-safe-left) - var(--fl-safe-right) - 24px))}
body[data-florist-work] #busy{top:calc(var(--fl-safe-top) + 10px);left:calc(var(--fl-safe-left) + 16px);right:auto}
body[data-florist-work] #connection-error{margin:calc(var(--fl-safe-top) + 12px) calc(var(--fl-safe-right) + 16px) 0 calc(var(--fl-safe-left) + 16px)}
@media(max-width:1100px){body[data-florist-work] .florist-detail-grid>div{display:block}body[data-florist-work] .florist-detail-grid>div .florist-panel+.florist-panel{margin-top:18px}}
@media(max-width:680px){body[data-florist-work] .florist-detail-grid{grid-template-columns:1fr}body[data-florist-work] .florist-header{gap:8px}body[data-florist-work] .florist-refresh{font-size:11px;padding:8px}body[data-florist-work] .florist-work-toggle{font-size:11px;min-height:38px}body[data-florist-work] .florist-tabs{margin-bottom:20px}}
@media(max-height:500px) and (min-width:600px){body[data-florist-work] #sheet{padding-top:16px}.florist-shelves{grid-template-columns:repeat(6,1fr);margin:14px 0}.florist-shelves span{padding:10px}.florist-modal h2{margin-bottom:6px}}

/* Shared PDF dialog uses the existing Garden palette outside either workspace shell. */
.order-label-dialog{color:var(--ink,#34283e);overflow-wrap:anywhere}.order-label-dialog .eyebrow{color:var(--muted,#75677f);font-size:12px}.order-label-dialog h2{font-size:24px;margin:10px 0 18px}.order-label-dialog p{line-height:1.55}.order-label-dialog .caption{font-size:13px;color:var(--muted,#75677f)}.order-label-actions{display:grid;gap:10px;margin:22px 0}.order-label-dialog button{background:var(--soft,#eae1ef);color:var(--violet,#6b507f);min-height:46px;font-size:14px}.order-label-dialog button.primary{background:var(--violet,#6b507f);color:#fff}.order-label-error{background:#fff3dc;border:1px solid #ecd9b4;border-radius:12px;padding:14px;color:#785b22}.order-label-filename{font-size:11px;color:var(--muted,#75677f)}.florist-label-button{background:var(--soft,#eae1ef);color:var(--violet,#6b507f);border:1px solid var(--border,#e1d7e7)}
.florist-shelf-overview{margin:0 0 24px;padding:20px;border:1px solid var(--border,#e1d7e7);border-radius:18px;background:var(--card,#fff)}.florist-shelf-heading{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;margin-bottom:16px}.florist-shelf-heading h2{margin:0 0 6px;font-size:20px}.florist-shelf-heading p,.florist-shelf-heading>span{margin:0;font-size:12px;color:var(--muted,#75677f)}.florist-shelf-heading>span{text-align:right}.florist-shelf-filters{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px}.florist-shelf-filters button{display:flex;flex-direction:column;gap:7px;align-items:center;justify-content:center;min-height:78px;padding:10px 7px;border:1px solid var(--border,#e1d7e7);background:var(--soft,#eae1ef);color:var(--violet,#6b507f);border-radius:12px}.florist-shelf-filters button span{font-size:12px}.florist-shelf-filters button b{font-size:25px;line-height:1}.florist-shelf-filters button.active{background:var(--violet,#6b507f);color:#fff}.florist-shelf-warning{margin:14px 0 0;line-height:1.5}
@media(max-width:680px){.florist-shelf-overview{padding:16px}.florist-shelf-heading{display:block}.florist-shelf-heading>span{display:block;text-align:left;margin-top:8px;font-size:11px}.florist-shelf-filters{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.florist-shelf-filters button:first-child{grid-column:1/-1;flex-direction:row;gap:14px;min-height:44px}.florist-shelf-filters button{min-height:66px}.florist-shelf-filters button b{font-size:23px}.florist-shelf-filters button span{font-size:11px}.order-label-dialog h2{font-size:22px}}
/* Local narrowing never changes the authoritative queue and shelf counters. */
.florist-filters{margin:0 0 22px;padding:18px;border:1px solid var(--fl-line);border-radius:18px;background:var(--card,#fffdfd)}
.florist-filter-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
.florist-filter-heading h2{font-size:16px;margin:0}
.florist-filter-reset{background:transparent;color:var(--fl-accent);font-size:12px;padding:6px 0;min-height:36px}
.florist-time-filters{display:flex;flex-wrap:wrap;gap:7px}
.florist-time-filters button{min-height:42px;font-size:13px;padding:9px 13px;border:1px solid var(--fl-line);background:var(--fl-soft);color:var(--fl-accent);border-radius:11px}
.florist-time-filters button.active{background:var(--fl-accent);border-color:var(--fl-accent);color:#fff}
.florist-composition-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.florist-composition-filters label{display:block;margin:0;min-width:0}
.florist-composition-filters label>span{display:block;font-size:12px;color:var(--fl-muted);margin-bottom:6px}
.florist-composition-filters select{width:100%;min-width:0;min-height:44px;background:var(--bg,#f4f1f6);color:var(--ink,#34283e);border:1px solid var(--fl-line);border-radius:11px;font:inherit;font-size:14px;padding:10px}
.florist-filter-note{font-size:12px;color:var(--fl-muted);line-height:1.5;margin:12px 0 0}
.florist-result-count{font-size:12px;color:var(--fl-muted);margin:6px 0 0}
.florist-filter-tags{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0 12px}
.florist-filter-tags span{background:var(--bg,#f4f1f6);border:1px solid var(--fl-line);border-radius:7px;padding:4px 7px;font-size:10px;color:var(--fl-muted)}
.florist-filters button:focus-visible,.florist-filters select:focus-visible{outline:3px solid #ab90c0;outline-offset:2px}
@media(max-width:680px){.florist-filters{padding:15px}.florist-filter-heading{align-items:flex-start}.florist-filter-heading h2{font-size:15px}.florist-time-filters{gap:6px}.florist-time-filters button{font-size:12px;padding:9px 11px}.florist-composition-filters{grid-template-columns:1fr;gap:11px;margin-top:13px}.florist-filter-note{font-size:11px}}

/* Distance-readable queue: the receiving deadline leads; order ID is secondary. */
.florist-grid,body[data-florist-work] .florist-grid{grid-template-columns:1fr;gap:22px}
.florist-card.florist-readable{display:grid;grid-template-columns:190px minmax(0,1fr);padding:0;overflow:hidden;background:#edf5ee;border:2px solid #b7d0bd;border-radius:20px;color:#193b2b}
.florist-card-status{display:flex;background:#f6dfa1;align-items:flex-start;justify-content:center;padding:22px 14px;text-align:center}
.florist-card-status:has(.collecting){background:#d9caec}
.florist-card-status:has(.ready){background:#a9d5b5}
.florist-card-status .florist-status{background:none;color:#44330e;font-size:30px;line-height:1.2;padding:0;border-radius:0;font-weight:750}
.florist-card-status .collecting{color:#39284e}.florist-card-status .ready{color:#173e26}
.florist-card-content{padding:24px 28px;min-width:0}
.florist-priority-row{display:flex;justify-content:space-between;gap:22px;align-items:flex-start}
.florist-deadline{display:flex;flex-direction:column;gap:5px;min-width:0}
.florist-deadline-caption{font-size:14px;color:#44624e}
.florist-deadline strong{font-size:clamp(32px,3.7vw,52px);line-height:1.12;letter-spacing:-1px;overflow-wrap:anywhere}
.florist-exact-time{font-size:15px;color:#44624e}
.florist-order-meta{display:flex;flex-direction:column;align-items:flex-end;gap:10px;flex-shrink:0}
.florist-order-number{font-size:13px;color:#44624e;max-width:250px;overflow-wrap:anywhere;text-align:right}
.florist-order-price{font-size:26px;line-height:1.2}
.florist-readable h2.florist-bouquet-name{font-size:clamp(27px,2.6vw,38px);line-height:1.2;margin:22px 0 8px;overflow-wrap:anywhere}
.florist-order-composition{font-size:19px;line-height:1.45;margin:8px 0;color:#365540;overflow-wrap:anywhere}
.florist-readable .florist-customer{font-size:24px;line-height:1.35;margin:12px 0;font-weight:600}
.florist-readable .florist-filter-tags span{font-size:14px;background:#ffffff8c;border-color:#b7d0bd;color:#365540;padding:6px 9px}
.florist-wishes{border-top:1px solid #b7d0bd;margin-top:15px;padding-top:13px}
.florist-wishes summary{cursor:pointer;font-size:17px;font-weight:650;min-height:36px;line-height:1.5}
.florist-wishes summary span{font-weight:400;margin-left:12px;color:#365540;overflow-wrap:anywhere}
.florist-wishes[open] summary span{display:none}.florist-wishes p{white-space:pre-wrap;font-size:19px;line-height:1.5;overflow-wrap:anywhere}
.florist-readable .florist-card-bottom{border-color:#b7d0bd;margin-top:14px;padding-top:14px}
.florist-readable .florist-card-bottom>span{font-size:17px;color:#365540}
.florist-readable .florist-card-bottom button{min-height:50px;font-size:17px;background:#fff;color:#234e33;border:1px solid #a8c5af}
.florist-readable[data-due="late"] .florist-deadline strong{color:#a12625}
.florist-readable[data-due="soon"] .florist-deadline strong{color:#8b4b06}
.florist-readable[data-due="unknown"] .florist-deadline strong{font-size:clamp(27px,3vw,40px)}
.florist-detail-heading>.florist-status{font-size:25px;padding:15px 22px}
.florist-item-title h3{font-size:24px;line-height:1.3}.florist-item-title b{font-size:18px}
.florist-facts dd{font-size:18px}.florist-detail-heading .eyebrow{font-size:16px}
@media(max-width:900px){.florist-card.florist-readable{grid-template-columns:180px minmax(0,1fr)}.florist-card-status .florist-status{font-size:26px}.florist-card-content{padding:20px}.florist-order-meta{max-width:32%}.florist-order-price{font-size:22px}.florist-readable .florist-customer{font-size:22px}}
@media(max-width:600px){.florist-card.florist-readable{display:block}.florist-card-status{padding:13px 18px;justify-content:flex-start}.florist-card-status .florist-status{font-size:25px}.florist-card-content{padding:18px}.florist-priority-row{flex-wrap:wrap;gap:14px}.florist-order-meta{max-width:none;flex-direction:row;width:100%;align-items:center;justify-content:space-between}.florist-order-number{text-align:left;max-width:55%;font-size:12px}.florist-order-price{font-size:22px}.florist-deadline strong{font-size:34px}.florist-readable h2.florist-bouquet-name{font-size:28px}.florist-order-composition{font-size:17px}.florist-readable .florist-customer{font-size:21px}.florist-wishes summary span{display:block;margin:4px 0;font-size:16px}.florist-item-title h3{font-size:21px}}

/* Tablet work surface: two independent cards in landscape, one in portrait. */
.florist-shell{--fl-size:1;min-width:0}
.florist-work-controls{gap:12px;align-items:center;flex-wrap:wrap}
.florist-size-controls{display:flex;align-items:center;gap:7px;margin-right:auto;pointer-events:auto}
.florist-size-controls button{min-width:44px;min-height:44px;font-size:19px;background:#fff;color:#493457;border:1px solid var(--fl-line)}
.florist-size-controls span{font-size:12px;color:var(--fl-muted);min-width:36px;text-align:center}
.florist-header-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.florist-header-actions button{min-height:44px;font-size:14px;padding:10px 16px}
.florist-history-button{background:var(--fl-soft);color:var(--fl-accent)}
.florist-tabs,body[data-florist-work] .florist-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:12px;gap:10px}
.florist-tabs button span{font-size:calc(17px * var(--fl-size))}
.florist-secondary-nav{display:flex;justify-content:flex-end;margin:0 0 12px}
.florist-secondary-nav button{min-height:40px;padding:8px 14px;font-size:13px;border:1px solid var(--fl-line);background:transparent;color:var(--fl-accent)}
.florist-secondary-nav button.active{background:var(--fl-soft)}
.florist-queue-nav{display:flex;align-items:center;gap:14px;margin:0 0 16px}
.florist-queue-nav .florist-tabs,body[data-florist-work] .florist-queue-nav .florist-tabs{flex:1;min-width:0;margin:0}
.florist-queue-nav .florist-secondary-nav{margin:0;flex-shrink:0}
body[data-florist-work] .florist-header .florist-history-range{display:block;margin-top:8px;font-size:15px}
details.florist-filters{padding:0;overflow:hidden;margin-bottom:18px}
.florist-filter-toggle{display:flex;align-items:center;gap:15px;min-height:52px;padding:10px 18px;cursor:pointer;list-style:none}
.florist-filter-toggle::-webkit-details-marker{display:none}
.florist-filter-toggle strong{font-size:16px}.florist-filter-toggle span{font-size:14px;color:var(--fl-muted);flex:1}
.florist-filter-toggle b{font-size:26px;line-height:1;transition:transform .12s}
.florist-filters[open]>.florist-filter-toggle b{transform:rotate(180deg)}
.florist-filters[open]>.florist-filter-toggle{border-bottom:1px solid var(--fl-line)}
.florist-filter-body{padding:18px}
.florist-deadline strong{font-size:calc(clamp(34px,3.5vw,50px) * var(--fl-size));letter-spacing:-.6px}
.florist-readable[data-due="unknown"] .florist-deadline strong{font-size:calc(32px * var(--fl-size))}
.florist-card-status .florist-status{font-size:calc(28px * var(--fl-size))}
.florist-readable h2.florist-bouquet-name{font-size:calc(clamp(28px,2.6vw,36px) * var(--fl-size))}
.florist-order-composition{font-size:calc(18px * var(--fl-size))}
.florist-readable .florist-customer{font-size:calc(23px * var(--fl-size))}
.florist-readable .florist-filter-tags span{font-size:calc(13px * var(--fl-size))}
.florist-wishes summary{font-size:calc(17px * var(--fl-size))}
.florist-wishes summary span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:3px 0 0;font-size:calc(16px * var(--fl-size))}
.florist-wishes[open] summary span{display:none}
.florist-wishes p{font-size:calc(19px * var(--fl-size))}
.florist-grid{align-items:start}
.florist-form-field{display:flex;flex-direction:column;gap:8px;font-size:17px;font-weight:650;margin:18px 0;min-width:0}
.florist-form-field select,.florist-form-field input{min-height:48px;border:1px solid var(--fl-line,#d8cde0);border-radius:10px;font:inherit;font-weight:400;font-size:18px;padding:10px 12px;max-width:100%;min-width:0;background:#fff;color:#34283e}
.florist-form-field[hidden]{display:none!important}
.florist-form-field small{font-size:13px;font-weight:400;line-height:1.5;color:var(--fl-muted,#75677f)}
.florist-personal-credit{padding:14px;background:#edf5ee;border-radius:12px;font-size:18px;line-height:1.5}
.florist-personal-credit small{font-size:14px}
.florist-history-filters{padding:20px;border:1px solid var(--fl-line);border-radius:18px;background:#fff;margin-bottom:20px}
.florist-history-filters>.florist-form-field{max-width:500px;margin-bottom:0}
.florist-date-range{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.florist-date-range label{flex:1;min-width:140px;margin-bottom:0}
.florist-date-range button{min-height:48px}
.florist-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.florist-metrics article{border:1px solid #b7d0bd;border-radius:18px;background:#edf5ee;padding:22px;display:flex;flex-direction:column;gap:12px;min-width:0;color:#193b2b}
.florist-metrics span{font-size:17px}.florist-metrics strong{font-size:calc(38px * var(--fl-size));line-height:1.2;overflow-wrap:anywhere}.florist-metrics small{font-size:13px;line-height:1.5}
.florist-history-note{font-size:14px;line-height:1.6;color:var(--fl-muted)}
.florist-days{background:#fff;border:1px solid var(--fl-line);border-radius:14px;padding:14px 18px;margin:20px 0}
.florist-days summary{min-height:28px;cursor:pointer;font-size:18px;font-weight:650}
.florist-table-wrap{overflow-x:auto;max-height:360px;margin-top:12px}.florist-days table{width:100%;border-collapse:collapse;text-align:left;font-size:16px}.florist-days th,.florist-days td{padding:10px;border-bottom:1px solid var(--fl-line)}
.florist-history-title{font-size:24px;margin-top:28px}
.florist-history-list{display:grid;gap:12px;margin:16px 0}
.florist-history-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,28%);gap:20px;background:#fff;padding:20px;border:1px solid var(--fl-line);border-radius:16px;overflow-wrap:anywhere}
.florist-history-row>div{display:flex;flex-direction:column;gap:7px}.florist-history-row strong{font-size:21px}.florist-history-row span{font-size:14px;color:var(--fl-muted)}.florist-history-row p{font-size:17px;margin:4px 0;line-height:1.5}
.florist-link-button{margin-top:16px;min-height:44px;background:transparent;color:var(--fl-accent);border:1px solid var(--fl-line)}
@media(min-width:900px) and (orientation:landscape){
 .florist-grid,body[data-florist-work] .florist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 .florist-card.florist-readable{display:flex;flex-direction:column;min-width:0;height:100%}
 .florist-card-status{padding:14px 20px;justify-content:flex-start;text-align:left}
 .florist-card-content{padding:20px;display:flex;flex-direction:column;flex:1}
 .florist-priority-row{flex-direction:column;gap:12px}
 .florist-order-meta{max-width:none;width:100%;flex-direction:row;align-items:center;justify-content:space-between;gap:10px}
 .florist-order-number{text-align:left;max-width:58%}
 .florist-deadline strong{font-size:calc(clamp(34px,3vw,44px) * var(--fl-size))}
 .florist-readable h2.florist-bouquet-name{font-size:calc(29px * var(--fl-size));margin-top:16px}
 .florist-order-price{font-size:23px}
 .florist-readable .florist-card-bottom{gap:10px;flex-wrap:wrap}
 .florist-empty{grid-column:1/-1}
}
@media(max-width:680px){
 .florist-header-actions{justify-content:flex-start}.florist-header{flex-wrap:wrap}
 .florist-tabs button{padding:12px 9px;min-height:66px}.florist-tabs button span{font-size:calc(14px * var(--fl-size))}
 .florist-filter-toggle{gap:10px;padding:10px 14px}.florist-filter-toggle span{font-size:12px}
 .florist-size-controls button{min-width:42px;padding:8px}.florist-work-controls{gap:6px}
 .florist-metrics{grid-template-columns:1fr 1fr;gap:10px}.florist-metrics article{padding:16px}.florist-metrics article:last-child{grid-column:1/-1}.florist-metrics strong{font-size:32px}
 .florist-history-row{grid-template-columns:1fr;gap:10px}.florist-history-filters{padding:16px}
 .florist-form-field select,.florist-form-field input{font-size:16px}
 .florist-queue-nav{flex-wrap:wrap;gap:8px}.florist-queue-nav .florist-tabs{flex-basis:100%}.florist-queue-nav .florist-secondary-nav{margin-left:auto}
}
