:root{--brand-primary: #bc1f36;--brand-primary-hover: #a11a2d;--brand-primary-press: #871423;--brand-secondary: #143a7c;--brand-secondary-hover: #102f66;--gradient-brand: linear-gradient(135deg, #143a7c 0%, #6e3960 50%, #d72638 100%);--gradient-night: radial-gradient(ellipse at 30% 20%, #1b2752 0%, #0a0e22 60%, #050714 100%);--ink-900: #1a1b1f;--fg-1: #1a1b1f;--fg-2: #3a3b41;--fg-3: #54565e;--fg-4: #a4a6ad;--bg-1: #ffffff;--bg-2: #f8f9fb;--bg-3: #f2f3f5;--bg-cosmos: #0a0e22;--border-1: #e4e5e9;--border-2: #caccd2;--success: #1b8a5a;--warning: #c77700;--danger: #bc1f36;--info: #143a7c;--info-bg: #e6ecf6;--shadow-sm: 0 1px 2px rgba(20, 58, 124, .06), 0 1px 1px rgba(20, 58, 124, .04);--shadow-md: 0 4px 12px rgba(20, 58, 124, .08), 0 2px 4px rgba(20, 58, 124, .06);--shadow-lg: 0 12px 28px rgba(20, 58, 124, .12), 0 4px 8px rgba(20, 58, 124, .06);--shadow-xl: 0 24px 48px rgba(20, 58, 124, .16), 0 8px 16px rgba(20, 58, 124, .08);--shadow-glow-blue: 0 0 0 6px rgba(20, 58, 124, .18);--radius-sm: 8px;--radius-md: 12px;--radius-lg: 16px;--radius-xl: 24px;--font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;--font-text: "Inter", "Helvetica Neue", Arial, sans-serif;--font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;--tracking-tight: -.02em;--tracking-overline: .16em}*{box-sizing:border-box}html{background:var(--bg-2);color:var(--fg-1);font-family:var(--font-text);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}:focus-visible{outline:3px solid rgba(20,58,124,.35);outline-offset:2px}h1.ant-typography,h2.ant-typography,h3.ant-typography,h4.ant-typography,.ant-card-head-title,.ant-modal-title{font-family:var(--font-display)}h1.ant-typography,h2.ant-typography{font-weight:800!important;letter-spacing:var(--tracking-tight)}h3.ant-typography,h4.ant-typography,.ant-card-head-title,.ant-modal-title{font-weight:700!important}@media(prefers-reduced-motion:reduce){*,*:before{transition:none!important}}#root,.app-layout{min-height:100vh}.app-sider{position:sticky!important;top:0;height:100vh;display:flex;flex-direction:column}.app-sider .ant-layout-sider-children{display:flex;flex-direction:column;height:100%;min-height:0}.sider-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden}.sider-footer{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px;border-top:1px solid rgba(255,255,255,.12);background:#ffffff08}.sider-footer-identity{min-width:0}.sider-footer-meta{display:flex;flex-direction:column;gap:4px;min-width:0;max-width:118px}.sider-footer-name{color:#ffffffe0!important;font-size:13px;font-weight:500;line-height:1.2}.sider-footer-role{align-self:flex-start;margin:0;background:#ffffff1a;border:none;color:#ffffffad;font-size:11px;line-height:1.6;text-transform:capitalize}.sider-footer-logout{flex:0 0 auto;color:#ffffffad!important}.sider-footer-logout:hover{color:#ff7875!important;background:#ffffff0f!important}.ant-layout-sider-collapsed .sider-footer{justify-content:center;padding:12px 0}.app-sider{background:var(--gradient-night)!important}.app-sider:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--gradient-brand);z-index:1}.brand{min-height:76px;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:18px 20px 12px;color:#fff}.brand-logo{display:block;width:132px;height:auto}.brand-mark{display:block;width:32px;height:32px;margin:0 auto}.brand small{display:block;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-family:var(--font-display);font-size:11px;font-weight:700;letter-spacing:var(--tracking-overline);text-transform:uppercase;color:#ffffff8c}.app-header{height:64px;padding:0 28px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#fff;border-bottom:1px solid var(--border-1)}.app-content{padding:28px;overflow:hidden}.login{min-height:100vh;display:grid;place-items:center;align-content:center;padding:24px 16px;background:var(--gradient-night)}.login-card{position:relative;overflow:hidden;width:min(420px,100%);padding:40px 32px 32px;border-radius:var(--radius-xl);background:var(--bg-1);box-shadow:var(--shadow-xl)}.login-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:var(--gradient-brand)}.login-logo{display:block;width:176px;height:auto}.login-overline{margin:32px 0 8px;font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:var(--tracking-overline);text-transform:uppercase;color:var(--brand-primary)}.login-title{margin:0;font-family:var(--font-display);font-size:24px;font-weight:800;line-height:1.2;letter-spacing:var(--tracking-tight);color:var(--fg-1)}.login-intro{margin:4px 0 0;color:var(--fg-3);font-size:16px;line-height:1.5}.login-body{margin-top:20px}.login-body .ant-form-item{margin-bottom:16px}.login-body .ant-form-item-label>label{font-size:14px;font-weight:600;color:var(--fg-2)}.login-body .ant-input,.login-body .ant-input-affix-wrapper{padding:9px 12px;box-shadow:inset 0 1px 1px #143a7c0a}.login-body .ant-input-affix-wrapper .ant-input{padding:0;box-shadow:none}.login-body .ant-input:focus,.login-body .ant-input-affix-wrapper-focused{box-shadow:var(--shadow-glow-blue)}.login-submit{height:48px;margin-top:8px;font-size:16px}.login-alert{margin-bottom:16px}.login-links{margin-top:20px;font-size:14px}.login-links a{color:var(--brand-secondary);font-weight:500}.login-foot{margin:24px 0 0;font-size:13px;color:#ffffff9e;text-align:center}@media(max-width:480px){.login-card{padding:32px 24px 24px}}.field-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 20px}.editor-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;align-items:start;gap:24px}.editor-main .ant-card-body,.editor-sidebar-card .ant-card-body{display:flex;flex-direction:column}.editor-sidebar{position:sticky;top:92px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 116px);overflow-y:auto}.editor-sidebar-card .field-grid{grid-template-columns:minmax(0,1fr)}.full-width-field,.field-grid>.ant-collapse,.field-grid>.ant-card{grid-column:1 / -1}.fun-fact-block{border-left:4px solid var(--brand-primary);background:var(--bg-3);border-radius:4px;padding:10px 14px}.fun-fact-block__text{outline:none}.fun-fact-block__text:empty:before{content:attr(data-placeholder);color:#8c8c8c}.image-row-block{display:grid;gap:10px;padding:8px 0}.image-row-block__grid{display:grid;gap:12px}.image-row-slot{display:flex;flex-direction:column;gap:6px;min-width:0}.image-row-slot__preview,.image-row-slot__empty{width:100%;height:180px;border-radius:4px;object-fit:cover}.image-row-slot__empty{display:flex;align-items:center;justify-content:center;font-size:28px;color:#8c8c8c;background:#f5f5f5;border:1px dashed #d9d9d9}.image-row-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;max-height:60vh;overflow-y:auto}.image-row-library__item{display:flex;flex-direction:column;gap:4px;padding:4px;border:1px solid #f0f0f0;border-radius:6px;background:#fff;cursor:pointer;text-align:left;font-size:12px}.image-row-library__item:hover{border-color:var(--brand-secondary)}.image-row-library__item img{width:100%;aspect-ratio:4 / 3;object-fit:cover;border-radius:4px}.image-row-library__item span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-fab{position:fixed;right:24px;bottom:24px;z-index:1000;width:56px;height:56px;min-width:56px;max-width:56px;aspect-ratio:1 / 1;padding:0;margin:0;border:none;border-radius:999px;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:#fff;background:var(--gradient-brand);box-shadow:0 8px 24px #3157d566;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}.chat-fab:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 10px 28px #3157d580}.chat-fab:focus-visible{outline:2px solid var(--brand-secondary);outline-offset:3px}.chat-fab-open{background:#1f2937;box-shadow:0 8px 24px #0000004d}.chat-popup{position:fixed;right:24px;bottom:92px;z-index:999;width:min(400px,calc(100vw - 32px));height:min(640px,calc(100vh - 128px));display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 24px 64px #0f172a3d,0 2px 8px #0f172a14;overflow:hidden;animation:chat-popup-in .18s ease-out;transform-origin:bottom right}@keyframes chat-popup-in{0%{opacity:0;transform:scale(.94) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}@media(prefers-reduced-motion:reduce){.chat-popup{animation:none}.chat-fab{transition:none}}.chat-popup-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;color:#fff;background:var(--gradient-brand)}.chat-popup-body{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;overflow:hidden}.chat-popup-messages{flex:1 1 auto;min-height:0;overflow-y:auto;padding:16px}.chat-popup-composer{flex:0 0 auto;display:flex;align-items:flex-end;gap:8px;padding:12px;border-top:1px solid #eef0f4}.chat-popup-composer .ant-input{flex:1 1 auto}.chat-bubble{border-radius:8px;padding:8px 12px;max-width:85%}.chat-bubble[data-role=user]{background:var(--brand-secondary);color:#fff}.chat-bubble[data-role=assistant]{background:#f0f0f0;color:#000}.chat-bubble p{margin:0 0 8px}.chat-bubble p:last-child{margin-bottom:0}.chat-bubble ul,.chat-bubble ol{margin:0 0 8px;padding-left:20px}.chat-bubble pre{background:#0000000f;border-radius:4px;padding:8px;overflow-x:auto}.chat-bubble[data-role=user] pre{background:#ffffff26}.chat-bubble code{font-family:ui-monospace,monospace;font-size:.9em}.ant-table-cell{overflow-wrap:anywhere}.chat-tool-activity{max-width:85%;margin-top:2px}.chat-tool-activity .ant-collapse-header{padding:2px 4px!important}.chat-tool-activity .ant-collapse-content-box{padding:4px 4px 4px 20px!important}.chat-tool-entry{border-left:2px solid #e5e5e5;padding-left:8px}.chat-tool-json{background:#0000000a;border-radius:4px;padding:6px 8px;margin:4px 0 0;font-family:ui-monospace,monospace;font-size:11px;max-height:200px;overflow:auto;white-space:pre-wrap;word-break:break-word}.lang-option{display:inline-flex;align-items:center;gap:6px}.lang-status-dot{width:7px;height:7px;border-radius:50%;background:#d9d9d9;flex:0 0 auto}.lang-status-dot.is-published{background:#52c41a}.header-images-field{display:flex;flex-direction:column;gap:14px}.header-dropzone-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.header-dropzone{display:flex;flex-direction:column;gap:6px;min-width:0}.header-dropzone-label span{opacity:.72}.header-dropzone-upload.ant-upload-wrapper .ant-upload-drag{border-radius:10px;aspect-ratio:16 / 9;display:flex;align-items:center;justify-content:center}.header-dropzone[data-slot=square] .header-dropzone-upload.ant-upload-wrapper .ant-upload-drag{aspect-ratio:1 / 1}.header-dropzone-icon{font-size:22px;color:#8c9bc9}.header-dropzone-upload .ant-upload-drag p{margin:6px 0 0;font-size:12px;color:#8c8c8c}.header-dropzone-preview{position:relative;aspect-ratio:16 / 9;border-radius:10px;background-size:cover;background-position:center;background-color:#f0f2f5;border:1px solid #eef0f4}.header-dropzone[data-slot=square] .header-dropzone-preview{aspect-ratio:1 / 1}.header-dropzone-remove{position:absolute;top:8px;right:8px}.header-alt-row{display:flex;flex-direction:column;gap:6px}@media(max-width:767px){.app-content{padding:18px 14px}.app-header{padding:0 14px}.app-header>div:first-child{display:none}.field-grid{grid-template-columns:minmax(0,1fr)}}.organization-switcher{padding:0 16px 12px}.sider-footer .ant-avatar{flex:0 0 auto;background:var(--gradient-brand);font-family:var(--font-display);font-weight:700}
