.fg-app,body:has(.fg-app){color-scheme:light;--brand-primary:#a72d32;--brand-dark:#8d2329;--brand-soft:#f5eae7;--on-accent:#fff;--ink:#222723;--text:#363e36;--muted:#687266;--faint:#697467;--line:#e1e4dc;--line-strong:#cdd3c7;--canvas:#f6f5f1;--warm:var(--canvas);--paper:#fff;--surface-raised:#eeeee8;--surface-deep:#e9e9e0;--input:#fafbf7;--green:#3e6853;--green-soft:#ecf3eb;--amber:#825e29;--amber-soft:#f8f0dd;--danger:#a52d39;--danger-soft:#fcecef;--shadow:0 8px 30px #2227220b;background:var(--canvas);color:var(--text)}html:has(.fg-app){background:#f6f5f1}.fg-reference-shell .fg-content{max-width:1256px;margin:0 auto;padding:26px 28px 32px}.fg-reference-shell .fg-reference-header{background:#ffffffed;border-bottom:1px solid var(--line)}.fg-reference-shell .fg-reference-header-inner{width:min(1200px,calc(100% - 56px));min-height:76px}.fg-reference-shell .fg-reference-brand .brand-logo img{width:142px;height:44px}.fg-reference-shell .fg-reference-nav{gap:28px}.fg-reference-shell .fg-reference-nav button{min-height:44px;color:var(--muted);font-size:13px}.fg-reference-shell .fg-reference-actions{gap:9px}.fg-reference-shell .fg-reference-icon-button,.fg-reference-shell .fg-reference-mobile-menu{width:44px;height:44px}.fg-reference-shell .fg-reference-account-button{min-height:44px;border-radius:8px;padding:0 16px}.fg-reference-shell .fg-reference-drawer{background:var(--paper)}.fg-reference-shell .fg-reference-drawer nav button:hover{background:var(--brand-soft)}.fg-reference-shell .fg-reference-drawer header button,.fg-reference-shell .fg-reference-drawer-account,.fg-reference-shell .fg-reference-drawer-login{border-color:var(--line)}.fg-reference-shell .fg-reference-drawer-user small{color:var(--muted)}.fg-reference-shell .fg-view-nav{border:0;min-height:44px;margin:0 0 20px;background:transparent}.fg-reference-shell .fg-view-nav button{min-height:44px;color:var(--muted);font-size:13px;font-weight:500}.fg-reference-shell .fg-view-nav span{color:var(--ink);font-size:15px;font-weight:600}.fg-reference-shell .fg-primary,.fg-reference-shell .fg-secondary{border-radius:8px}.fg-reference-shell .fg-footer{max-width:1200px;margin:0 auto;border:0;color:var(--muted)}.fg-reference-shell .fg-work-card{border-color:var(--line);box-shadow:none;border-radius:12px}.fg-reference-shell .fg-result-detail,.fg-reference-shell .fg-result-main{border-radius:12px}.fg-reference-shell .fg-material-panel{background:var(--paper)}.fg-reference-shell .fg-file-drag,.fg-reference-shell .fg-file-order,.fg-reference-shell .fg-file-remove,.fg-reference-shell .fg-file-zoom{color:#fff}body:has(.fg-app) .fg-editor-frame{background:var(--paper);border-color:var(--line)}body:has(.fg-app) .fg-editor-actions,body:has(.fg-app) .fg-editor-head,body:has(.fg-app) .fg-editor-options,body:has(.fg-app) .fg-editor-tools{border-color:var(--line)}body:has(.fg-app) .fg-editor-head small,body:has(.fg-app) .fg-editor-loading,body:has(.fg-app) .fg-editor-size{color:var(--muted)}body:has(.fg-app) .fg-editor-close{border-color:var(--line)}body:has(.fg-app) .fg-editor-tools button{color:var(--text);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-tools button.active{color:#fff;background:var(--brand-primary);border-color:var(--brand-primary)}body:has(.fg-app) .fg-editor-options input{color:var(--ink);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-colors button{border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-crop-actions button{color:var(--text);background:var(--input);border-color:var(--line-strong)}body:has(.fg-app) .fg-editor-crop-actions button.active{color:#fff;background:var(--brand-primary);border-color:var(--brand-primary)}body:has(.fg-app) .fg-editor-text input{background:var(--paper);border-color:var(--line-strong)}body:has(.fg-app) .auth-backdrop{background:#252b2866;backdrop-filter:blur(7px)}body:has(.fg-app) .auth-page{width:min(940px,100%);max-width:calc(100vw - 48px);padding:0;display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #fff8;border-radius:20px;box-shadow:0 30px 100px #182a2633}.auth-visual{position:relative;min-height:630px;background:#dfd6c7 url(/images/cases/living-room.webp) 54%/cover}.auth-visual:before{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#1d211d85)}.auth-visual>div{position:absolute;bottom:36px;left:32px;right:24px;color:#fff}.auth-visual span{font-size:12px}.auth-visual strong{display:block;margin:8px 0;font-size:30px;font-weight:550;line-height:1.4}.auth-visual small{font-size:12px;color:#ffffffc9}.auth-form-area{padding:46px 42px 32px}body:has(.fg-app) .auth-login-header{text-align:center}body:has(.fg-app) .auth-brand-logo{width:180px;height:54px;margin:0 auto}body:has(.fg-app) .auth-brand-logo img{width:180px;max-height:54px}body:has(.fg-app) .auth-login-header h2{margin:22px 0 0;font-size:20px;font-weight:550;line-height:1.5}body:has(.fg-app) .auth-login-header>p{font-size:12px}body:has(.fg-app) .auth-tabs{margin-top:26px}body:has(.fg-app) .auth-tabs button{min-height:48px;font-weight:550}body:has(.fg-app) .auth-tabs button:after{left:0;right:0}body:has(.fg-app) .auth-field{font-weight:500}body:has(.fg-app) .auth-input-shell,body:has(.fg-app) .auth-primary{border-radius:9px}body:has(.fg-app) .auth-input-shell input{font-size:16px}body:has(.fg-app) .auth-panel{padding-top:24px}body:has(.fg-app) .auth-legal{font-size:11px;line-height:1.8}body:has(.fg-app) .auth-close{color:var(--muted)}@media(max-width:760px){.fg-reference-shell .fg-reference-header-inner{width:calc(100% - 32px);min-height:62px;gap:10px}.fg-reference-shell .fg-reference-brand .brand-logo img{width:120px;height:38px}.fg-reference-shell .fg-reference-account-button{width:44px;padding:0}.fg-reference-shell .fg-reference-actions{gap:1px}.fg-reference-shell .fg-content{padding:17px 18px 24px;min-height:calc(100dvh - 62px)}.fg-reference-shell .fg-view-nav{position:static;margin-bottom:16px}body:has(.fg-app) .auth-backdrop{padding:16px}body:has(.fg-app) .auth-page{max-width:calc(100vw - 32px);width:min(430px,100%);grid-template-columns:1fr;border-radius:16px;margin:auto}.auth-visual{display:none}.auth-form-area{padding:40px 24px 26px}body:has(.fg-app) .auth-login-header h2{margin-top:18px;font-size:17px}body:has(.fg-app) .auth-tabs{margin-top:20px}body:has(.fg-app) .auth-panel{padding-top:20px}}@media(prefers-reduced-motion:reduce){.fg-app *,body:has(.fg-app) .auth-page *{scroll-behavior:auto!important}}