/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@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{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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}::backdrop{--tw-border-style:solid;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--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{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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]){-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance: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}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.order-1{order:1}.order-60{order:60}.order-90{order:90}.order-120{order:120}.order-12345678{order:12345678}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-1{margin:var(--spacing)}.m-2{margin:calc(var(--spacing) * 2)}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.table{display:table}.h-full{height:100%}.grow{flex-grow:1}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.border{border-style:var(--tw-border-style);border-width:1px}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.blur{--tw-blur:blur(8px);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,)}.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,)}}@font-face{font-family:KG Air;src:url(/fonts/kg-air.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:KG Kindergarden;src:url(/fonts/kg-kindergarden.ttf)format("truetype");font-weight:400;font-style:normal;font-display:swap}:root{--ink:#20394b;--muted:#657a89;--line:#d8e4ec;--surface:#fff;--canvas:#f5f8fa;--space-blue:#8cacc0;--space-blue-soft:#eaf2f7;--teal:#326f93;--teal-soft:#e8f4fa;--coral:#d94f55;--coral-soft:#fff0f0;--yellow:#f1c84b;--yellow-soft:#fff8dc;--blue:#326f93;--instagram:#bd3c86;--shadow:0 10px 30px #23486214;--os-block-gap:20px}*{box-sizing:border-box}html,body{min-height:100%}body{background:var(--canvas);color:var(--ink);letter-spacing:0;margin:0;font-family:Arial,Helvetica,sans-serif}button,input,textarea,select{font:inherit;letter-spacing:0}:root input[type=checkbox]{box-sizing:border-box;width:18px;min-width:18px;max-width:18px;height:18px;min-height:18px;max-height:18px;accent-color:var(--teal);vertical-align:middle;flex:none;margin:0;padding:0}label:has(>input[type=checkbox]){cursor:pointer;align-items:center;gap:8px;display:inline-flex}button{cursor:pointer;overflow-wrap:normal;word-break:normal}button:disabled{cursor:not-allowed;opacity:.55}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:2px;outline:3px solid #326f9359}.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}.portal-header{border-bottom:1px solid var(--line);border-top:3px solid var(--space-blue);background:var(--surface);align-items:center;gap:clamp(10px,1vw,20px);height:64px;padding:0 20px;display:flex}.brand-lockup{white-space:nowrap;flex:none;align-items:center;gap:10px;min-width:180px;display:flex}.brand-lockup img{object-fit:contain;width:36px;height:36px}.brand-name{font-size:15px;font-weight:800;line-height:1.1;display:block}.brand-subtitle{color:var(--muted);font-size:11px;line-height:1.2;display:block}.primary-nav{scrollbar-width:thin;flex:auto;justify-content:safe center;align-items:center;gap:2px;min-width:0;display:flex;overflow-x:auto}.mobile-nav-toggle{display:none}.nav-link{color:#566c7b;white-space:nowrap;border-radius:6px;flex:none;justify-content:center;align-items:center;gap:7px;height:38px;padding:0 9px;font-size:13px;font-weight:700;display:inline-flex}.nav-link svg{flex:none}.nav-link:hover{background:var(--canvas);color:var(--ink)}.nav-link.active{background:var(--space-blue-soft);color:#275c77}.account-area{flex:none;align-items:center;gap:8px;min-width:0;margin-left:auto;display:flex}.account-wallet-mobile{display:none}.account-area>svg{flex:none}.account-identity{align-items:center;gap:8px;min-width:0;display:inline-flex}.account-identity>svg{flex:none}.account-profile{min-width:0;color:var(--ink);border-radius:6px;justify-content:flex-end;align-items:center;gap:8px;padding:5px 7px;display:inline-flex}.account-profile:hover{background:var(--canvas)}.account-profile>svg{color:#326f93;flex:none}.account-copy{text-align:right;min-width:0;max-width:190px}.account-name{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700;line-height:1.2;display:block;overflow:hidden}.icon-button{border:1px solid var(--line);background:var(--surface);color:#52605b;border-radius:6px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;display:inline-flex}.icon-button:hover{background:var(--canvas);color:var(--ink)}.status-dot{background:var(--teal);border-radius:50%;width:8px;height:8px}.test-strip{background:var(--yellow-soft);color:#655716;border-bottom:1px solid #ead78b;justify-content:center;align-items:center;gap:8px;min-height:30px;padding:5px 16px;font-size:12px;font-weight:700;display:flex}@media (min-width:901px) and (max-width:1519px){.portal-header{flex-wrap:wrap;row-gap:4px;height:auto;min-height:100px;padding-block:8px}.brand-lockup{order:1}.account-area{order:2}.primary-nav{flex-wrap:wrap;flex:100%;order:3;overflow-x:auto}}.button{border:1px solid #0000;border-radius:6px;justify-content:center;align-items:center;gap:8px;min-height:40px;padding:9px 14px;font-size:13px;font-weight:800;transition:background-color .15s,border-color .15s;display:inline-flex}.button-primary{background:var(--teal);color:#fff}.button-primary:hover{background:#285d7e}.button-secondary{background:var(--surface);border-color:var(--line);color:var(--ink)}.button-secondary:hover{background:var(--canvas)}.button-danger{background:var(--coral-soft);color:#9c3036;border-color:#f2c7ca}.button-wide{width:100%}.field{flex-direction:column;gap:6px;display:flex}.field label{color:#4f6372;font-size:12px;font-weight:700}.input,.textarea,.select{background:var(--surface);width:100%;color:var(--ink);border:1px solid #cbdbe5;border-radius:6px}.input,.select{height:42px;padding:0 11px}.textarea{resize:vertical;min-height:148px;padding:11px;line-height:1.5}.textarea.auto-grow{resize:none;min-height:116px;overflow:hidden}.input:focus,.textarea:focus,.select:focus{border-color:var(--teal)}.login-page{background:var(--canvas);place-items:center;min-height:100vh;padding:40px 24px;display:grid}.login-panel{border:1px solid var(--line);border-top:4px solid var(--space-blue);background:var(--surface);width:min(100%,420px);box-shadow:var(--shadow);font-synthesis:none;border-radius:8px;padding:42px 40px 40px;font-family:KG Kindergarden,Arial,sans-serif}.login-brand{text-align:center;flex-direction:column;align-items:center;margin-bottom:34px;display:flex}.login-brand img{object-fit:contain;width:140px;height:140px;margin-inline:auto;display:block}.login-brand h1{margin:0;font-family:KG Air,Arial,sans-serif;font-size:48px;font-weight:400;line-height:1.1}.login-form{flex-direction:column;gap:18px;display:flex}.login-form h2{text-align:center;margin:0 0 2px;font-size:24px;font-weight:400}.login-form .field label{font-size:15px;font-weight:400}.login-form .input{height:46px}.login-form .button{min-height:46px;font-size:16px;font-weight:400}.login-text-action{color:var(--teal);cursor:pointer;font:inherit;background:0 0;border:0;align-self:center;text-decoration:underline}.form-error{color:#a22f35;margin:0;font-size:13px}.form-success{color:var(--teal);align-items:center;gap:7px;margin:0;font-size:13px;font-weight:700;display:flex}.auth-confirm-page{background:var(--surface);min-height:100vh;color:var(--muted);text-align:center;place-items:center;padding:24px;display:grid}.auth-confirm-page p{margin:0;font-size:14px;font-weight:700}.auth-confirm-page .login-panel{text-align:left;color:var(--ink)}.auth-confirm-page .login-panel h1{margin:0;font-size:26px}.admin-page{background-image:linear-gradient(90deg, var(--canvas) 56%, #f5f8fae0), url(/dokipoki-space-doodles.png);background-position:0 0,right -80px top -90px;background-repeat:no-repeat;background-size:auto,440px;min-height:calc(100vh - 64px);padding:28px}.page-heading{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px;display:flex}.page-heading h1{margin:0 0 5px;font-size:24px}.page-heading p{color:var(--muted);margin:0;font-size:13px}.admin-tabs{border-bottom:1px solid var(--line);gap:4px;margin-bottom:22px;display:flex;overflow-x:auto}.admin-tab{color:var(--muted);border-bottom:2px solid #0000;padding:10px 12px;font-size:13px;font-weight:700}.admin-tab.active{color:var(--teal);border-color:var(--teal)}.data-panel{background:var(--surface);border:1px solid var(--line);border-radius:8px;overflow:hidden}.data-table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:13px}.data-table th,.data-table td{overflow-wrap:anywhere}.data-table th{color:#566c7b;text-align:left;text-transform:uppercase;background:#f6f7f8;padding:12px 14px;font-size:11px}.data-table td{border-top:1px solid var(--line);vertical-align:middle;padding:14px}.badge{border-radius:999px;align-items:center;gap:5px;min-height:24px;padding:3px 8px;font-size:11px;font-weight:800;display:inline-flex}.badge-green{background:var(--teal-soft);color:#285d7e}.badge-yellow{background:var(--yellow-soft);color:#765f0b}.badge-red{background:var(--coral-soft);color:#9c3036}.badge-gray{color:#58635f;background:#eef1ef}.admin-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.admin-block{background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:18px}.admin-block h2{margin:0 0 5px;font-size:15px}.admin-block p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.admin-block .badge{margin-top:16px}.integration-layout{flex-direction:column;display:flex}.integration-layout .page-heading{align-items:center}.integration-heading-actions{align-items:center;gap:8px;display:flex}.integration-notice{color:#193b54;background:#f0f7fb;border:1px solid #b9cedd;border-radius:6px;align-items:flex-start;gap:8px;margin:-8px 0 18px;padding:11px 13px;font-size:12px;line-height:1.4;display:flex}.integration-notice.error{background:var(--coral-soft);color:#963238;border-color:#efc4c7}.integration-notice.warning{background:var(--yellow-soft);color:#765f0b;border-color:#ead58c}.integration-loading{border:1px solid var(--line);background:var(--surface);min-height:120px;color:var(--muted);border-radius:8px;justify-content:center;align-items:center;gap:9px;font-size:13px;display:flex}.integration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.integration-card{flex-direction:column;min-height:330px;display:flex}.integration-card>.integration-notice{margin:12px 0 0}.integration-card-heading{align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.integration-card-heading>svg{flex:none;margin-top:1px}.integration-card-heading h2{margin:0 0 7px}.integration-card-heading .badge{margin:0}.integration-metrics{border:1px solid var(--line);border-radius:6px;grid-template-columns:repeat(3,minmax(0,1fr));margin:16px 0 0;display:grid;overflow:hidden}.integration-metrics div{border-left:1px solid var(--line);flex-direction:column;justify-content:center;gap:5px;min-height:68px;padding:10px;display:flex}.integration-metrics div:first-child{border-left:0}.integration-metrics span{color:var(--muted);font-size:9px;line-height:1.3}.integration-metrics strong{overflow-wrap:anywhere;color:var(--teal);font-size:14px;line-height:1.2}.integration-facts{gap:9px;margin:15px 0 0;display:grid}.integration-facts div{grid-template-columns:88px minmax(0,1fr);gap:10px;display:grid}.integration-facts dt{color:var(--muted);font-size:10px;font-weight:700}.integration-facts dd{margin:0;font-size:10px;line-height:1.4}.integration-card-actions{align-items:center;gap:10px;min-height:40px;margin-top:auto;padding-top:16px;display:flex}.integration-card-actions .button{min-height:36px;padding:7px 11px;font-size:11px}.integration-card-actions>span,.integration-updated-at{color:var(--muted);font-size:10px}.integration-updated-at{text-align:right;margin:12px 0 0}@keyframes spin{to{transform:rotate(360deg)}}.ai-learning-layout{flex-direction:column;gap:18px;display:flex}.ai-learning-summary{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(3,minmax(0,1fr));display:grid;overflow:hidden}.ai-learning-summary div{border-left:1px solid var(--line);flex-direction:column;justify-content:center;gap:3px;min-height:82px;padding:16px 18px;display:flex}.ai-learning-summary div:first-child{border-left:0}.ai-learning-summary strong{color:var(--teal);font-size:24px;line-height:1}.ai-learning-summary span{color:var(--muted);font-size:12px}.ai-rule-workflow{border:1px solid var(--line);border-top:3px solid var(--yellow);background:var(--surface);border-radius:8px;flex-direction:column;gap:16px;padding:20px;display:flex}.ai-section-heading{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.ai-section-heading>div{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.ai-section-heading h2{margin:0;font-size:17px}.ai-section-heading span{width:100%;color:var(--muted);font-size:12px}.ai-step-number{background:var(--teal);border-radius:50%;place-items:center;height:24px;font-weight:800;display:inline-grid;color:#fff!important;width:24px!important;font-size:12px!important}.ai-clear-evidence{color:var(--muted);align-items:center;gap:5px;padding:4px;font-size:12px;display:inline-flex}.ai-selected-evidence{border-left:3px solid var(--teal);background:var(--teal-soft);padding:12px 14px}.ai-selected-evidence span{color:var(--teal);font-size:11px;font-weight:800}.ai-selected-evidence p{white-space:pre-wrap;max-height:84px;margin:6px 0 0;font-size:13px;line-height:1.45;overflow:auto}.ai-guided-grid{grid-template-columns:1fr 1fr;gap:14px;display:grid}.ai-rule-final-step{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:10px;display:grid}.ai-rule-final-step .textarea{min-height:92px}.ai-rule-preview{color:var(--teal);background:#f4f8fb;border:1px solid #bcd0de;border-radius:6px;align-items:flex-start;gap:9px;padding:12px 14px;display:flex}.ai-rule-preview p{color:var(--ink);margin:3px 0 0;font-size:13px;line-height:1.45}.ai-workflow-actions{justify-content:space-between;align-items:center;gap:16px;display:flex}.ai-workflow-actions>span{color:var(--muted);font-size:12px}.ai-learning-section{flex-direction:column;gap:12px;padding-top:4px;display:flex}.ai-feedback-list,.ai-proposal-list{flex-direction:column;gap:8px;display:flex}.ai-feedback-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:10px 14px;padding:14px;display:grid}.ai-feedback-row.selected{border-color:var(--teal);box-shadow:0 0 0 2px var(--teal-soft)}.ai-feedback-meta{color:var(--muted);grid-column:1/-1;gap:12px;font-size:11px;display:flex}.ai-feedback-comparison{grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr);align-items:start;gap:10px;min-width:0;display:grid}.ai-feedback-comparison>svg{color:var(--muted);margin-top:24px}.ai-feedback-comparison strong{text-transform:uppercase;color:var(--muted);font-size:11px}.ai-feedback-comparison p{white-space:pre-wrap;max-height:110px;margin:5px 0 0;font-size:13px;line-height:1.45;overflow:auto}.ai-feedback-row>.button{white-space:nowrap;align-self:end}.ai-proposal-row{border:1px solid var(--line);background:var(--surface);border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:14px;display:flex}.ai-proposal-row p{margin:5px 0;font-size:13px}.ai-proposal-row span{color:var(--muted);font-size:11px}.ai-proposal-actions{gap:8px;display:flex}.ai-empty-state{color:var(--muted);text-align:center;border:1px dashed #cbdbe5;border-radius:8px;margin:0;padding:18px;font-size:13px}.ai-rules-table td:first-child{width:52%}.ai-rules-table td p{color:var(--muted);white-space:pre-wrap;margin:5px 0 0;font-size:12px;line-height:1.45}.user-invite-form{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:minmax(150px,1fr) minmax(220px,1.4fr) 130px auto;align-items:end;gap:12px;margin-bottom:16px;padding:16px;display:grid}.table-select{background:var(--surface);min-width:92px;height:34px;color:var(--ink);border:1px solid #cbdbe5;border-radius:6px;padding:0 8px;font-weight:700}.status-toggle{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.status-toggle input{accent-color:var(--teal)}.inventory-layout{gap:var(--os-block-gap);flex-direction:column;display:flex}.inventory-summary{border:1px solid var(--line);background:var(--surface);border-radius:8px;grid-template-columns:repeat(2,minmax(0,1fr));display:grid;overflow:hidden}.inventory-summary[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.inventory-summary>div{border-left:1px solid var(--line);flex-direction:column;justify-content:center;gap:3px;min-height:74px;padding:14px 18px;display:flex}.inventory-summary>div:first-child{border-left:0}.inventory-summary strong{color:var(--teal);font-size:23px;line-height:1}.inventory-summary span{color:var(--muted);font-size:11px}.inventory-summary .warning strong{color:#a25b00}.inventory-toolbar{justify-content:space-between;align-items:center;gap:14px;min-height:44px;display:flex}.inventory-filters{border:1px solid var(--line);background:#f5f7f6;border-radius:6px;padding:3px;display:inline-flex}.inventory-filters button{min-height:32px;color:var(--muted);background:0 0;border:0;border-radius:4px;padding:5px 10px;font-size:11px;font-weight:800}.inventory-filters button.active{background:var(--surface);color:var(--teal);box-shadow:0 1px 3px #1830281a}.inventory-toolbar-actions{align-items:center;gap:8px;display:flex}.inventory-search{width:min(280px,30vw);position:relative}.inventory-search svg{color:var(--muted);position:absolute;top:12px;left:11px}.inventory-search input{background:var(--surface);width:100%;height:40px;color:var(--ink);border:1px solid #cbdbe5;border-radius:6px;padding:0 11px 0 35px}.inventory-editor{border:1px solid #b8cddc;border-top:3px solid var(--teal);background:var(--surface);border-radius:8px;padding:18px}.inventory-editor-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.inventory-editor-heading h2{margin:0 0 4px;font-size:17px}.inventory-editor-heading p{color:var(--muted);margin:0;font-size:11px}.inventory-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;display:grid}.inventory-form-grid .field-hint{color:var(--muted);margin-top:4px;font-size:10px;line-height:1.35}.inventory-span-2{grid-column:span 2}.inventory-span-all{grid-column:1/-1}.inventory-costume-units{gap:9px;padding-top:2px;display:grid}.inventory-costume-units-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.inventory-costume-units-heading strong{font-size:12px}.inventory-add-unit{min-height:32px;padding:5px 9px;font-size:11px}.inventory-costume-unit-list{border-top:1px solid var(--line);display:grid}.inventory-costume-unit-editor{border-bottom:1px solid var(--line);gap:11px;min-width:0;padding:8px 0;display:grid}.inventory-costume-unit-editor.needs-repair{background:#fffcf3;border-left:3px solid #d9a625;padding-left:10px}.inventory-costume-unit-header{grid-template-columns:24px minmax(0,1fr) 36px;align-items:center;gap:8px;display:grid}.inventory-costume-unit-header>span{background:var(--teal-soft);width:22px;height:22px;color:var(--teal);border-radius:50%;place-items:center;font-size:10px;font-weight:800;display:grid}.inventory-unit-expand{min-width:0;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:0;align-items:center;gap:8px;padding:5px 0;display:flex}.inventory-unit-expand strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;font-size:12px;overflow:hidden}.inventory-unit-expand small{color:var(--muted);flex:none;font-size:11px}.inventory-unit-expand svg{color:var(--muted);flex:none;margin-left:auto}:is(.inventory-unit-expand:hover strong,.inventory-unit-expand:focus-visible strong){text-decoration:underline}.inventory-general-notes{border-bottom:1px solid var(--line)}.inventory-general-notes summary{color:var(--muted);cursor:pointer;padding:8px 0;font-size:12px;font-weight:700}.inventory-general-notes .field{padding-bottom:12px}.inventory-costume-unit-fields{grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:10px 12px;display:grid}.inventory-unit-name-field,.inventory-unit-location-field{grid-column:span 2}.inventory-unit-repair-toggle{color:#4f6372;align-items:center;gap:7px;min-height:42px;font-size:12px;font-weight:750;display:flex}.inventory-unit-repair-toggle input{accent-color:var(--teal)}.inventory-unit-defect-field{grid-column:span 3}.inventory-unit-notes-field{grid-column:1/-1}.inventory-notes{min-height:72px}.inventory-editor-footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;margin-top:16px;padding-top:14px;display:flex}.inventory-editor-footer>div{align-items:center;gap:8px;display:flex}.inventory-switches label{color:#4f6372;align-items:center;gap:7px;font-size:12px;font-weight:700;display:inline-flex}.inventory-switches input{accent-color:var(--teal)}.inventory-table-panel{overflow-x:auto}.inventory-table{min-width:980px}.inventory-table td:first-child{min-width:190px}.inventory-table td:first-child strong,.inventory-table td:first-child small{display:block}.inventory-table td:first-child small{color:var(--muted);margin-top:3px;font-size:10px}.inventory-table tr.archived{opacity:.62}.inventory-table tr.low-stock td{background:#fffaf0}.inventory-table tr.inventory-row-saved td{background:#edf4f9;transition:background-color .18s}.inventory-table .inventory-unit-row td{background:#f8fafb;border-bottom-color:#e7ebee;padding-top:8px;padding-bottom:8px;font-size:11px}.inventory-table .inventory-unit-row:hover td{background:#f1f5f8}.inventory-unit-name{color:#3f4951;padding-left:24px;font-weight:750;position:relative}.inventory-unit-name:before{content:"";border-bottom:1px solid #acc5d4;border-left:1px solid #acc5d4;width:9px;height:16px;position:absolute;top:-8px;left:8px}.inventory-table .inventory-expanded-row>td{background:#f7fafc;padding:0 12px 12px}.inventory-table .inventory-expanded-row:hover>td{background:#f7fafc}.inventory-expanded-row .inventory-editor{margin:0;box-shadow:0 8px 22px #18302814}.inventory-row-actions{justify-content:flex-end;align-items:center;gap:5px;display:flex}.inventory-saved-indicator{color:var(--teal);white-space:nowrap;align-items:center;gap:4px;font-size:11px;font-weight:800;display:inline-flex}.inventory-delete-button{color:#a33b3b}.inventory-delete-button:hover{background:#fff3f3;border-color:#e5baba}.inventory-delete-confirm{background:#fff8f8;border:1px solid #e8c5c5;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;padding:13px 15px;display:flex}.inventory-delete-confirm>div{align-items:center;gap:8px;display:flex}.inventory-delete-confirm>div:first-child{flex-direction:column;align-items:flex-start;gap:3px}.inventory-delete-confirm strong{color:#7e2727;font-size:13px}.inventory-delete-confirm span{color:var(--muted);font-size:11px}.button-danger{color:#fff;background:#b73838;border-color:#b73838}.button-danger:hover{background:#922b2b;border-color:#922b2b}.inventory-quantity{white-space:nowrap;font-weight:800}.inventory-low{color:#8d5708;white-space:nowrap;align-items:center;gap:4px;margin-top:4px;font-size:10px;display:flex}.muted-value{color:var(--muted)}.inventory-empty{color:var(--muted);justify-content:center;align-items:center;gap:8px;padding:28px;display:flex}.inventory-stock-editor{background:#f8fbfd;border:1px solid #bdd3e2;border-radius:12px;padding:18px}.inventory-stock-editor h3{margin:0 0 4px;font-size:18px}.inventory-stock-editor summary{cursor:pointer;color:#285b7c;padding:12px 0;font-weight:700}.inventory-stock-form{grid-template-columns:minmax(180px,1fr) minmax(130px,.65fr) minmax(200px,1.5fr) auto;align-items:end;gap:10px;display:grid}.inventory-stock-form label{color:var(--ink);gap:5px;font-size:13px;font-weight:700;display:grid}.inventory-stock-form input,.inventory-stock-form select{border:1px solid var(--line);min-width:0;height:42px;color:var(--ink);background:#fff;border-radius:8px;padding:8px 10px}.inventory-stock-reasons{flex-wrap:wrap;grid-column:1/-1;gap:8px;display:flex}.inventory-stock-difference{color:#526b7d;grid-column:1/-1;margin:0;font-size:13px}.inventory-stock-history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.inventory-stock-history li{border-top:1px solid var(--line);flex-wrap:wrap;gap:6px 12px;padding:10px 0;font-size:13px;display:flex}.inventory-stock-history li span{color:var(--muted)}.inventory-stock-history li small{width:100%;color:var(--muted)}.inventory-quick-action{white-space:nowrap;padding:8px 10px;font-size:12px}@media (max-width:800px){.inventory-stock-form{grid-template-columns:1fr 1fr}.inventory-stock-form label:first-child,.inventory-stock-form label:nth-child(3),.inventory-stock-form button{grid-column:1/-1}}.workspace-shell{background:var(--surface);height:calc(100vh - 94px);min-height:560px;overflow:hidden}.empty-inbox{background:var(--surface);text-align:center;place-items:center;min-height:calc(100vh - 94px);padding:32px;display:grid}.empty-inbox h1{margin:0 0 8px;font-size:22px}.empty-inbox p{max-width:440px;color:var(--muted);margin:0;font-size:13px;line-height:1.5}.workspace-grid{grid-template-columns:minmax(260px,320px) minmax(380px,1fr) minmax(330px,390px);height:100%;display:grid}.workspace-grid.chat-only{grid-template-columns:minmax(260px,320px) minmax(380px,1fr)}.workspace-panel{background:var(--surface);flex-direction:column;min-width:0;min-height:0;display:flex}.conversation-list-panel,.conversation-panel{border-right:1px solid var(--line)}.panel-header{border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:center;gap:12px;min-height:67px;padding:13px 16px;display:flex}.panel-header h1,.panel-header h2{margin:0;font-size:16px;line-height:1.2}.panel-header p{color:var(--muted);margin:4px 0 0;font-size:11px}.panel-actions{align-items:center;gap:7px;display:flex}.search-row{border-bottom:1px solid var(--line);flex:none;gap:8px;padding:12px;display:flex}.search-box{flex:1;position:relative}.search-box svg{color:#7a8581;position:absolute;top:11px;left:10px}.search-box input{padding-left:34px}.conversation-list{flex:auto;min-height:0;overflow:hidden auto}.conversation-filters{border-bottom:1px solid var(--line);scrollbar-width:none;flex:none;gap:4px;padding:8px 10px;display:flex;overflow-x:auto}.conversation-filters::-webkit-scrollbar{display:none}.conversation-filters button{min-height:30px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:6px;flex:none;align-items:center;gap:5px;padding:5px 8px;font-size:10px;font-weight:800;display:inline-flex}.conversation-filters button.active{background:var(--teal-soft);color:#285d7e;border-color:#b8cfdf}.conversation-filters button.has-alerts{color:#8c2f2a;background:#fff1f0;border-color:#efb3af}.conversation-filters button.active.has-alerts{color:#78221e;background:#ffe6e4;border-color:#e48780}.filter-alert-badge{background:var(--coral);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-width:17px;height:17px;padding:0 5px;font-size:9px;line-height:1;display:inline-flex}.recent-sync-notice{background:var(--teal-soft);color:#285d7e;border-bottom:1px solid #b7cede;align-items:flex-start;gap:8px;padding:7px 12px;font-size:11px;line-height:1.35;display:flex}.recent-sync-notice.warning{color:#715800;background:#fff8df;border-color:#ead28b}.recent-sync-notice.error{background:var(--coral-soft);color:#8f2e34;border-color:#edbdc0}.recent-sync-notice span{flex:1;min-width:0}.recent-sync-notice button{color:inherit;cursor:pointer;background:0 0;border:0;flex:none;padding:0;display:inline-flex}.conversation-item{background:var(--surface);text-align:left;border:0;border-bottom:1px solid #edf3f7;grid-template-columns:34px minmax(0,1fr) auto;column-gap:10px;width:100%;min-height:92px;padding:12px 14px;display:grid}.conversation-item:hover{background:#f8f9fa}.conversation-item.selected{box-shadow:inset 3px 0 var(--teal);background:#edf3f8}.conversation-item.needs-reply:not(.selected){background:#f4f7fa;box-shadow:inset 3px 0 #286089}.conversation-item.needs-reply .conversation-title{color:#132f29;font-weight:900}.conversation-item.needs-reply .conversation-preview{color:#263b4d;font-weight:650}.conversation-item.unread:not(.selected){background:#f7f9fb;box-shadow:inset 3px 0 #29638d}.conversation-item.unread .conversation-time{color:#17374f;font-weight:900}.conversation-item.unread .conversation-preview{color:#263b4d;font-weight:700}.platform-icon{color:#fff;border-radius:50%;justify-content:center;align-items:center;width:32px;height:32px;display:inline-flex}.platform-icon.facebook{background:var(--blue)}.platform-icon.instagram{background:var(--instagram)}.customer-avatar{border:1px solid var(--line);background:#f2f4f5;border-radius:50%;flex:0 0 32px;width:32px;height:32px;display:inline-flex;overflow:hidden}.customer-avatar img{object-fit:cover;width:100%;height:100%;display:block}.avatar-fallback{color:#193d58;background:#dfeaf2;border-color:#b9cddc;justify-content:center;align-items:center;font-size:10px;font-weight:900}.avatar-fallback.instagram{color:#8b3c70;background:#f7eaf2;border-color:#e4c9da}.customer-title-row{align-items:center;gap:6px;display:flex}.profile-link{color:#5b6863;border-radius:4px;justify-content:center;align-items:center;width:24px;height:24px;display:inline-flex}.profile-link:hover{color:var(--teal);background:#eef0f2}.panel-heading-actions{align-items:center;gap:7px;display:flex}.spin{animation:.8s linear infinite spin}.conversation-main{min-width:0}.conversation-title{align-items:center;gap:7px;font-size:13px;font-weight:500;display:flex}.unread-badge{background:var(--coral);color:#fff;border-radius:9px;justify-content:center;align-items:center;min-width:18px;height:18px;padding:0 5px;font-size:10px;display:inline-flex}.conversation-preview{color:#5f6a66;text-overflow:ellipsis;white-space:nowrap;margin:5px 0 8px;font-size:12px;line-height:1.35;overflow:hidden}.conversation-meta{color:#7a8581;align-items:center;gap:6px;font-size:10px;display:flex}.conversation-meta.waiting{color:#1c435f;font-weight:900}.reply-status-dot{background:#28618b;border-radius:50%;flex:0 0 7px;width:7px;height:7px;box-shadow:0 0 0 3px #d9e7f1}.conversation-time{color:#7a8581;white-space:nowrap;font-size:10px}.conversation-context-menu{z-index:1000;background:#fff;border:1px solid #d8dfdc;border-radius:6px;min-width:198px;padding:5px;position:fixed;box-shadow:0 12px 30px #14241f29}.conversation-context-menu button{color:#2e3a36;text-align:left;background:0 0;border:0;border-radius:4px;align-items:center;gap:8px;width:100%;min-height:36px;padding:8px 10px;font-size:12px;font-weight:750;display:flex}.conversation-context-menu button:hover{background:#f1f3f5}.conversation-context-menu button.danger{color:#a12e34;border-top:1px solid #e7ece9;margin-top:3px}.conversation-context-menu button.danger:hover{background:#fff0f0}.conversation-context-menu button:disabled{opacity:.55}.phishing-undo-snackbar{z-index:1100;color:#fff;background:#25302c;border:1px solid #39433f;border-radius:7px;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;gap:10px;width:min(390px,100vw - 36px);min-height:64px;padding:12px 14px 15px;display:grid;position:fixed;bottom:18px;right:18px;overflow:hidden;box-shadow:0 14px 34px #101c1847}.phishing-undo-copy{gap:2px;min-width:0;display:grid}.phishing-undo-copy strong,.phishing-undo-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.phishing-undo-copy strong{font-size:12px}.phishing-undo-copy span{color:#cdd6d2;font-size:11px}.phishing-undo-snackbar button{color:#88b9dd;background:0 0;border:0;border-radius:4px;min-height:34px;padding:0 9px;font-size:12px;font-weight:800}.phishing-undo-snackbar button:hover{background:#ffffff14}.phishing-undo-snackbar button:disabled{opacity:.65}.phishing-undo-progress{transform-origin:0;background:#3682b9;height:3px;animation:10s linear forwards phishing-undo-countdown;position:absolute;bottom:0;left:0;right:0}@keyframes phishing-undo-countdown{to{transform:scaleX(0)}}.mini-statuses{gap:5px;margin-top:6px;display:flex}.mini-status{background:#ccd3d0;border-radius:50%;width:7px;height:7px}.mini-status.ai{background:#8757b5}.mini-status.ready{background:var(--teal)}.mini-status.waiting{background:var(--yellow)}.chat-header-main{align-items:center;gap:10px;min-width:0;display:flex}.chat-customer{min-width:0}.chat-customer h2{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.compact-select{width:132px;height:34px;padding:0 8px;font-size:11px}.mobile-back,.mobile-next{display:none}.conversation-load-progress{color:#1c4562;background:#f0f7fb;border-bottom:1px solid #cfdbe4;flex:none;padding:7px 16px 8px}.conversation-load-progress-copy{justify-content:space-between;align-items:center;gap:12px;margin-bottom:6px;font-size:10px;line-height:1.25;display:flex}.conversation-load-progress-copy span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.conversation-load-progress-copy strong{color:#556673;flex:none;font-size:9px;font-weight:800}.conversation-load-progress-track{background:#d6e1e9;border-radius:2px;height:3px;overflow:hidden}.conversation-load-progress-track span{border-radius:inherit;background:#24587d;height:100%;transition:width .2s;display:block}.conversation-load-progress-track span.latest{width:34%}.conversation-load-progress-track span.sheet{width:67%}.conversation-load-progress-track span.history{width:90%}.history-notice{border-bottom:1px solid var(--line);background:var(--teal-soft);color:#285d7e;flex:none;padding:7px 16px;font-size:10px;line-height:1.35}.history-notice.error{background:var(--coral-soft);color:#8f2e34;border-color:#edbdc0}.message-scroll{background:#f6f7f8;flex:1;min-height:0;padding:20px clamp(14px,3vw,28px);overflow-y:auto}.date-separator{color:#8a9490;align-items:center;gap:12px;margin:4px 0 20px;font-size:10px;font-weight:700;display:flex}.date-separator:before,.date-separator:after{content:"";background:#e1e5e3;flex:1;height:1px}.message-date-separator{color:#7d8783;justify-content:center;margin:18px 0 13px;font-size:10px;font-weight:700;line-height:1;display:flex}.message-date-separator time{background:#ffffffb8;border-radius:4px;padding:3px 8px}.message-row{margin-bottom:15px;display:flex}.message-row.outbound{justify-content:flex-end}.message-bubble-wrap{max-width:min(74%,620px);position:relative}.message-bubble{border:1px solid var(--line);background:var(--surface);border-radius:8px;max-width:min(74%,620px);padding:10px 12px 8px;box-shadow:0 2px 8px #16211e0a}.message-bubble-wrap .message-bubble{max-width:none}.message-row.outbound .message-bubble{background:#e8f0f6;border-color:#c9dbe8}.message-seen{color:#7d8783;text-align:right;margin:4px 3px 0;font-size:10px;line-height:1.2;display:block}.message-reaction-button{color:#7d8783;opacity:0;cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:26px;height:26px;transition:opacity .15s,background .15s,color .15s;display:grid;position:absolute;top:50%;right:-31px;transform:translateY(-50%)}.message-bubble-wrap:hover .message-reaction-button,.message-reaction-button.active{opacity:1}.message-reaction-button:focus-visible{opacity:1}:is(.message-reaction-button:hover,.message-reaction-button:focus-visible){color:#cf354f;background:#fff0f2;outline:none}.message-reaction-button.active{color:#cf354f}.message-reaction-button:disabled{cursor:wait;opacity:.45}.message-reaction{background:#fff;border:1px solid #dfe5e2;border-radius:11px;justify-content:center;align-items:center;min-width:24px;height:21px;padding:0 5px;font-size:12px;line-height:1;display:inline-flex;position:absolute;bottom:-10px;right:7px;box-shadow:0 2px 6px #16211e17}.message-row.outbound .message-reaction.customer-reaction{left:7px;right:auto}.venue-alerts p{overflow-wrap:anywhere;font-size:13px}.venue-alerts svg{vertical-align:middle}.venue-forbidden{color:#b42335;border-left:3px solid #b42335;padding-left:10px}.message-sender{color:#59635f;margin-bottom:5px;font-size:10px;font-weight:800}.message-body{white-space:pre-wrap;margin:0;font-size:13px;line-height:1.5}.message-attachments{gap:5px;margin-top:8px;font-size:12px;display:grid}.message-attachments a{color:#326f93;text-decoration:underline}.message-image-link{background:#edf3f7;border-radius:6px;width:min(320px,58vw);display:block;overflow:hidden;text-decoration:none!important}.message-image{object-fit:contain;width:100%;max-height:320px;display:block}.message-image-placeholder{color:#66716d;background:#f3f5f6;border:1px dashed #bcc8c4;border-radius:6px;justify-content:center;align-items:center;gap:7px;width:min(220px,52vw);min-height:64px;padding:12px;font-weight:700;display:flex}.message-footer{color:#7d8783;justify-content:flex-end;gap:5px;margin-top:6px;font-size:9px;display:flex}.notes-band{border-top:1px solid var(--line);background:#fffbed;max-height:104px;padding:9px 16px;overflow-y:auto}.note-item{color:#5d572f;align-items:flex-start;gap:8px;margin-bottom:8px;font-size:11px;line-height:1.4;display:flex}.note-item>span{overflow-wrap:anywhere;flex:1;min-width:0}.note-item:last-child{margin-bottom:0}.note-delete-button{color:#8b8170;cursor:pointer;background:0 0;border:0;border-radius:4px;flex:0 0 24px;place-items:center;width:24px;height:24px;display:grid}.note-delete-button:hover{color:#a23a3f;background:#f5e8e4}.note-delete-button:focus-visible{outline-offset:1px;outline:2px solid #326f93}.note-delete-button:disabled{cursor:wait;opacity:.45}.reply-composer{border-top:1px solid var(--line);background:var(--surface);flex:none;padding:12px 16px}.reply-composer-header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:9px;display:flex}.reply-composer-header .section-title{margin:0}.reply-header-actions{align-items:center;gap:7px;display:flex}.reply-header-actions .icon-button.active{background:var(--yellow-soft);color:#665615;border-color:#e5d68c}.emoji-control{position:relative}.emoji-picker{z-index:20;border:1px solid var(--line);background:var(--surface);border-radius:6px;grid-template-columns:repeat(4,1fr);gap:3px;width:196px;padding:7px;display:grid;position:absolute;bottom:calc(100% + 7px);right:0;box-shadow:0 10px 24px #142a2324}.emoji-picker button{cursor:pointer;background:0 0;border:0;border-radius:4px;width:40px;height:36px;font-size:20px;line-height:1}.emoji-picker button:hover{background:#f1f3f5}.reply-textarea{min-height:64px;max-height:170px}.textarea.reply-textarea{scrollbar-gutter:stable;overflow-y:auto}.reply-image-preview{border:1px solid var(--line);background:#f6f7f8;border-radius:6px;align-items:center;gap:10px;min-height:62px;margin-top:9px;padding:7px;display:flex}.reply-image-preview>img{object-fit:cover;background:#e8ecea;border-radius:4px;flex:0 0 62px;width:62px;height:48px}.reply-image-preview>div{flex:1;gap:2px;min-width:0;display:grid}.reply-image-preview strong{font-size:11px}.reply-image-preview span{color:var(--muted);font-size:10px}.reply-image-preview .icon-button{flex:0 0 34px}.reply-actions{grid-template-columns:minmax(140px,.8fr) minmax(190px,1.2fr);gap:8px;margin-top:9px;display:grid}.note-form{background:#fffbed;border:1px solid #e5d68c;border-radius:6px;gap:8px;margin-top:10px;padding:9px;display:flex}.note-form input{background:#fff;height:34px}.note-form button{width:34px;height:34px}.assistant-scroll{min-height:0;overflow-y:auto}.side-section{border-bottom:1px solid var(--line);padding:16px}.side-section:last-child{border-bottom:0}.section-title{align-items:center;gap:7px;margin:0 0 12px;font-size:13px;display:flex}.order-sync-heading{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.order-sync-heading .icon-button.compact{width:30px;height:30px}.order-sync-state{border:1px solid var(--line);color:#42514b;background:#f7f8f9;border-left-width:3px;border-radius:6px;padding:10px;font-size:10px;line-height:1.4}.order-sync-state>div{align-items:flex-start;gap:8px;display:flex}.order-sync-state>div>span{min-width:0}.order-sync-state strong{color:var(--text)}.order-sync-state small{color:var(--muted);margin-top:2px;font-size:9px;display:block}.order-sync-state p{overflow-wrap:anywhere;border-top:1px solid #4656501f;margin:8px 0 0;padding-top:7px}.order-sync-state.synced{border-color:#9ebcd2;border-left-color:var(--teal);background:var(--teal-soft);color:#1c4562}.order-sync-state.pending{background:var(--yellow-soft);color:#665615;border-color:#e5d68c #e5d68c #e5d68c #b99412}.order-sync-state.draft{border-left-color:#81908a}.sheet-refresh-error{margin-top:8px}.section-kicker{color:var(--muted);margin-left:auto;font-size:10px;font-weight:600}.warning-box{background:var(--coral-soft);color:#8f2e34;border:1px solid #edbdc0;border-radius:6px;align-items:flex-start;gap:8px;margin-bottom:12px;padding:10px;font-size:11px;line-height:1.4;display:flex}.warning-box strong{margin-bottom:2px;display:block}.conflict-box{border-left:3px solid var(--yellow);background:var(--yellow-soft);color:#665615;margin-bottom:12px;padding:10px;font-size:11px;line-height:1.4}.missing-fields{flex-wrap:wrap;gap:5px;display:flex}.missing-chip{background:var(--yellow-soft);color:#6d5b11;border:1px solid #e5d68c;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:700}.complete-line{color:var(--teal);align-items:center;gap:7px;font-size:11px;font-weight:800;display:flex}.order-progress{justify-content:space-between;align-items:center;gap:10px;font-size:11px;display:flex}.order-progress span{color:var(--muted)}.order-progress strong{color:var(--text);white-space:nowrap}.system-fields-warning{margin:10px 0 0}.availability-warning{color:#765f0b;align-items:center;gap:7px;margin-top:10px;font-size:11px;font-weight:800;display:flex}.order-field-group{border-bottom:1px solid var(--line);margin-bottom:18px;padding-bottom:18px}.order-field-group-optional{border-bottom:0;margin-bottom:0;padding-bottom:0}.order-field-group-heading{justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px;display:flex}.order-field-group-heading>div:first-child{align-items:center;gap:7px;min-width:0;display:flex}.order-field-group-heading h4{margin:0;font-size:12px;line-height:20px}.order-field-group-heading>div:first-child>span{background:var(--teal-soft);width:20px;height:20px;color:var(--teal);border-radius:50%;flex:0 0 20px;justify-content:center;align-items:center;font-size:10px;font-weight:800;display:inline-flex}.order-field-group-heading .missing-fields{justify-content:flex-end}.order-field-group-heading .complete-line{white-space:nowrap;min-height:20px}.order-grid{grid-template-columns:1fr 1fr;gap:10px;display:grid}.order-grid .field.full,.order-grid>.full{grid-column:1/-1}.order-grid .input{height:36px;font-size:12px}.order-grid .input[readonly]{color:var(--muted);background:#f4f6f5}.order-grid .select{height:36px;padding:0 9px;font-size:12px}.order-grid .field label{font-size:10px}.celebrants-fields{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:10px 0 2px}.celebrants-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;display:flex}.celebrants-heading>span{color:var(--text);font-size:11px;font-weight:800}.celebrants-heading .status-toggle{color:var(--muted);font-size:11px;font-weight:600}.celebrant-row{grid-template-columns:minmax(0,1.45fr) minmax(84px,.75fr);align-items:end;gap:10px;margin-bottom:10px;display:grid}.celebrant-row:has(.celebrant-number){grid-template-columns:22px minmax(0,1.45fr) minmax(84px,.75fr)}.celebrant-number{background:var(--teal-soft);width:22px;height:22px;color:var(--teal);border-radius:50%;justify-content:center;align-self:center;align-items:center;font-size:10px;font-weight:800;display:inline-flex}.localized-date-time-input{position:relative}.localized-date-time-input .input{padding-right:35px}.date-time-picker-button{z-index:1;color:#51605a;cursor:pointer;background:0 0;border:0;border-left:1px solid #e1e6e3;border-radius:0 5px 5px 0;justify-content:center;align-items:center;width:34px;height:34px;display:inline-flex;position:absolute;top:1px;right:1px}.date-time-picker-button:hover{color:var(--teal);background:#f0f3f6}.date-time-picker-button:focus-visible{outline:2px solid var(--teal);outline-offset:-2px}.native-date-time-picker{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;bottom:0;right:18px}.order-textarea{resize:vertical;min-height:68px;padding:9px;font-size:12px;line-height:1.4}.activities-field .order-textarea{min-height:108px}.detected-changes{background:#fffdf4;border:1px solid #e5d68c;border-radius:6px;margin-bottom:14px;overflow:hidden}.detected-changes-heading{border-bottom:1px solid #eee3ad;justify-content:space-between;align-items:center;gap:10px;padding:10px;display:flex}.detected-changes-heading strong,.detected-changes-heading span{display:block}.detected-changes-heading strong{color:#665615;font-size:12px}.detected-changes-heading span{color:var(--muted);margin-top:2px;font-size:10px}.detected-change{border-bottom:1px solid #eee3ad;padding:10px}.detected-change:last-child{border-bottom:0}.detected-change-field{color:var(--text);margin-bottom:5px;font-size:11px;font-weight:800}.detected-change-values{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:7px;font-size:11px;display:grid}.detected-change-values span,.detected-change-values strong{overflow-wrap:anywhere}.detected-change-values span{color:var(--muted)}.detected-change-values strong{color:#285d7e}.detected-change p{color:#665615;margin:7px 0;font-size:10px;line-height:1.4}.detected-change-actions{justify-content:flex-end;gap:7px;display:flex}.detected-change-actions .button{min-height:32px;padding:6px 9px;font-size:10px}.generated-sheet-preview{border-top:1px solid var(--line);margin-top:14px}.generated-sheet-preview>div{border-bottom:1px solid var(--line);padding:10px 0}.generated-sheet-preview strong{font-size:10px}.generated-sheet-preview p{color:var(--muted);white-space:pre-wrap;margin:5px 0 0;font-size:11px;line-height:1.5}.order-save-state{min-height:16px;color:var(--muted);text-align:right;margin-bottom:5px;font-size:10px}.order-save-state.saved{color:#326f93}.order-save-state.error{color:#9f3036}.order-summary{border-top:1px solid var(--line);margin-top:12px;padding-top:12px}.sheet-change-summary{color:#5b5140;margin:0 0 8px;font-size:11px;line-height:1.45}.sheet-change-summary strong{color:var(--text)}.sheet-change-summary.no-changes{color:var(--muted)}.incomplete-confirm{background:var(--yellow-soft);color:#665615;border:1px solid #e5d68c;border-radius:6px;align-items:flex-start;gap:8px;margin-bottom:10px;padding:10px;font-size:11px;display:flex}.incomplete-confirm p{margin:3px 0 9px;line-height:1.4}.incomplete-actions{flex-wrap:wrap;gap:7px;display:flex}.incomplete-actions .button{min-height:34px;padding:7px 10px;font-size:11px}.sheet-success{background:var(--teal-soft);color:#285d7e;overflow-wrap:anywhere;border:1px solid #b8cfdf;border-radius:6px;margin-top:10px;padding:9px;font-size:11px}.inline-error{color:#9f3036;margin:10px 0 0;font-size:11px}@media (max-width:1100px) and (min-width:901px){.workspace-grid{grid-template-columns:270px minmax(350px,1fr) 340px}.reply-actions{grid-template-columns:1fr}}@media (max-width:900px){.login-page{padding:24px 16px}.login-panel{padding:34px 24px 30px}.login-brand img{width:126px;height:126px}.login-brand h1{font-size:42px}.primary-nav{display:none}.mobile-nav-toggle{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--ink);border-radius:8px;order:2;justify-content:center;align-items:center;gap:6px;margin-left:auto;padding:7px 10px;font-size:13px;font-weight:700;display:inline-flex}.mobile-nav-toggle:hover{background:var(--canvas)}.portal-header:not(.animator-header){flex-wrap:wrap;height:auto;min-height:64px;padding-block:8px}.portal-header:not(.animator-header) .account-area{order:3;margin-left:0}.portal-header:not(.animator-header) .primary-nav[data-open=true]{border-top:1px solid var(--line);flex:1 0 100%;order:4;grid-template-columns:repeat(2,minmax(0,1fr));justify-content:stretch;align-items:stretch;gap:4px;max-height:60vh;padding:8px 0 2px;display:grid;overflow:hidden auto}.portal-header:not(.animator-header) .primary-nav .nav-link{white-space:normal;justify-content:flex-start;height:auto;min-height:42px;padding:8px 10px;line-height:1.25}.account-wallet-mobile{display:none}.animator-header{flex-wrap:wrap;height:auto;min-height:64px;padding-block:8px}.animator-header .primary-nav{flex:1 0 100%;order:3;justify-content:flex-start;display:flex;overflow-x:auto}.animator-header .account-wallet-mobile{display:none}.portal-header{padding:0 12px}.brand-lockup{min-width:0}.brand-subtitle,.account-copy{display:none}.account-profile{border:1px solid var(--line);justify-content:center;width:38px;height:38px;padding:0}.admin-page{padding:18px 12px}.admin-grid{grid-template-columns:1fr}.integration-layout .page-heading{flex-direction:column;align-items:stretch}.integration-heading-actions{grid-template-columns:1fr 1fr;display:grid}.integration-card{min-height:0}.integration-metrics{grid-template-columns:1fr}.integration-metrics div{border-left:0;border-top:1px solid var(--line);min-height:52px}.integration-metrics div:first-child{border-top:0}.ai-learning-summary{grid-template-columns:1fr}.ai-learning-summary div{border-left:0;border-top:1px solid var(--line)}.ai-learning-summary div:first-child{border-top:0}.ai-guided-grid{grid-template-columns:1fr}.ai-workflow-actions,.ai-proposal-row{flex-direction:column;align-items:stretch}.ai-feedback-row,.ai-feedback-comparison{grid-template-columns:1fr}.ai-feedback-comparison>svg{display:none}.ai-feedback-row>.button{width:100%}.user-invite-form{grid-template-columns:1fr}.inventory-summary,.inventory-summary[data-count="3"]{grid-template-columns:1fr 1fr}.inventory-summary>div:nth-child(n+3){border-top:1px solid var(--line)}.inventory-summary>div:nth-child(odd){border-left:0}.inventory-toolbar{flex-direction:column;align-items:stretch}.inventory-filters{width:100%;min-width:0;max-width:100%;overflow-x:auto}.inventory-filters button{flex:none}.inventory-toolbar-actions{align-items:stretch}.inventory-search{flex:1;width:auto}.inventory-form-grid{grid-template-columns:1fr}.inventory-span-2,.inventory-span-all{grid-column:auto}.inventory-costume-unit-fields{grid-template-columns:1fr}.inventory-unit-name-field,.inventory-unit-location-field,.inventory-unit-defect-field,.inventory-unit-notes-field{grid-column:auto}.inventory-editor-footer{flex-direction:column;align-items:stretch}.inventory-editor-footer>div{flex-wrap:wrap}.inventory-delete-confirm{flex-direction:column;align-items:stretch}.inventory-delete-confirm>div:last-child{justify-content:flex-end}.data-panel{overflow-x:auto}.data-table{min-width:680px}.inventory-table-panel{background:0 0;border:0;overflow:visible}.inventory-table{width:100%;min-width:0;display:block}.inventory-table thead{display:none}.inventory-table tbody{gap:10px;display:grid}.inventory-table tbody tr{border:1px solid var(--line);background:var(--surface);border-radius:12px;min-width:0;display:grid;overflow:hidden}.inventory-table tbody td,.inventory-table .inventory-unit-row td{border-bottom:1px solid var(--line);text-align:right;justify-content:space-between;align-items:center;gap:12px;min-width:0;padding:9px 12px;font-size:12px;display:flex}.inventory-table tbody td:last-child{border-bottom:0}.inventory-table tbody td[data-label]:before{content:attr(data-label);color:var(--muted);text-align:left;flex:0 0 94px;font-size:11px;font-weight:750}.inventory-table tbody td[data-label]:first-child{text-align:left;justify-content:flex-start;font-size:15px}.inventory-table tbody td[data-label]:first-child:before{display:none}.inventory-table td:first-child{min-width:0}.inventory-table .inventory-actions-cell{justify-content:flex-end}.inventory-table .inventory-unit-row{border-left:3px solid #b5d1e2;margin-left:12px}.inventory-table .inventory-expanded-row{border-top:0;border-radius:0 0 12px 12px;margin-top:-10px}.inventory-table .inventory-expanded-row>td{text-align:left;padding:12px;display:block}.page-heading{flex-direction:column;align-items:stretch}.workspace-shell{height:calc(100vh - 94px);min-height:0}.workspace-grid{height:100%;display:block}.workspace-panel{border-right:0;height:100%;display:none}.workspace-panel.mobile-active{display:flex}.mobile-back,.mobile-next{display:inline-flex}.conversation-item{min-height:86px}.message-bubble-wrap{max-width:86%}.message-bubble{max-width:100%}.message-reaction-button{opacity:.72}.reply-composer{max-height:48%;overflow-y:auto}.reply-actions{grid-template-columns:1fr}.assistant-panel .panel-header{z-index:2;background:var(--surface);position:sticky;top:0}}@media (max-width:600px){.portal-header{gap:8px}.brand-lockup{gap:6px}.brand-lockup img{width:28px;height:28px}.brand-name{font-size:13px}.account-area{gap:4px}.account-area .nav-link{padding-inline:5px;font-size:12px}.account-area .icon-button{width:34px;height:34px}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@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}
