:root{--bg: #faf8f6;--surface: #ffffff;--surface-soft: #f6f3f3;--ink: #111013;--muted: #71717b;--line: #e8e3e2;--brand: #fb2c36;--brand-dark: #94182f;--brand-2: #fb2c36;--green: #079b69;--green-soft: #e8fbf2;--gold: #ab6b0d;--gold-soft: #fff1c9;--blue: #2563eb;--blue-soft: #dbeafe;--danger-soft: #ffe6eb;--shadow: 0 12px 30px rgba(39, 25, 31, .08);color:var(--ink);background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);font-size:16px;line-height:1.5;letter-spacing:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app{min-height:100vh;padding-bottom:104px}.screen{width:min(920px,100%);margin:0 auto;padding:10px 24px 34px}.app-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:28px 24px 12px;background:#faf8f6f0;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:0}.header-brand h1{margin:0;color:var(--brand-2);font-family:"Source Serif 4",Georgia,Times New Roman,serif;font-size:20px;line-height:28px;letter-spacing:-.02em;font-weight:600}.header-brand p{margin:4px 0 0;color:var(--muted);font-weight:500;font-size:12px;line-height:16px;letter-spacing:0;text-transform:none}.page-title p{margin:0 0 4px;color:var(--brand);text-transform:uppercase;letter-spacing:.1em;font-weight:600;font-size:12px}.profile-actions{display:flex;gap:9px;align-items:center}.avatar-button,.big-avatar,.mini-avatar,.supplier-avatar{display:grid;place-items:center;border:0;background:var(--brand);color:#fff;font-weight:600}.avatar-button{width:44px;height:44px;border-radius:50%;font-size:14px;line-height:20px;background:var(--brand-2);box-shadow:0 0 0 2px #fb2c3633}.icon-button{border:0;background:var(--surface);color:var(--brand);border-radius:12px;min-width:40px;height:40px;display:inline-grid;place-items:center;box-shadow:inset 0 0 0 1px var(--line)}.icon-button svg{width:18px;height:18px;stroke-width:2}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:10px 0 18px}.page-title h1{margin:0;font-size:clamp(28px,8vw,32px);line-height:36px;letter-spacing:-.02em;font-weight:700}.auth-page{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:28px;padding:28px}.brand-lockup{text-align:center}.brand-lockup h1{margin:0;color:var(--brand-2);font-family:"Source Serif 4",Georgia,serif;font-size:clamp(40px,11vw,62px);font-weight:600}.brand-lockup span{display:block;color:#a5a2ab;text-transform:uppercase;letter-spacing:.22em;font-weight:600;margin-top:12px}.auth-icon{width:96px;height:96px;padding:24px;border-radius:50%;color:#d5d2d7;background:#f1eff1}.auth-card{width:min(420px,100%);background:var(--surface);padding:28px;border-radius:28px;box-shadow:var(--shadow)}.auth-card.center{text-align:center}.stack{display:grid;gap:14px}label{display:grid;gap:7px;color:var(--muted);font-weight:500}label small{color:var(--muted);font-size:11px;line-height:14px;font-weight:400}input,select,textarea{width:100%;border:1px solid var(--line);background:#fff;border-radius:12px;min-height:44px;padding:0 14px;color:var(--ink);outline:none;font-size:14px;line-height:20px;font-weight:400}input::placeholder,textarea::placeholder{color:#8a8790;font-size:14px;line-height:20px;font-weight:400}textarea{padding-top:12px;resize:vertical;min-height:52px;line-height:20px}textarea:focus{min-height:104px}input:focus,select:focus,textarea:focus{border-color:var(--brand);box-shadow:0 0 0 3px #fb2c361a}.primary-button,.secondary-button,.danger-button,.pill-button{border:0;border-radius:16px;min-height:52px;display:inline-flex;gap:10px;align-items:center;justify-content:center;font-weight:600;padding:0 18px}.primary-button{background:var(--brand-2);color:#fff;box-shadow:0 8px 20px #ff2f3f38}.secondary-button{background:#fff;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}.danger-button{background:#fff;color:var(--brand-2);box-shadow:inset 0 0 0 1px var(--line);width:100%}.pill-button{border-radius:999px;min-height:36px;background:var(--brand);color:#fff;white-space:nowrap;padding:0 14px;font-size:14px;line-height:20px}.primary-button.full{width:100%;margin:20px 0 36px;font-size:16px;line-height:24px;min-height:56px;border-radius:12px}.primary-button.compact,.secondary-button.compact{min-height:38px;border-radius:12px;font-size:14px;line-height:20px}.link-button{color:var(--brand);background:none;border:0;text-decoration:underline;width:fit-content;font-weight:500}.composer-panel .link-button{font-size:13px;line-height:18px}.segmented{display:flex;gap:4px;background:var(--surface-soft);padding:4px;border-radius:14px}.segmented button{flex:1;border:0;border-radius:10px;min-height:38px;background:transparent;color:var(--muted);font-weight:500;font-size:14px;line-height:20px}.segmented button.active{background:var(--brand);color:#fff}.segmented.wide{margin-bottom:20px}.dashboard-hero{margin:0 0 18px}.dashboard-hero h1{margin:0;color:var(--ink);font-size:24px;line-height:32px;letter-spacing:-.02em;font-weight:700}.dashboard-hero p{margin:4px 0 0;color:var(--muted);font-size:14px;line-height:20px;font-weight:400}.stats-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:14px 12px;min-height:90px;display:grid;gap:5px;align-content:center}.stat-card strong{font-size:24px;line-height:28px;letter-spacing:0;font-weight:700}.stat-card small{color:var(--muted);font-weight:400;font-size:11px;line-height:14px}.icon-box{width:32px;height:32px;border-radius:8px;display:grid;place-items:center;background:var(--surface-soft);margin-bottom:0}.icon-box svg{width:16px;height:16px;stroke-width:2}.icon-box.hot{color:var(--brand-2);background:var(--danger-soft)}.section-title{display:flex;justify-content:space-between;align-items:center;margin:0 0 16px}.section-title h2,.list-section h3{margin:0;font-size:16px;line-height:24px;letter-spacing:0;font-weight:600}.movement-list,.composer-panel,.reference-context,.collapsible-card,.supplier-order-card,.order-history-card,.supplier-card,.inventory-card,.auth-card,.panel-form,.user-card,.settings-card,.request-admin-card,.audit-card{background:var(--surface);border:1px solid var(--line);border-radius:22px;box-shadow:0 3px 14px #27191f0a}.movement-list{padding:8px;border-radius:16px}.movement-item{display:grid;grid-template-columns:10px minmax(0,1fr) auto;gap:16px;align-items:center;padding:12px;border-bottom:1px solid var(--line)}.movement-item:last-child{border-bottom:0}.movement-item small,.movement-item span,.muted{color:var(--muted)}.movement-item strong{display:block;font-size:14px;line-height:20px;letter-spacing:0;font-weight:600}.movement-item small{display:block;margin-top:1px;font-size:12px;line-height:16px;font-weight:400}.movement-item>span:last-child{font-size:12px;line-height:16px;font-weight:400;white-space:nowrap}.dot,.alert-dot{width:10px;height:10px;border-radius:50%;background:#f59e0b}.dot.active{background:#f59e0b}.dot.received{background:var(--green)}.dot.ordered,.dot.included_next_order{background:var(--blue)}.dot.dismissed,.dot.deleted{background:var(--brand-2)}.search-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:0 14px;min-height:44px;margin-bottom:16px}.search-field svg{width:16px;height:16px;stroke-width:2;color:var(--muted)}.search-field input{border:0;box-shadow:none;min-height:42px;padding:0;background:transparent;font-size:14px;line-height:20px}.reference-results{display:grid;gap:8px;margin:-6px 0 12px}.reference-results button{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 12px;text-align:left;display:grid;gap:1px}.reference-results strong{font-size:14px;line-height:20px;font-weight:600}.reference-results span,.reference-context span{color:var(--muted);font-size:12px;line-height:16px}.reference-context{padding:12px;display:grid;gap:10px;margin-bottom:12px;border-radius:16px}.reference-context>div:first-child{display:grid;gap:4px}.reference-context strong{font-size:15px;line-height:20px;font-weight:600}.context-facts,.context-actions,.alert-filter-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.context-actions button{border:0;border-radius:999px;min-height:34px;padding:0 12px;background:var(--surface-soft);color:var(--ink);font-weight:500}.alert-filter-row{margin-bottom:16px}.state-chip{border:0;border-radius:999px;padding:7px 10px;font-weight:600;font-size:12px;line-height:16px;background:var(--surface-soft);color:var(--muted)}.state-chip.active.selected{background:var(--gold-soft);color:var(--gold)}.state-chip.ordered.selected{background:var(--blue-soft);color:var(--blue)}.state-chip.received.selected{background:var(--green-soft);color:var(--green)}.state-chip.dismissed.selected{background:var(--danger-soft);color:var(--brand)}.state-chip.neutral{background:var(--surface-soft);color:var(--muted)}.alert-filter-row .state-chip.active.selected{box-shadow:inset 0 0 0 1px #ab6b0d3d}.alert-filter-row .state-chip.ordered.selected{box-shadow:inset 0 0 0 1px #2563eb47}.alert-filter-row .state-chip.received.selected{box-shadow:inset 0 0 0 1px #079b6947}.alert-filter-row .state-chip.dismissed.selected{box-shadow:inset 0 0 0 1px #fb2c3640}.composer-panel{padding:14px;margin-bottom:18px;border-radius:16px}.collapsible-card{padding:0;overflow:hidden;margin-bottom:20px;border-radius:16px}.collapsible-head{width:100%;background:transparent;border:0;display:flex;justify-content:space-between;align-items:center;padding:14px;color:var(--brand);font-weight:600;font-size:14px;line-height:20px}.collapsible-head span{display:flex;gap:10px;align-items:center}.collapsible-card>div{padding:0 14px 14px}.rotated{transform:rotate(180deg)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.predictive-field{display:flex;align-items:center;gap:9px;border:1px solid var(--line);background:#fff;border-radius:12px;min-height:44px;padding:0 12px}.predictive-field svg{color:var(--muted);flex:0 0 auto}.predictive-field input{border:0;box-shadow:none;min-height:42px;padding:0;background:transparent}.composer-results{display:grid;gap:7px;max-height:186px;overflow:auto}.composer-results button{border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;padding:10px 12px;display:grid;gap:2px}.composer-results strong,.selected-reference strong{font-size:14px;line-height:20px;font-weight:600}.composer-results span,.selected-reference span{color:var(--muted);font-size:12px;line-height:16px}.selected-reference{border:1px solid var(--line);border-radius:12px;padding:9px 12px;display:grid;gap:2px;background:var(--surface-soft)}.wine-picks{display:grid;gap:8px;max-height:190px;overflow:auto}.pick-card{border:1px solid var(--line);border-radius:12px;background:#fff;text-align:left;padding:10px 12px;display:grid;gap:3px}.pick-card strong{font-size:14px;line-height:20px;font-weight:600}.pick-card span{font-size:12px;line-height:16px}.pick-card span{color:var(--muted)}.pick-card.selected{border-color:var(--brand);background:var(--danger-soft)}.urgency-choice{border:0;padding:0;margin:0}.urgency-choice legend{padding:0;margin-bottom:8px;color:var(--muted);font-weight:500}.urgency-choice>div{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.urgency-option{position:relative;display:flex;flex-direction:row;align-items:center;gap:7px;min-height:42px;border:1px solid var(--line);border-radius:12px;padding:0 10px;color:var(--ink);background:#fff;font-size:12px;line-height:16px;font-weight:600}.urgency-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;min-height:0;cursor:pointer}.urgency-option span{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--surface-soft);color:var(--muted);flex:0 0 auto}.urgency-option.para_ayer span{color:var(--brand);background:var(--danger-soft)}.urgency-option.esta_semana span{color:var(--gold);background:var(--gold-soft)}.urgency-option:has(input:checked){border-color:var(--brand);background:var(--danger-soft)}.urgency-option:has(input:checked) span{background:#fff}.list-section{margin-top:18px;display:grid;gap:10px}.list-section h3{display:flex;gap:8px;align-items:center;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;font-size:12px;line-height:16px;font-weight:600}.list-section h3 span{display:inline-grid;place-items:center;min-width:22px;height:22px;border-radius:999px;background:var(--brand-2);color:#fff;font-size:11px;letter-spacing:0}.alert-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;background:var(--surface);border:1px solid var(--line);border-radius:16px;padding:12px;touch-action:pan-y}.alert-card.expanded{align-items:center}.alert-main{min-width:0;display:grid;gap:2px}.alert-card-head{display:flex;align-items:center;gap:8px;min-width:0}.alert-card strong{display:block;font-size:14px;line-height:20px;font-weight:600}.alert-card span,.alert-card small{color:var(--muted);font-size:12px;line-height:16px}.urgency-icon{flex:0 0 auto;display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%}.urgency-icon.para_ayer{color:var(--brand);background:var(--danger-soft)}.urgency-icon.esta_semana{color:var(--gold);background:var(--gold-soft)}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:9px}.chip-row span,.status,.ok-chip,.warning-chip,.danger-chip{border-radius:999px;padding:4px 8px;background:var(--surface-soft);font-weight:500;color:var(--muted);font-size:11px;line-height:16px}.danger-chip{background:var(--danger-soft);color:var(--brand)}.ok-chip{background:var(--green-soft);color:var(--green)}.warning-chip,.status.pending{background:var(--gold-soft);color:var(--gold)}.status.sent,.status.ordered{background:var(--blue-soft);color:var(--blue)}.status.received{background:var(--green-soft);color:var(--green)}.card-actions{display:flex;flex-direction:column;gap:6px;align-items:flex-end}.action-button{border:0;border-radius:999px;min-height:34px;display:inline-flex;align-items:center;gap:6px;padding:0 11px;background:var(--surface-soft);color:var(--ink);font-size:12px;line-height:16px;font-weight:600;white-space:nowrap}.action-button.primary{background:var(--brand-dark);color:#fff}.action-button.green{background:var(--green);color:#fff}.action-button.receive{background:var(--green-soft);color:var(--green)}.alert-detail{grid-column:1 / -1;display:grid;gap:10px;padding-top:10px;border-top:1px solid var(--line)}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px 12px}.detail-grid span{color:var(--muted);font-weight:500}.detail-grid strong{font-size:12px;line-height:16px}.alert-detail p{margin:0;color:var(--muted);font-size:13px;line-height:18px}.history-list{display:grid;gap:4px}.history-list strong{font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.icon-actions{display:flex;gap:8px}.export-menu{position:relative}.export-menu summary{list-style:none}.export-menu summary::-webkit-details-marker{display:none}.export-menu div{position:absolute;right:0;top:46px;z-index:15;display:grid;gap:4px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:8px;box-shadow:var(--shadow)}.export-menu button{border:0;background:#fff;border-radius:12px;min-height:40px;padding:0 16px;text-align:left;font-weight:500}.supplier-band{width:100%;border:0;display:flex;align-items:center;gap:10px;color:var(--muted);text-transform:uppercase;font-weight:600;background:#fbfafb;border-radius:18px;padding:12px 14px;text-align:left}.supplier-band strong{color:var(--ink);margin-right:auto}.supplier-order-card{padding:12px;display:grid;gap:10px;border-radius:16px}.order-card-summary{display:flex;justify-content:space-between;align-items:center;gap:10px;color:var(--muted);font-size:12px;line-height:16px}.order-card-summary strong{color:var(--ink);font-size:16px;line-height:20px;font-weight:600}.order-line-card{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line);touch-action:pan-y}.order-line-card:last-of-type{border-bottom:0}.order-line-card strong{font-size:14px;line-height:20px;font-weight:600}.order-line-card small{display:block;color:var(--muted);margin-top:1px;font-size:11px;line-height:16px}.stepper-wrap{display:grid;justify-items:center;gap:3px}.stepper-wrap>small{margin:0;color:var(--muted);font-size:9px;line-height:12px;letter-spacing:.06em;text-transform:uppercase}.stepper{display:grid;grid-template-columns:38px 46px 38px;gap:4px;align-items:center;text-align:center}.stepper button{border:0;border-radius:13px;height:38px;background:#fff;color:var(--brand);box-shadow:inset 0 0 0 1px var(--line);font-weight:600}.stepper input{min-height:38px;padding:0;text-align:center;border-radius:13px}.line-actions{display:grid;justify-items:end;gap:6px}.order-card-footer,.split-actions{display:flex;align-items:center;justify-content:space-between;gap:10px}.order-card-footer{align-items:flex-start;flex-wrap:wrap}.order-totals{display:grid;gap:2px;color:var(--muted);font-size:12px;line-height:16px}.split-actions{justify-content:flex-end;flex-wrap:wrap}.order-history-card{padding:16px;display:grid;gap:8px}.order-history-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.order-history-card p{margin:0;color:var(--muted)}.supplier-list,.inventory-list,.admin-list{display:grid;gap:14px}.supplier-card{display:grid;grid-template-columns:48px minmax(0,1fr) 44px;gap:12px;padding:14px;align-items:center;border-radius:18px}.supplier-avatar{width:44px;height:44px;border-radius:50%;font-size:14px}.supplier-card-body{display:grid;gap:3px;min-width:0}.supplier-card strong{font-size:15px;line-height:20px;font-weight:600}.supplier-card span{color:var(--muted);display:inline-flex;gap:6px;align-items:center;font-size:12px;line-height:16px}.supplier-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.supplier-chips span{background:var(--surface-soft);border-radius:999px;padding:5px 8px}.supplier-contact-actions{display:grid;gap:8px;justify-items:center}.contact-button{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;text-decoration:none}.contact-button.call{background:var(--green-soft);color:var(--green)}.contact-button.mail{background:var(--danger-soft);color:var(--brand-dark)}.inventory-card{padding:14px;display:grid;gap:8px;border-radius:18px}.inventory-card strong{font-size:15px;line-height:20px;font-weight:600}.inventory-card>span{color:var(--muted)}.inventory-card div{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:8px}.inventory-card div span{color:var(--muted);font-weight:500}.admin-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:16px;padding-bottom:3px}.admin-tabs button{min-width:64px;border:0;background:#fff;border-radius:14px;min-height:48px;display:grid;place-items:center;gap:1px;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line);font-weight:500}.admin-tabs button.active{background:var(--danger-soft);color:var(--brand);box-shadow:none}.admin-tabs span{font-size:10px;line-height:14px}.user-card{display:grid;grid-template-columns:40px minmax(0,1fr) 36px 36px 36px;gap:8px;align-items:center;padding:12px;border-radius:16px}.mini-avatar{width:44px;height:44px;border-radius:50%;background:var(--surface-soft);color:var(--ink)}.user-card span,.settings-card span,.request-admin-card span,.audit-card span{color:var(--muted);display:block}.settings-card{padding:14px;display:flex;justify-content:space-between;gap:12px;align-items:center;border-radius:16px}.settings-card.block{display:grid}.switch input{display:none}.switch span{width:52px;height:30px;border-radius:999px;background:#ddd;display:block;position:relative}.switch span:before{content:"";position:absolute;width:24px;height:24px;left:3px;top:3px;background:#fff;border-radius:50%;transition:.18s}.switch input:checked+span{background:var(--brand)}.switch input:checked+span:before{transform:translate(22px)}.permission-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));margin-top:12px}.permission-grid label{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500}.permission-grid input{width:auto;min-height:auto}.request-admin-card,.audit-card{padding:13px;display:grid;gap:6px;border-radius:16px}.request-admin-card div{display:flex;gap:8px}.request-admin-card button{border:0;border-radius:12px;min-height:38px;padding:0 12px;font-weight:500}.profile-view{display:grid;gap:18px}.profile-hero{text-align:center;display:grid;justify-items:center;gap:8px;margin:12px 0}.big-avatar{width:96px;height:96px;border-radius:50%;font-size:30px}.profile-hero h2{margin:0;font-size:26px;font-weight:700}.panel-form{padding:14px;display:grid;gap:12px;border-radius:18px}.modal-backdrop{position:fixed;inset:0;z-index:50;background:#17141759;display:grid;align-items:end}.sheet{background:var(--surface);border-radius:28px 28px 0 0;max-height:88vh;overflow:auto;padding:20px 20px 24px;position:relative;box-shadow:0 -20px 60px #00000024}.close-button{position:sticky;left:100%;top:0;width:42px;height:42px;border:0;border-radius:50%;background:var(--surface-soft);display:grid;place-items:center}.sheet h2{margin:0 0 10px;font-size:24px;line-height:30px;font-weight:700;letter-spacing:-.02em}fieldset{border:1px solid var(--line);border-radius:16px}legend{color:var(--muted);font-weight:600;padding:0 8px}.day-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:10px 0}.day-grid label{display:flex;flex-direction:row;align-items:center;gap:8px}.day-grid input{width:auto;min-height:auto}.draft-line{border:1px solid var(--line);border-radius:18px;padding:13px;display:grid;gap:10px}.draft-line input{min-height:44px}.three-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.three-actions button{border:0;border-radius:13px;min-height:40px;font-weight:500;background:var(--surface-soft);color:var(--muted)}.three-actions button.active{background:var(--brand);color:#fff}.composer-panel label,.composer-panel legend,.sheet label,.sheet legend{font-size:13px;line-height:18px;font-weight:500}.composer-panel input,.composer-panel textarea,.sheet input,.sheet select,.sheet textarea{font-size:14px;line-height:20px;font-weight:400}.bottom-nav{position:fixed;left:14px;right:14px;bottom:14px;z-index:30;display:grid;grid-template-columns:repeat(5,1fr);gap:4px;background:#fffffff5;border:1px solid var(--line);border-radius:22px;padding:8px;box-shadow:0 10px 34px #0000001f;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px)}.bottom-nav button{border:0;background:transparent;border-radius:16px;color:var(--muted);min-height:58px;display:grid;place-items:center;gap:3px;font-weight:500}.bottom-nav svg{stroke-width:2}.bottom-nav button.active{background:var(--danger-soft);color:var(--brand)}.bottom-nav span{font-size:12px}.more-menu{position:fixed;right:14px;bottom:92px;z-index:29;display:grid;gap:6px;min-width:154px;padding:8px;border:1px solid var(--line);border-radius:16px;background:#fffffffa;box-shadow:var(--shadow)}.more-menu button{border:0;min-height:38px;border-radius:11px;background:transparent;color:var(--muted);display:grid;grid-template-columns:22px 1fr;gap:8px;align-items:center;padding:0 10px;text-align:left;font-weight:500}.more-menu button.active{background:var(--danger-soft);color:var(--brand)}.more-menu span{font-size:13px;line-height:18px}.empty-state{padding:18px;border:1px dashed var(--line);border-radius:18px;color:var(--muted);background:#fff9}.toast{position:fixed;left:50%;top:22px;transform:translate(-50%);z-index:100;background:#211c18;color:#fff;border-radius:16px;padding:14px 18px;font-weight:500;box-shadow:var(--shadow);width:min(420px,calc(100% - 32px));text-align:center}@media(max-width:859px){.app:not(.view-dashboard) .app-header{display:none}.app:not(.view-dashboard) .screen{padding-top:18px}}@media(max-width:520px){.desktop-only{display:none}.screen{padding:18px 24px 120px}.page-title h1{font-size:32px}.order-line-card{grid-template-columns:minmax(0,1fr) auto}.order-line-card .line-actions{grid-column:1 / -1;justify-items:stretch}.stepper{justify-self:end;grid-template-columns:32px 38px 32px}.line-actions{display:flex;justify-content:space-between;align-items:center}.supplier-card{grid-template-columns:44px minmax(0,1fr) 40px;padding:14px}.supplier-avatar{width:44px;height:44px}.form-grid{grid-template-columns:1fr 1fr}.user-card{grid-template-columns:40px minmax(0,1fr) 36px 36px 36px}.auth-card{padding:22px}.composer-panel{position:fixed;left:0;right:0;bottom:0;z-index:45;max-height:80vh;overflow:auto;margin:0;padding:18px 24px 28px;border-radius:28px 28px 0 0;box-shadow:0 -20px 60px #00000024}.sheet{padding:18px 20px 22px;border-radius:28px 28px 0 0}.close-button{width:38px;height:38px}.draft-line{padding:10px;border-radius:14px;gap:8px}.draft-line input{min-height:40px}.three-actions button{min-height:36px;font-size:12px;line-height:16px}.sheet .primary-button{min-height:48px;border-radius:14px;font-size:14px;line-height:20px}}@media(min-width:860px){.app{display:grid;grid-template-columns:280px 1fr;padding-bottom:0}.app-header{position:sticky;left:0;top:0;height:100vh;align-self:start;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:24px;border-right:1px solid var(--line);border-bottom:0}.profile-actions{flex-direction:column;align-items:flex-start;width:100%}.screen{padding:42px 42px 56px}.bottom-nav{inset:180px auto auto 22px;width:220px;grid-template-columns:1fr;background:transparent;box-shadow:none;border:0;padding:0}.bottom-nav button{grid-template-columns:28px 1fr;place-items:center start;padding:0 14px}.bottom-nav span{font-size:15px}.more-menu{inset:374px auto auto 242px}.modal-backdrop{align-items:center;justify-items:center}.sheet{width:min(720px,calc(100vw - 40px));border-radius:28px;max-height:86vh}.inventory-list{grid-template-columns:repeat(2,1fr)}}
