@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial}}}@layer theme{:root,:host{--spacing:.25rem;--default-font-family:"Geist", "Geist Fallback", ui-sans-serif, system-ui, sans-serif;--default-mono-font-family:"Geist Mono", "Geist Mono Fallback", ui-monospace, monospace}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.fixed{position:fixed}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.flex{display:flex}.hidden{display:none}.table{display:table}.h-4{height:calc(var(--spacing) * 4)}.h-full{height:100%}.min-h-full{min-height:100%}.w-4{width:calc(var(--spacing) * 4)}.border-collapse{border-collapse:collapse}.resize{resize:both}.flex-col{flex-direction:column}.rounded{border-radius:.25rem}.border{border-style:var(--tw-border-style);border-width:1px}.lowercase{text-transform:lowercase}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}}:root{--background:#f4f6fa;--foreground:#172033;--surface:#fff;--surface-soft:#f8fafc;--surface-tint:#f2f7fd;--border:#dde5f0;--border-strong:#c8d5e5;--muted:#667085;--muted-soft:#8a94a6;--blue:#0b4fb3;--blue-dark:#083f91;--blue-soft:#eef5ff;--teal:#21b8c7;--teal-dark:#087780;--teal-soft:#edfafd;--green:#c9df71;--green-dark:#718713;--green-soft:#f4f9df;--coral:#ff5252;--coral-soft:#fff0ef;--amber:#f7c948;--shadow:0 12px 30px #0f1f3612;--shadow-soft:0 6px 18px #0f1f360d}*{box-sizing:border-box}html{background:var(--background);overflow-x:hidden}body{background:linear-gradient(180deg, #f8fafc 0, var(--background) 260px), var(--background);min-width:320px;color:var(--foreground);font-family:Geist,Geist Fallback,Arial,sans-serif;overflow-x:hidden}.auth-shell{background:radial-gradient(circle at top,#21b8c714,#0000 36%),linear-gradient(#f8fafc 0%,#f3f6fb 100%);align-content:center;justify-items:center;min-height:100vh;padding:clamp(20px,4vw,40px);display:grid}.auth-card{background:#fffffffa;border:1px solid #d2ddebf2;border-radius:8px;width:min(100%,560px);overflow:hidden;box-shadow:0 18px 48px #0f1f3614}.auth-logo{width:min(176px,48vw);height:auto}.auth-card-top{background:linear-gradient(#f4f8ffd6,#fffffff5);border-bottom:1px solid #edf2f7;padding:22px 24px 18px}.auth-brand-lockup{justify-items:start;gap:16px;display:grid}.auth-brand-copy{gap:10px;display:grid}.auth-brand-copy h1{margin:0;font-size:clamp(28px,4vw,44px);font-weight:780;line-height:1.06}.auth-brand-copy p:not(.eyebrow),.auth-state p,.auth-checklist{color:var(--muted);margin:0;line-height:1.6}.auth-card{display:grid}.auth-card-body{gap:18px;padding:22px 24px 24px;display:grid}.auth-form,.auth-state{gap:18px;display:grid}.auth-field input{min-height:48px;padding-inline:14px}.auth-help-note{color:var(--muted);font-size:12px;line-height:1.55}.auth-submit{justify-content:center;width:100%;min-height:48px}.auth-submit:disabled{opacity:.72}.auth-state-grid{gap:12px;display:grid}.auth-detail-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;padding:14px 16px;display:flex}.auth-detail-row span{color:var(--muted);font-size:13px}.auth-detail-row strong{color:var(--foreground);text-align:right;word-break:break-word;font-size:14px}.auth-checklist{margin:0;padding-left:18px}.auth-inline-actions{margin-top:0}.auth-setup-card{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;gap:12px;padding:18px;display:grid}.auth-feedback-stack{gap:12px;min-height:0;display:grid}.auth-feedback-card{border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;font-weight:650;line-height:1.55;display:flex}.auth-feedback-success{color:#556f08;background:#f7fbec;border:1px solid #dbe8b5}.auth-feedback-error{color:var(--blue);background:#f4f8ff;border:1px solid #d6e3f7}.auth-feedback-icon{background:#ffffffc7;border-radius:999px;flex:none;place-items:center;width:18px;height:18px;font-size:11px;font-weight:800;line-height:1;display:inline-grid}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{grid-template-columns:292px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);z-index:20;background:#fffffff5;height:100vh;padding:24px 18px;position:sticky;top:0;box-shadow:8px 0 24px #0f1f3608}.brand-block{border-bottom:1px solid #edf1f6;align-items:center;min-height:88px;padding-bottom:18px;display:flex}.brand-logo{width:222px;height:auto;display:block}.brand-icon{object-fit:contain;width:44px;height:44px;display:none}.sidebar nav{gap:7px;margin-top:18px;display:grid}.sidebar nav button{color:#344054;text-align:left;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:10px 11px;font-size:14px;font-weight:720;transition:all .16s;display:flex}.sidebar nav button span,.action-tile span{background:var(--blue-soft);width:32px;height:32px;color:var(--blue);border-radius:8px;flex:none;place-items:center;font-size:12px;font-weight:800;display:grid}.sidebar nav button:hover,.sidebar nav button.active{background:var(--surface-tint);color:var(--blue);box-shadow:inset 3px 0 0 var(--blue);border-color:#d6e3f7}.workspace{min-width:0;max-width:100%;padding:28px;overflow-x:hidden}.topbar{z-index:10;border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);background:#f8fafced;justify-content:space-between;align-items:center;gap:16px;margin:-28px -28px 28px;padding:16px 28px;display:flex;position:sticky;top:0}.topbar-left{align-items:center;gap:12px;min-width:0;display:flex}.topbar-icon{object-fit:contain;width:38px;height:38px}.topbar h1{font-size:clamp(20px,2vw,28px);font-weight:750;line-height:1.1}.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.session-chip{color:#344054;text-overflow:ellipsis;white-space:nowrap;background:#ffffffeb;border:1px solid #d9e5f4;border-radius:999px;max-width:min(100%,280px);padding:8px 12px;font-size:12px;font-weight:700;overflow:hidden}.view{gap:22px;width:100%;min-width:0;max-width:100%;margin:0 auto;display:grid}.storage-bar{border:1px solid var(--border);width:100%;min-width:0;max-width:100%;box-shadow:var(--shadow-soft);background:#fffffffa;border-radius:8px;gap:12px;margin:0 auto 18px;padding:16px 18px;display:grid}.storage-status-line{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.storage-pill{text-transform:uppercase;border-radius:999px;align-items:center;padding:6px 10px;font-size:12px;font-weight:850;display:inline-flex}.storage-pill.ok{background:var(--green-soft);color:var(--green-dark)}.storage-pill.neutral{color:#475467;background:#f4f6fa}.storage-pill.warn{color:#9a6700;background:#fff6df}.storage-meta,.storage-support{color:var(--muted);font-size:13px;line-height:1.5}.storage-meta strong{color:#344054}.storage-actions{margin-top:0}.storage-note{color:var(--blue);background:#f4f8ff;border:1px solid #d6e3f7;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:650;line-height:1.55}.global-warning{max-width:1480px;margin:0 auto 18px}.page-header{justify-content:space-between;gap:20px;padding:18px 0 2px;display:flex}.page-header h2{letter-spacing:0;font-size:clamp(28px,4vw,44px);font-weight:800;line-height:1.05}.page-header p:not(.eyebrow),.muted,.rule-card p,.accent-card p{color:var(--muted);line-height:1.65}.eyebrow{color:var(--blue);letter-spacing:.08em;text-transform:uppercase;font-size:11px;font-weight:800}.card,.summary-panel,.metric{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow-soft);border-radius:8px}.card{min-width:0;max-width:100%;padding:22px;overflow:hidden}.card h3,.summary-panel h3{font-size:18px;font-weight:750;line-height:1.25}.section-title,.toolbar,.button-row,.table-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.section-title>div,.toolbar>*,.button-row>*{min-width:0}.button-row,.table-actions{justify-content:flex-start;margin-top:14px}.metrics-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;display:grid}.metrics-grid-compact{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{border-left:4px solid var(--blue);text-align:left;min-height:84px;padding:14px 14px 12px}.metric span,.summary-list span{color:var(--muted);font-size:13px}.metric strong{color:var(--blue);overflow-wrap:anywhere;margin-top:6px;font-size:21px;line-height:1.05;display:block}.metric small{color:var(--muted);margin-top:8px;font-size:12px;font-weight:750;display:block}.metric-clickable{cursor:pointer;width:100%}.metric-clickable:hover{border-color:#cfe0f5;transform:translateY(-1px);box-shadow:0 16px 36px #0f1f361f}.metric-clickable:focus-visible{outline-offset:2px;outline:3px solid #0b4fb32e}.metric-teal{border-left-color:var(--teal)}.metric-teal strong{color:#008c9a}.metric-green{border-left-color:var(--green)}.metric-green strong{color:#738814}.metric-coral{border-left-color:var(--coral)}.metric-coral strong{color:var(--coral)}.two-col,.form-grid{grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);align-items:start;gap:22px;display:grid}.fields-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.field{gap:7px;display:grid}.field-label,.heading-with-help{align-items:center;gap:7px;min-width:0;display:inline-flex}.heading-with-help{flex-wrap:wrap}.field-label>span{color:#344054;font-size:13px;font-weight:700}.field b{color:var(--coral)}.field small{color:var(--muted);line-height:1.45}.help-tooltip{flex:none;align-items:center;display:inline-flex;position:relative}.help-trigger{width:17px;height:17px;color:var(--blue);background:#f7fbff;border:1px solid #bfd0e8;border-radius:999px;place-items:center;padding:0;font-size:11px;font-weight:850;line-height:1;transition:all .14s;display:inline-grid}.help-trigger:hover,.help-trigger:focus-visible,.help-tooltip.open .help-trigger{border-color:var(--blue);background:var(--blue);color:#fff;outline:none}.help-bubble{z-index:40;color:#344054;opacity:0;pointer-events:none;text-transform:none;background:#fff;border:1px solid #d8e4f3;border-radius:8px;width:max-content;max-width:min(300px,100vw - 32px);padding:10px 12px;font-size:12px;font-weight:550;line-height:1.45;transition:opacity .14s,transform .14s;position:absolute;bottom:calc(100% + 9px);left:50%;transform:translate(-50%)translateY(4px);box-shadow:0 16px 38px #0f1f3629}.help-bubble:after{content:"";background:#fff;border-bottom:1px solid #d8e4f3;border-right:1px solid #d8e4f3;width:10px;height:10px;position:absolute;bottom:-6px;left:50%;transform:translate(-50%)rotate(45deg)}.help-tooltip:hover .help-bubble,.help-trigger:focus-visible+.help-bubble,.help-tooltip.open .help-bubble{opacity:1;pointer-events:auto;transform:translate(-50%)translateY(0)}input,select,textarea{border:1px solid var(--border-strong);width:100%;min-height:44px;color:var(--foreground);background:#fff;border-radius:8px;outline:none;padding:10px 12px;transition:border-color .14s,box-shadow .14s,background .14s}textarea{resize:vertical;min-height:96px}input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0b4fb31f}.searchable-select{min-width:min(100%,220px);position:relative}.searchable-select input{padding-right:38px}.select-caret{width:28px;height:28px;color:var(--blue);background:0 0;border:0;border-radius:8px;place-items:center;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.select-caret:hover{background:var(--blue-soft)}.select-popover{z-index:60;background:#fff;border:1px solid #d8e4f3;border-radius:8px;max-height:260px;padding:6px;position:fixed;overflow:auto;box-shadow:0 18px 40px #0f1f3629}.select-popover button{color:#344054;text-align:left;background:0 0;border:0;border-radius:8px;gap:2px;width:100%;padding:9px 10px;display:grid}.select-popover button strong{font-size:13px;font-weight:750}.select-popover button span,.select-empty{color:var(--muted);font-size:12px;line-height:1.4}.select-popover button:hover,.select-popover button.active{color:var(--blue);background:#f4f8ff}.select-empty{padding:10px}.btn,.icon-btn{border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 14px;font-weight:750;transition:all .16s;display:inline-flex}.btn-primary{background:var(--blue);color:#fff}.btn-primary:hover{background:var(--blue-dark)}.btn-secondary{color:var(--blue);background:#f4f8ff;border-color:#cfe0f5}.btn-secondary:hover,.icon-btn:hover{background:#eef5ff;border-color:#aac8ee}.btn-ghost{border-color:var(--border);color:#344054;background:#fff}.btn-danger{color:#b42318;background:#fff5f4;border-color:#f2c7c2}.btn-danger:hover{background:#fee8e6;border-color:#e8aaa2}.icon-btn{border-color:var(--border);width:38px;height:38px;min-height:38px;color:var(--blue);background:#fff;padding:0}.icon-btn.danger,.danger{color:var(--coral)}.search-box{border:1px solid var(--border-strong);background:#fff;border-radius:8px;align-items:center;gap:8px;min-width:min(100%,280px);padding:0 10px;display:flex}.search-box input{box-shadow:none;border:0;padding-left:0}.analysis-toolbar{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end;display:grid}.analysis-toolbar .field,.analysis-toolbar .search-box,.analysis-toolbar .searchable-select{width:100%;min-width:0}.analysis-toolbar .search-box{grid-column:span 2}.responsive-table{border:1px solid var(--border);background:#fff;border-radius:8px;width:100%;max-width:100%;max-height:min(62vh,640px);overflow:auto;box-shadow:0 1px #0f1f3608}table{border-collapse:separate;border-spacing:0;width:100%;min-width:860px;margin-top:0}th{z-index:4;color:#344054;letter-spacing:.06em;text-align:left;text-transform:uppercase;background:#f3f6fb;font-size:11px;font-weight:800;position:sticky;top:0}.table-help-label{align-items:center;gap:6px;display:inline-flex}.numeric-label{justify-content:flex-end;width:100%}th,td{vertical-align:middle;border-bottom:1px solid #edf1f6;padding:10px 11px}.selection-cell{text-align:center;width:52px;min-width:52px}.sticky-col,.sticky-col-2{background:inherit;position:sticky}.sticky-col{z-index:2;box-shadow:inset -1px 0 0 var(--border), 10px 0 16px #0f1f3608;left:0}.sticky-col-2{z-index:2;box-shadow:inset -1px 0 0 var(--border), 10px 0 16px #0f1f3608;left:52px}th.sticky-col,th.sticky-col-2{z-index:5;background:#f3f6fb}tbody tr:nth-child(2n) .sticky-col,tbody tr:nth-child(2n) .sticky-col-2{background:#fbfdff}tbody tr:hover .sticky-col,tbody tr:hover .sticky-col-2{background:#f5f9ff}.selection-cell input{width:16px;height:16px;min-height:16px;margin:0}tbody tr:nth-child(2n){background:#fbfdff}tbody tr:hover{background:#f5f9ff}tbody tr:last-child td{border-bottom:0}td span{color:var(--muted);margin-top:2px;font-size:11px;line-height:1.35;display:block}.numeric{text-align:right}.calc-cell,.calc-pill{background:var(--teal-soft);color:#075e62;border-radius:8px;font-weight:800}td.calc-cell{border-left:1px solid #d6f0f3;border-right:1px solid #d6f0f3}.calc-pill{justify-content:center;min-width:54px;padding:5px 8px;display:inline-flex}.analysis-table table{min-width:1140px}.analysis-table td input{text-align:right;min-width:82px;padding-right:10px}.analysis-col-item{width:176px;min-width:176px}.analysis-col-category{width:104px;min-width:104px}.analysis-col-group{width:118px;min-width:118px}.analysis-col-price{width:90px;min-width:90px}.analysis-col-cost,.analysis-col-suggested{width:104px;min-width:104px}.analysis-col-percent,.analysis-col-ideal{width:80px;min-width:80px}.analysis-col-variance,.analysis-col-gap{width:92px;min-width:92px}.analysis-col-status{width:88px;min-width:88px}.analysis-col-remarks{white-space:normal;width:196px;min-width:196px;line-height:1.45}.analysis-price-cell input{min-width:0}.analysis-table-header{align-items:flex-start}.analysis-table-title{min-width:0}.analysis-table-actions,.analysis-upload-actions{width:100%;max-width:100%}.analysis-upload-actions{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0;display:grid}.analysis-upload-actions .btn,.analysis-table-actions .btn{white-space:normal}.columns-popover{flex:none;position:relative}.columns-popover-panel{z-index:80;background:#fff;border:1px solid #d8e4f3;border-radius:8px;gap:10px;padding:12px;display:grid;position:fixed;box-shadow:0 18px 40px #0f1f3629}.columns-popover-actions{flex-wrap:wrap;gap:8px;display:flex}.columns-popover-actions button{color:var(--blue);background:0 0;border:0;padding:0;font-size:12px;font-weight:750}.columns-popover-list{gap:8px;display:grid}.columns-option{color:#344054;align-items:center;gap:8px;font-size:13px;display:flex}.columns-option input{width:16px;height:16px;min-height:16px}.columns-option-locked{opacity:.7}.analysis-badge{border-radius:999px;align-items:center;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.analysis-badge.within{background:var(--green-soft);color:var(--green-dark)}.analysis-badge.above{background:var(--coral-soft);color:#b42318}.analysis-badge.incomplete{color:var(--blue);background:#eef5ff}.variance-high{color:#b42318;font-weight:800}.variance-low{color:#0f5132;font-weight:800}.warning-block{color:#7a271a;background:#fff7f6;border:1px solid #f2d2cd;border-radius:8px;gap:4px;margin-top:14px;padding:12px 14px;display:grid}.destructive-modal,.summary-stack{gap:14px;display:grid}.summary-panel{box-shadow:var(--shadow);background:#fff;padding:22px}.summary-panel.batch{border-top:4px solid var(--teal)}.summary-panel.final{border-top:4px solid var(--blue)}.summary-list{gap:8px;margin-top:14px;display:grid}.summary-list div{background:#f7fafe;border:1px solid #e3ebf6;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 11px;display:flex}.summary-list strong{color:var(--blue);font-size:16px}.image-input{background:#fbfdff;border:1px dashed #c7d5e7;border-radius:8px;align-items:center;gap:16px;margin-top:18px;padding:12px;display:flex}.image-frame{aspect-ratio:1;border:1px solid var(--border);background:linear-gradient(#fbfcfe 0%,#f4f7fb 100%);border-radius:8px;place-items:center;display:grid;overflow:hidden;box-shadow:inset 0 1px #fff9}.image-frame-medium{flex:none;width:118px}.image-frame-small{flex:none;width:46px}.image-frame img{object-fit:contain;object-position:center;width:100%;height:100%}.image-placeholder{color:var(--muted);text-align:center;place-items:center;width:100%;height:100%;padding:10px;font-size:12px;font-weight:700;display:grid}.library-item-cell{align-items:center;gap:10px;min-width:0;display:flex}.library-item-cell>div:last-child{min-width:0}.library-item-cell strong,.library-item-cell span{word-break:break-word}.library-item-cell strong{font-size:13px;line-height:1.25}.table-actions{gap:8px}.table-actions .icon-btn{width:32px;height:32px;min-height:32px}.ingredient-image-control{justify-items:start;gap:8px;display:grid}.ingredient-image-actions{flex-wrap:wrap;gap:6px;display:flex}.modal-backdrop{z-index:80;background:#0f172a57;place-items:center;padding:18px;display:grid;position:fixed;inset:0}.modal-card{border:1px solid var(--border);background:#fff;border-radius:8px;width:min(100%,520px);padding:20px;box-shadow:0 24px 54px #0f1f362e}.export-option-row{background:#f8fbff;border:1px solid #d6e3f7;border-radius:8px;align-items:flex-start;gap:12px;margin-top:16px;padding:14px;display:flex}.export-option-row input{width:18px;height:18px;min-height:18px;margin-top:2px}.export-option-row span{color:#344054;gap:4px;display:grid}.export-option-row small{color:var(--muted);line-height:1.45}.steps{gap:10px;margin-top:14px;display:grid}.step-row{grid-template-columns:38px minmax(160px,1fr) minmax(140px,.75fr) 42px;align-items:center;gap:10px;display:grid}.step-row>span{width:34px;height:34px;color:var(--blue);background:#eef4ff;border-radius:8px;place-items:center;font-weight:800;display:grid}.sticky-actions{border:1px solid var(--border);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fffffff0;border-radius:8px;justify-content:flex-end;gap:10px;padding:12px;display:flex;position:sticky;bottom:16px;box-shadow:0 16px 36px #0f1f361f}.quick-actions,.rules-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.action-tile{border:1px solid var(--border);color:#344054;text-align:left;background:#fbfcff;border-radius:8px;align-items:center;gap:12px;min-height:76px;padding:14px;font-weight:800;transition:all .16s;display:flex}.action-tile:hover{color:var(--blue);background:#f4f8ff;border-color:#aac8ee}.recent-row{border-bottom:1px solid #edf1f6;justify-content:space-between;gap:12px;padding:13px 0;display:flex}.recent-row span,.recent-row time{color:var(--muted);font-size:12px;display:block}.accent-card{border-top:4px solid var(--green)}.note-card{border-top:4px solid var(--teal)}.inline-note{color:#075e62;background:#f1fbfd;border:1px solid #ccebf0;border-radius:8px;margin-top:16px;padding:12px 14px;font-size:13px;font-weight:650;line-height:1.55}.backup-hero{border-top:4px solid var(--blue);grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);align-items:center;gap:18px;display:grid}.backup-hero p{color:var(--muted);line-height:1.65}.backup-hero code{color:var(--blue);background:#f4f8ff;border:1px solid #d6e3f7;border-radius:6px;padding:2px 6px;font-family:Geist Mono,ui-monospace,monospace;font-size:12px}.backup-stats,.backup-checklist{gap:10px;display:grid}.backup-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.backup-stats div,.backup-checklist div{border:1px solid var(--border);background:#f8fbff;border-radius:8px;padding:12px}.backup-stats span,.backup-checklist span{color:var(--muted);font-size:13px;line-height:1.5}.backup-stats strong{color:var(--blue);margin-top:4px;font-size:24px;display:block}.backup-checklist{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:14px}.backup-checklist div{align-items:flex-start;gap:10px;display:flex}.backup-checklist strong{width:28px;height:28px;color:var(--blue);background:#eef4ff;border-radius:8px;flex:none;place-items:center;display:grid}.import-summary{border-top:1px solid #edf1f6;gap:14px;margin-top:18px;padding-top:18px;display:grid}.import-stats{flex-wrap:wrap;gap:8px;display:flex}.import-stats span{color:var(--blue);background:#f4f8ff;border:1px solid #d6e3f7;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800}.import-errors{box-shadow:none}.import-errors table{min-width:640px}.import-errors td:last-child{color:#7a2d2d}.import-ready{background:var(--green-soft);color:var(--green-dark);border:1px solid #dbeab7;border-radius:8px;padding:12px 14px;font-size:13px;font-weight:750}.import-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:14px;display:grid}.import-overview div{background:#f8fbff;border:1px solid #d6e3f7;border-radius:8px;padding:12px 14px}.import-overview strong{color:var(--ink);font-size:22px;display:block}.import-overview span{color:var(--muted);font-size:12px;font-weight:700}.pending-review-box{background:#fffaf0;border:1px solid #f3dfad;border-radius:8px;margin-bottom:14px;padding:14px}.pending-review-box strong{color:#8a6200;margin-bottom:6px;display:block}.pending-review-box p{color:#7a5c12;margin-bottom:10px}.import-warning-list{gap:8px;display:grid}.import-warning-list div{background:#fffaf0;border:1px solid #f3dfad;border-radius:8px;align-items:flex-start;gap:8px;padding:10px 12px;display:flex}.import-warning-list strong{color:#9a6700;flex:none;font-size:12px}.import-warning-list span{color:#7a5c12;font-size:12px;line-height:1.45}.import-group-card{flex-direction:column}.import-error-stack{gap:10px;display:grid}.import-error-card{background:#fff7f7;border:1px solid #efc0c0;border-radius:8px;padding:12px 14px}.import-error-head{justify-content:space-between;gap:12px;margin-bottom:8px;display:flex}.import-error-head strong{color:#7a2d2d}.import-error-head span{color:#a45a5a;font-size:12px;font-weight:800}.import-error-card ul{color:#7a2d2d;margin:0;padding-left:18px}.import-error-card li+li{margin-top:4px}.save-banner{color:#2f6a18;background:#f6fff0;border:1px solid #dbeab7;border-radius:8px;margin-bottom:14px;padding:12px 14px;font-size:14px;font-weight:750}button:disabled{cursor:not-allowed;opacity:.55}.empty-state{text-align:center;background:#fbfdff;border:1px dashed #bfd0e8;border-radius:8px;place-items:center;min-height:180px;padding:24px;display:grid}.empty-state p{color:var(--muted)}.segmented{background:#f4f8ff;border:1px solid #cfe0f5;border-radius:8px;display:inline-flex;overflow:hidden}.segmented button{color:var(--blue);background:0 0;border:0;padding:10px 14px;font-weight:800}.segmented .active{background:var(--blue);color:#fff}.library-count{color:var(--muted);margin-top:14px;font-size:13px;font-weight:700}.bulk-action-bar{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:14px;margin-top:14px;padding:14px 16px;display:flex}.bulk-action-copy{flex-wrap:wrap;align-items:baseline;gap:8px;display:flex}.bulk-action-copy strong{color:var(--blue);font-size:18px;font-weight:800}.bulk-action-copy span{color:var(--muted);font-size:13px;font-weight:700}.bulk-action-buttons{margin-top:0}.reason-list{flex-wrap:wrap;gap:6px;display:flex}.reason-list span{color:#7a5400;background:#fff9ea;border:1px solid #f3d59a;border-radius:999px;align-items:center;padding:5px 9px;font-size:12px;font-weight:750;display:inline-flex}.unit-manager-modal{width:min(100%,720px)}.compact-fields{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.compact-option{min-height:44px}.unit-master-list{gap:10px;max-height:280px;margin-top:8px;padding-right:4px;display:grid;overflow:auto}.unit-master-row{border:1px solid var(--border);background:var(--surface-soft);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.unit-master-row>div{gap:4px;display:grid}.unit-master-row span{color:var(--muted);font-size:12px}.raw-import-editor-card{gap:14px;display:grid}.compact-action-stack{justify-items:start;gap:8px;display:grid}.raw-import-modal{width:min(100%,860px)}.raw-import-modal .fields-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.is-muted{opacity:.72}.btn-small{min-height:34px;padding:7px 11px;font-size:12px}.badge{text-transform:uppercase;border-radius:999px;width:max-content;padding:5px 9px;font-size:11px;font-weight:850;display:inline-flex}.badge-draft,.badge-attention,.badge-pending{color:#9a6700;background:#fff6df}.badge-saved,.badge-ready{background:var(--green-soft);color:var(--green-dark)}.rule-card{border-top:4px solid #0000;min-height:170px}.rule-card:nth-child(4n+1){border-top-color:var(--blue)}.rule-card:nth-child(4n+2){border-top-color:var(--teal)}.rule-card:nth-child(4n+3){border-top-color:var(--green)}.rule-card:nth-child(4n+4){border-top-color:var(--coral)}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.mobile-only{display:none}@media (max-width:1180px){.import-overview,.metrics-grid,.quick-actions,.rules-grid,.metrics-grid-compact,.analysis-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-toolbar .search-box{grid-column:span 2}.analysis-upload-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.two-col,.form-grid,.backup-hero,.backup-checklist{grid-template-columns:1fr}}@media (max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{width:min(86vw,320px);transition:transform .18s;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:20px 0 40px #0f1f362e}.sidebar.open{transform:translate(0)}.mobile-only{display:inline-flex}.workspace{padding:16px}.topbar{margin:-16px -16px 16px;padding:14px 16px}.topbar-actions{justify-content:flex-start;width:100%}.metrics-grid-compact,.analysis-toolbar,.analysis-upload-actions{grid-template-columns:minmax(0,1fr)}.analysis-toolbar .search-box{grid-column:span 1}.session-chip{max-width:100%}.topbar .eyebrow{display:none}.topbar-icon{display:block}.fields-grid,.metrics-grid,.quick-actions,.rules-grid,.backup-stats,.compact-fields,.raw-import-modal .fields-grid{grid-template-columns:1fr}.step-row{grid-template-columns:34px minmax(0,1fr) 38px}.step-row input:nth-of-type(2){grid-column:2/4}.sticky-actions{flex-wrap:wrap;justify-content:stretch;position:static}.unit-master-row{flex-direction:column;align-items:flex-start}.sticky-actions .btn{flex:180px}.auth-shell{align-content:center;padding:18px}.auth-card-top,.auth-card-body{padding-inline:18px}.auth-brand-copy h1{font-size:28px}.auth-detail-row{flex-direction:column;align-items:flex-start}.auth-detail-row strong{text-align:left}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}
