:root{color-scheme:light;--paper:#f7f6f2;--white:#fff;--ink:#17263b;--muted:#788393;--line:#e9e8e3;--blue:#315fbe;--blue-soft:#edf3ff;--green:#25815d;--green-soft:#eaf6ef;--red:#b64b4b;--red-soft:#fff0ed;--amber:#aa741d;--amber-soft:#fff5df;--violet:#7a5ac4;--violet-soft:#f2edff;--shadow:0 2px 8px rgba(31,42,59,.035),0 1px 2px rgba(31,42,59,.025)}
*{box-sizing:border-box}html{min-width:320px;background:var(--paper);scroll-behavior:smooth}body{margin:0;color:var(--ink);font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}button,a{font:inherit}button{color:inherit}.app-shell{min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:250px;padding:28px 18px 20px;background:#fbfaf7;border-right:1px solid #ebe9e2;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;margin:0 4px 48px;color:inherit;text-decoration:none}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#315fbe;color:#fff;box-shadow:0 4px 10px #315fbe2b}.brand-mark svg{width:22px;fill:currentColor}.brand strong,.brand small{display:block}.brand strong{font-size:14px;letter-spacing:-.02em}.brand small{margin-top:1px;font-size:9px;letter-spacing:.13em;color:#9099a4;font-weight:700}.nav-label,.eyebrow{font-size:10px;line-height:1.3;letter-spacing:.13em;color:#929aa4;font-weight:700}.nav-label{padding:0 12px;margin-bottom:10px}.nav-item{display:flex;align-items:center;gap:12px;padding:11px 13px;border-radius:9px;color:#3c4a5e;text-decoration:none;font-weight:600}.nav-item.active{background:#edf2fb;color:#254f9e}.nav-icon{font-size:20px;line-height:1;width:18px;text-align:center}.sidebar-bottom{margin-top:auto}.local-note{display:flex;gap:10px;padding:13px 10px;border:1px solid #eeece6;border-radius:10px;background:#fff}.lock-icon{color:#5473ae;font-size:18px}.local-note b,.local-note small{display:block}.local-note b{font-size:11px}.local-note small{margin-top:3px;color:#89929e;font-size:10px;line-height:1.45}.sidebar-foot{display:flex;align-items:center;justify-content:space-between;margin:17px 4px 0;color:#929aa4;font-size:10px}.step-dots{display:flex;gap:4px}.step-dots i{display:block;width:6px;height:6px;background:#dfdfda;border-radius:50%}.step-dots i.on{background:var(--blue)}.main-content{max-width:1500px;margin-left:250px;padding:0 52px 25px}.topbar{height:68px;border-bottom:1px solid #e9e7e1;display:flex;align-items:center;justify-content:space-between}.breadcrumb{color:#647184;font-size:12px}.breadcrumb span{padding:0 8px;color:#bdc1c5}.topbar-right{display:flex;align-items:center;gap:15px}.local-pill{display:flex;align-items:center;gap:6px;padding:5px 9px;color:#587162;background:#edf4ed;border-radius:20px;font-size:10px;font-weight:600}.local-pill i,.live-label i{width:6px;height:6px;border-radius:50%;background:#3b9a66}.updated-at{font-size:11px;color:#89929e}.page-heading{display:flex;align-items:flex-end;justify-content:space-between;padding:36px 0 29px}.page-heading .eyebrow{margin-bottom:8px;color:#5977af}.page-heading h1{margin:0;font-size:29px;line-height:1.25;letter-spacing:-.04em;font-weight:650}.page-heading p,.section-heading p{margin:7px 0 0;color:#7b8796;font-size:12px}.icon-button{display:grid;place-items:center;width:36px;height:36px;border:1px solid #e3e5e8;border-radius:9px;background:#fff;color:#66758b;cursor:pointer;transition:.15s}.icon-button:hover{border-color:#b9c9e6;color:var(--blue);background:#f8faff}.icon-button svg,.button-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.section-block{margin-bottom:28px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.section-heading h2,.roadmap-copy h2{margin:0;font-size:16px;letter-spacing:-.025em;font-weight:650}.section-heading p{font-size:11px;margin-top:4px}.live-label{display:flex;align-items:center;gap:6px;color:#829086;font-size:10px}.system-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.card{background:var(--white);border:1px solid #ecebe6;border-radius:12px;box-shadow:var(--shadow)}.service-card,.model-card{padding:18px 19px 16px;min-height:221px}.card-top{display:flex;align-items:center;justify-content:space-between}.service-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center}.service-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.55;stroke-linecap:round;stroke-linejoin:round}.mcp-icon{background:#edf3ff;color:#3f68b0}.watcher-icon{background:#edf6f1;color:#3d8b64}.model-icon{background:#f2edff;color:#7656b4}.status-badge{display:flex;align-items:center;gap:6px;padding:5px 8px;border-radius:20px;font-size:10px;font-weight:650}.status-badge i{width:6px;height:6px;border-radius:50%;background:currentColor}.status-badge.online{background:var(--green-soft);color:var(--green)}.status-badge.offline{background:#f2f3f4;color:#75808c}.status-badge.pending{background:#f2f3f4;color:#75808c}.card h3{margin:14px 0 2px;font-size:15px;letter-spacing:-.02em}.card-description{margin:0;color:#8a94a0;font-size:11px}.card-divider{height:1px;background:#f0efeb;margin:15px 0 9px}.metric-row{display:flex;justify-content:space-between;align-items:center;padding:4px 0;color:#8a94a0;font-size:11px}.metric-row strong{color:#334258;font-size:11px;font-weight:600}.model-chip{font-size:9px;letter-spacing:.1em;font-weight:700;color:#8066b6}.model-details{display:flex;align-items:center;gap:8px;margin-top:15px}.model-name{color:#354660;font-size:12px;font-weight:650}.effort-pill{padding:3px 7px;border-radius:5px;color:#7656b4;background:#f4f0fc;font:600 10px ui-monospace,SFMono-Regular,Menlo,monospace}.model-caption{margin:8px 0 0;color:#929aa4;font-size:10px}.watcher-card{position:relative;padding:18px 19px 15px;min-height:221px;grid-row:span 2}.watcher-controls{display:flex;gap:7px;margin-top:13px}.button{height:32px;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 11px;border:1px solid transparent;border-radius:7px;font-size:10px;font-weight:650;cursor:pointer;transition:background .15s,border .15s,color .15s,opacity .15s}.button:disabled{opacity:.45;cursor:not-allowed}.button-primary{background:#315fbe;color:white}.button-primary:hover:not(:disabled){background:#274f9f}.button-secondary{background:#f4f5f6;border-color:#e7e8e9;color:#526174}.button-secondary:hover:not(:disabled){background:#eceef0}.button-icon{width:33px;padding:0;border-color:#e7e8e9;background:white;color:#65748a}.button-icon:hover:not(:disabled){background:#f7f9fc;color:var(--blue)}.button-spinner{display:none;width:12px;height:12px;border:1.5px solid currentColor;border-right-color:transparent;border-radius:50%;animation:spin .7s linear infinite}.is-pending .button-spinner{display:inline-block}@keyframes spin{to{transform:rotate(360deg)}}.action-message{min-height:15px;margin:7px 0 0;color:#7d8794;font-size:10px}.details-grid{display:grid;grid-template-columns:minmax(250px,.85fr) minmax(400px,1.5fr);gap:15px;margin-bottom:22px}.contact-card,.activity-card{padding:18px 20px}.section-heading.compact{margin-bottom:16px}.contact-lock{font-size:17px;color:#8d9bb1}.contact-person{display:flex;align-items:center;gap:10px;padding:3px 0 15px}.avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:#edf2fb;color:#4a6daa;font-size:10px;font-weight:700}.contact-person strong,.contact-person small{display:block}.contact-person strong{font-size:12px}.contact-person small{margin-top:2px;color:#929aa4;font-size:10px}.fixed-tag{margin-left:auto;padding:4px 6px;border-radius:4px;background:#f4f4f1;color:#969b9f;font-size:8px;letter-spacing:.07em;font-weight:700}.contact-meta{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #f0efeb;padding-top:11px;color:#858f9d;font-size:10px}.contact-meta span{display:flex;align-items:center;gap:6px}.contact-meta strong{font-size:10px;font-weight:600}.meta-dot{width:6px;height:6px;border-radius:50%}.meta-dot.green{background:#43a16d}.feed-good{color:#37805b}.feed-muted{color:#a17a44}.activity-count{color:#9aa2ac;font:600 10px ui-monospace,monospace}.activity-list{display:flex;flex-direction:column}.activity-entry{display:grid;grid-template-columns:8px minmax(0,1fr) auto;align-items:start;gap:10px;padding:10px 0;border-top:1px solid #f1f0ed}.activity-entry:first-child{padding-top:0;border-top:0}.event-dot{width:7px;height:7px;margin-top:5px;border-radius:50%}.event-dot.green{background:#4ba271}.event-dot.blue{background:#5880d0}.event-dot.violet{background:#9672db}.event-dot.red{background:#cf6860}.event-dot.amber{background:#d2a144}.event-body strong{display:block;color:#354258;font-size:10px;font-weight:650}.event-body p{margin:2px 0 0;color:#87919d;font-size:10px;overflow-wrap:anywhere}.event-time{white-space:nowrap;color:#a0a7af;font-size:9px}.empty-state{padding:3px 0 9px}.skeleton-line{display:block;height:7px;width:55%;border-radius:4px;background:#f0f1f2}.skeleton-line.short{width:32%;margin-top:8px}.empty-copy{padding:10px 0;color:#8e98a4;font-size:11px}.roadmap-card{display:flex;align-items:center;gap:17px;padding:18px 20px;border:1px solid #e7e8ea;border-radius:12px;background:linear-gradient(110deg,#fff 0%,#fbfcff 100%)}.roadmap-mark{display:grid;place-items:center;flex:0 0 40px;height:40px;border-radius:11px;background:#edf2fb;color:#5173b2}.roadmap-mark svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.roadmap-copy{flex:1}.roadmap-copy .eyebrow{margin-bottom:5px;color:#7186ac}.roadmap-copy h2{font-size:13px}.roadmap-copy p{margin:4px 0 0;color:#84909e;font-size:10px}.roadmap-progress{display:flex;align-items:center;gap:9px;color:#8a95a2;font-size:9px;white-space:nowrap}.progress-track{width:70px;height:4px;border-radius:4px;background:#e9ebef;overflow:hidden}.progress-track i{display:block;width:14.3%;height:100%;background:#5477ba;border-radius:4px}.page-footer{display:flex;align-items:center;justify-content:space-between;padding:18px 2px 0;color:#a0a6ad;font-size:9px}.page-footer i{padding:0 5px;font-style:normal}.footer-secure{color:#85948a}.footer-secure span{color:#6a9b7b}.page-error{margin:-12px 0 20px;padding:11px 13px;border:1px solid #f0d3d0;border-radius:8px;background:#fff4f1;color:#a4433c;font-size:11px} [hidden]{display:none!important}button:focus-visible,a:focus-visible{outline:3px solid #8daeea;outline-offset:2px}
@media(min-width:1500px){.main-content{padding-left:68px;padding-right:68px}.system-grid,.details-grid{gap:18px}.service-card,.model-card,.watcher-card{padding-left:22px;padding-right:22px}}
@media(max-width:1100px){.main-content{padding-left:32px;padding-right:32px}.sidebar{width:220px}.main-content{margin-left:220px}.system-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.model-card{grid-column:1/-1;min-height:180px}.details-grid{grid-template-columns:1fr}.watcher-card{grid-row:span 2}}
@media(max-width:700px){.sidebar{position:static;width:auto;height:auto;padding:12px 17px;border-right:0;border-bottom:1px solid #ebe9e2}.brand{margin:0}.brand-mark{width:34px;height:34px}.nav-label,.sidebar nav,.sidebar-bottom{display:none}.main-content{margin:0;padding:0 17px 20px}.topbar{height:48px}.breadcrumb{font-size:10px}.updated-at{font-size:9px}.local-pill{font-size:9px;padding:4px 7px}.topbar-right{gap:8px}.page-heading{padding:27px 0 22px;align-items:center}.page-heading h1{font-size:24px}.page-heading p{max-width:300px;font-size:11px}.section-block{margin-bottom:22px}.system-grid{grid-template-columns:1fr;gap:10px}.service-card,.model-card,.watcher-card{grid-column:auto;grid-row:auto;min-height:0;padding:16px}.watcher-card{order:0}.service-card{min-height:187px}.model-card{min-height:170px}.details-grid{gap:10px}.contact-card,.activity-card{padding:16px}.roadmap-card{align-items:flex-start;gap:12px;padding:15px}.roadmap-mark{flex-basis:34px;height:34px}.roadmap-copy h2{font-size:12px}.roadmap-progress{display:none}.page-footer{align-items:flex-start;gap:8px;flex-direction:column}.activity-entry{grid-template-columns:8px minmax(0,1fr);gap:9px}.event-time{grid-column:2}.fixed-tag{font-size:7px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
.status-badge.error{background:var(--red-soft);color:var(--red)}
.card-description,.metric-row,.metric-row strong,.button,.contact-meta,.contact-meta strong,.event-body strong,.event-body p,.empty-copy,.action-message{font-size:12px}
.section-heading p,.contact-person small,.model-caption,.roadmap-copy p{font-size:11px}
.event-time{font-size:10px}
@media(max-width:700px){.breadcrumb,.updated-at,.page-heading p,.event-body strong,.event-body p,.metric-row,.metric-row strong,.contact-meta,.contact-meta strong{font-size:11px}.button{font-size:12px}}
.settings-block{scroll-margin-top:18px}.nav-item+.nav-item{margin-top:3px}.settings-card{padding:21px 22px}.settings-top{display:flex;align-items:center;justify-content:space-between;padding-bottom:17px;border-bottom:1px solid #f0efeb}.toggle-row{display:flex;align-items:center;gap:11px;cursor:pointer}.toggle-row input{width:17px;height:17px;accent-color:var(--blue)}.toggle-row strong,.toggle-row small{display:block}.toggle-row strong{font-size:13px}.toggle-row small,.field small{margin-top:3px;color:#87919d;font-size:11px}.revision-label{color:#8b95a1;font-size:10px}.settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:18px}.field{display:flex;flex-direction:column;gap:6px;min-width:0;color:#45546a;font-size:11px;font-weight:650}.field input,.field select,.field textarea{width:100%;min-height:38px;padding:9px 10px;border:1px solid #dfe3e8;border-radius:7px;background:#fff;color:var(--ink);font:inherit;font-size:12px;font-weight:400;outline:none}.field textarea{resize:vertical;min-height:110px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#91a9d4;box-shadow:0 0 0 3px #edf2fb}.field-wide{grid-column:1/-1}.schedule-fieldset,.days-field{min-width:0;margin:20px 0 0;padding:17px 0 0;border:0;border-top:1px solid #f0efeb}.schedule-fieldset>legend,.days-field>legend{padding:0 8px 0 0;color:#354258;font-size:12px;font-weight:650}.schedule-toggle{margin-bottom:16px}.schedule-grid{margin-top:0}.days-field{margin:0;padding:0;border:0}.days-field>legend{margin-bottom:8px}.day-options{display:flex;flex-wrap:wrap;gap:6px}.day-options label{cursor:pointer}.day-options input{position:absolute;opacity:0;pointer-events:none}.day-options span{display:grid;place-items:center;min-width:35px;height:34px;border:1px solid #e0e4e9;border-radius:6px;color:#647184;font-size:10px}.day-options input:checked+span{border-color:#8ba6d6;background:#edf3ff;color:#315fbe}.day-options input:focus-visible+span{outline:3px solid #8daeea;outline-offset:2px}.saved-target{min-height:17px;margin-top:15px;color:#68778b;font-size:11px}.settings-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;padding-top:14px;border-top:1px solid #f0efeb}.settings-message{flex:1;min-height:18px;margin:0;color:#7d8794;font-size:11px}.settings-message.error{color:var(--red)}.settings-message.success{color:var(--green)}.settings-actions .button{min-height:36px;font-size:11px}
.runtime-state{margin:12px 0 0;color:#647184;font-size:11px}
.progress-track i{width:28.57%}
@media(max-width:700px){.settings-card{padding:16px}.settings-top{align-items:flex-start;gap:12px}.settings-grid{grid-template-columns:1fr;gap:13px}.field-wide{grid-column:auto}.schedule-grid{grid-template-columns:1fr}.settings-actions{align-items:stretch;flex-wrap:wrap}.settings-message{flex-basis:100%}.settings-actions .button{flex:1}}
/* Multi-contact and drafts */
.contacts-editor{margin-top:19px}.contact-list-head,.drafts-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#354258;font-size:12px}.contact-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:8px;margin-top:11px}.contact-list-item,.draft-list-item{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:11px 12px;border:1px solid #e5e7ea;border-radius:8px;background:#fff;text-align:left;cursor:pointer}.contact-list-item:hover,.draft-list-item:hover{border-color:#b9c9e6;background:#f9fbff}.contact-list-item.selected,.draft-list-item.selected{border-color:#8da9d9;background:#edf3ff}.contact-list-item strong,.draft-list-item strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#354258;font-size:12px}.contact-list-item small,.draft-list-item small{margin-top:4px;color:#84909e;font-size:10px}.contact-list-empty,.draft-list-empty{margin:0;padding:12px;color:#87919d;font-size:11px}.contact-editor{margin-top:20px;padding-top:18px;border-top:1px solid #f0efeb}.contact-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.contact-editor-head h3{margin:0;color:#354258;font-size:14px}.contact-editor-head>div{display:flex;align-items:center;gap:10px}.compact-toggle{display:flex;align-items:center;gap:6px;color:#647184;font-size:11px;cursor:pointer}.compact-toggle input{accent-color:var(--blue)}.button-danger{background:var(--red-soft);border-color:#f0d3d0;color:#a4433c}.button-danger:hover:not(:disabled){background:#ffe5e1}.settings-actions{margin-top:15px}.drafts-layout{display:grid;grid-template-columns:minmax(240px,.7fr) minmax(0,1.5fr);gap:14px}.drafts-list-card,.draft-editor-card,.create-draft-card{padding:17px 18px}.draft-list{display:flex;flex-direction:column;gap:8px;margin-top:13px}.draft-list-item span{margin-top:5px;color:#7d8794;font-size:10px}.draft-list-item small{display:-webkit-box;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.draft-list-message,.draft-message{min-height:17px;margin:9px 0 0;color:#7d8794;font-size:11px}.draft-message.error,.draft-list-message.error{color:var(--red)}.draft-message.success{color:var(--green)}.draft-empty{display:grid;min-height:180px;place-items:center;color:#8993a0;font-size:12px}.draft-recipient{display:flex;align-items:center;gap:10px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #f0efeb}.draft-recipient>span:nth-child(2){min-width:0;flex:1}.draft-recipient strong,.draft-recipient small{display:block;overflow-wrap:anywhere}.draft-recipient strong{font-size:12px}.draft-recipient small{margin-top:3px;color:#87919d;font-size:10px}.draft-status{padding:4px 7px;border-radius:14px;background:#f1f2f4;color:#737f8c;font-size:10px;font-weight:650;white-space:nowrap}.draft-status.ready{background:var(--green-soft);color:var(--green)}.draft-status.error,.draft-status.unknown{background:var(--red-soft);color:var(--red)}.draft-status.generating,.draft-status.sending{background:var(--amber-soft);color:var(--amber)}.draft-status.stale{background:var(--violet-soft);color:var(--violet)}.draft-editor-card .field textarea{min-height:170px}.draft-editor-card .guidance-field textarea{min-height:72px}.draft-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:7px;margin-top:12px}.send-confirm{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:12px;padding:11px;border:1px solid #f0d7ad;border-radius:8px;background:#fff8e9;color:#66552e;font-size:11px}.send-confirm span{flex:1 1 100%}.send-confirm strong{color:#354258}.create-draft-card{margin-top:14px}.create-draft-card h3{margin:0;font-size:14px}.create-draft-fields{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:12px}.create-draft-fields .field:nth-child(3){grid-column:1/-1}.create-draft-fields .field textarea{min-height:68px}.create-draft-card[hidden]{display:none}
@media(max-width:850px){.drafts-layout{grid-template-columns:1fr}.draft-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}}
@media(max-width:700px){.contact-editor-head{align-items:flex-start}.contact-editor-head>div{flex-wrap:wrap;justify-content:flex-end}.contact-list{grid-template-columns:1fr}.drafts-list-card,.draft-editor-card,.create-draft-card{padding:15px}.create-draft-fields{grid-template-columns:1fr}.create-draft-fields .field:nth-child(3){grid-column:auto}.draft-actions .button{flex:1}.send-confirm .button{flex:1}}

.context-picker{grid-column:1/-1}.context-picker select{max-width:100%;text-overflow:ellipsis}.is-miniapp .sidebar-bottom{display:none}.is-miniapp .main-content{padding-bottom:35px}.is-miniapp .topbar{padding-top:env(safe-area-inset-top)}@media(max-width:700px){.is-miniapp .main-content{padding:0 14px 35px}.is-miniapp .page-heading{padding-top:20px}.is-miniapp .page-heading h1{font-size:24px}.is-miniapp .topbar-right{gap:5px}.is-miniapp .updated-at{font-size:10px}.is-miniapp .button{min-height:42px}.is-miniapp input,.is-miniapp textarea,.is-miniapp select{font-size:16px}}
.memory-layout{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.7fr);gap:14px}.memory-editor-card{padding:18px}.memory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.memory-note{margin:7px 0 14px;color:#87919d;font-size:11px}.memory-editor-card .field textarea{min-height:74px}.memory-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:8px}.memory-actions .draft-message{flex:1 1 100%}.memory-subsection{margin-top:20px;padding-top:16px;border-top:1px solid #f0efeb}.memory-items{display:grid;gap:9px;margin-top:10px}.memory-item{padding:11px;border:1px solid #e7e9ed;border-radius:8px;background:#fff}.memory-item-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#68778b;font-size:10px}.memory-item-head strong{color:#354258;font-size:11px}.memory-item textarea{min-height:55px!important;margin-top:8px}.memory-item-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px;margin-top:8px}.memory-empty{margin:0;padding:13px;border:1px dashed #e0e3e8;border-radius:8px;color:#8993a0;font-size:11px}.memory-add-form,.memory-example-form{display:grid;grid-template-columns:minmax(0,1fr) 170px auto;align-items:end;gap:10px;margin-top:12px}.memory-example-form{grid-template-columns:minmax(0,1fr) auto}.memory-danger{display:flex;justify-content:flex-end;margin-top:20px;padding-top:14px;border-top:1px solid #f0efeb}.draft-status.updating{background:var(--amber-soft);color:var(--amber)}
.memory-example-picker{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:end;gap:10px;margin-top:12px}.memory-example-picker .field select{max-width:100%}.memory-item-sources{display:block;margin-top:7px;color:#87919d;font-size:10px;overflow-wrap:anywhere}
@media(max-width:850px){.memory-layout{grid-template-columns:1fr}}
@media(max-width:700px){.memory-editor-card{padding:15px}.memory-toolbar{align-items:flex-start;flex-direction:column}.memory-add-form,.memory-example-form{grid-template-columns:1fr}.memory-item-actions .button{flex:1}}

/* News workspace */
.news-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:14px;align-items:start}.news-settings-card,.news-results-card{padding:18px 20px}.news-source-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:18px;color:#354258;font-size:12px}.news-sources{display:grid;gap:8px;margin-top:10px}.news-source-row{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #e7e9ed;border-radius:8px;background:#fff}.news-source-info{display:flex;flex:1;flex-direction:column;min-width:0;gap:4px}.news-source-info strong{overflow-wrap:anywhere;color:#354258;font-size:12px}.news-source-info small{color:#84909e;font-size:10px;overflow-wrap:anywhere}.news-source-row .button{height:30px;padding:0 8px;font-size:10px}.news-empty{margin:0;padding:12px;border:1px dashed #e0e3e8;border-radius:8px;color:#8993a0;font-size:11px}.news-add-source{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:10px;margin-top:12px;padding-bottom:16px;border-bottom:1px solid #f0efeb}.news-add-source .field{margin:0}.news-add-source .field:nth-of-type(3){grid-column:1/-1}.news-add-source #addNewsManual{grid-column:2;grid-row:2}.news-settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:17px}.news-settings-grid textarea{min-height:75px}.news-toggles{display:flex;flex-wrap:wrap;gap:12px;padding:8px 0}.news-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:10px;padding-top:13px;border-top:1px solid #f0efeb}.news-actions .button{min-height:36px}.news-results-card{min-width:0}.news-results-card h3{margin:0;font-size:14px}.news-results{display:grid;gap:9px}.news-result{padding:12px;border:1px solid #e7e9ed;border-radius:8px;background:#fff}.news-alert{border-color:#f0d3d0;background:#fff9f7}.news-result-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.news-result-head strong{color:#354258;font-size:12px;overflow-wrap:anywhere}.news-result-head small{color:#87919d;font-size:10px;text-align:right}.news-item{margin-top:11px;padding-top:10px;border-top:1px solid #f0efeb}.news-item h4{margin:0;color:#354258;font-size:12px}.news-item p,.news-result>p{margin:5px 0;color:#68778b;font-size:11px;line-height:1.5;overflow-wrap:anywhere;white-space:pre-wrap}.news-refs{display:grid;gap:4px;margin-top:7px}.news-ref{color:#84909e;font-size:10px;overflow-wrap:anywhere}.news-ref a{color:#315fbe;text-decoration:none}.news-ref a:hover{text-decoration:underline}
@media(max-width:900px){.news-layout{grid-template-columns:1fr}}
@media(max-width:700px){.news-settings-card,.news-results-card{padding:15px}.news-source-toolbar{align-items:flex-start;flex-direction:column}.news-add-source{grid-template-columns:1fr}.news-add-source .field:nth-of-type(3),.news-add-source #addNewsManual{grid-column:auto;grid-row:auto}.news-source-row{align-items:flex-start;flex-wrap:wrap}.news-source-info{flex-basis:100%}.news-source-row .button{flex:1}.news-settings-grid{grid-template-columns:1fr}.news-settings-grid .field-wide{grid-column:auto}.news-actions .button{flex:1}.news-result-head{flex-direction:column}.news-result-head small{text-align:left}}
.progress-track i{width:85.71%}
