:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#263936;background:#f5f6f3;font-synthesis:none;--bg:#f5f6f3;--paper:#fff;--ink:#263936;--muted:#75817c;--line:#e4e9e4;--teal:#176b59;--tint:#e8f2ec;--orange:#ad6e25;--shadow:0 8px 30px #203d2f08}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.58}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #78b9a5;outline-offset:3px}[hidden]{display:none!important}svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;font-weight:650;line-height:1.2}h2{font-size:19px;letter-spacing:-.35px;font-weight:650}h3{font-size:16px;font-weight:650;line-height:1.45}p{line-height:1.6}.muted{color:var(--muted)}.small-text{font-size:13px}.eyebrow{color:var(--teal);font-size:11px;font-weight:750;letter-spacing:1.8px;margin-bottom:12px}.shell{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100dvh}.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#fdfefb;border-right:1px solid var(--line);padding:32px 20px 22px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 10px;margin-bottom:50px;font-size:18px;font-weight:650;letter-spacing:-.5px}.brand strong,.mobile-brand span{font-weight:400;color:var(--muted)}.brand small{display:block;font-size:10px;font-weight:450;letter-spacing:.2px;color:var(--muted);margin-top:5px}.brand-symbol{display:flex;justify-content:center;align-items:center;background:var(--teal);color:#fff;width:64px;height:64px;border-radius:19px;font-size:35px;font-weight:550;letter-spacing:-3px}.brand-symbol span{color:#b1d3a6}.brand-symbol.small{width:38px;height:38px;border-radius:11px;font-size:24px;letter-spacing:-2px;flex-shrink:0}.nav-label{padding:0 14px;color:#9aa49d;letter-spacing:1.6px;font-size:9px;font-weight:700;margin-bottom:13px}#navigation{display:flex;flex-direction:column;gap:6px}.nav-item{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:10px;color:#6d7973;font-size:13px;font-weight:550}.nav-item.active{background:var(--tint);color:var(--teal)}.nav-item:hover{background:#edf3ed}.sidebar-note{margin-top:auto;padding:25px 14px 22px;font-size:11px;color:#53685f}.sidebar-note p{font-size:11px;color:#89968e;margin-top:7px}.live-dot{display:inline-block;width:6px;height:6px;background:#58977b;border-radius:50%;margin-right:7px}.user-card{display:flex;align-items:center;gap:10px;padding:18px 10px 0;border-top:1px solid var(--line);font-size:12px}.avatar{background:#e9eee7;color:#687f6b;width:34px;height:34px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:650;flex-shrink:0}.user-card .muted{font-size:10px;margin-top:3px}main{grid-column:2;min-width:0}.topbar{height:78px;border-bottom:1px solid var(--line);padding:0 42px;display:flex;align-items:center;justify-content:space-between;background:#fafbf8}.breadcrumb{display:flex;gap:12px;color:#8b9790;font-size:11px}.breadcrumb span{color:#b2bbb3}.breadcrumb strong{font-weight:500;color:#566c60}.mobile-brand{display:none}.icon-button{border:1px solid var(--line);border-radius:10px;background:#fff;color:#6d8175;display:flex;align-items:center;justify-content:center;padding:9px;min-width:38px;min-height:38px}.icon-button:hover{background:#edf4ef}.page{max-width:1180px;margin:0 auto;padding:38px 42px 60px}.page-header{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:28px}.page-header p{margin-top:9px;font-size:13px;color:var(--muted);max-width:560px}.header-actions,.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:41px;padding:11px 17px;border-radius:9px;border:1px solid var(--line);background:#fff;color:#52685c;font-size:12px;font-weight:600;text-align:center;line-height:1.3}.button.primary{background:var(--teal);border-color:var(--teal);color:#fff}.button:hover{filter:brightness(.97)}.button.subtle{background:transparent;border-color:transparent;color:var(--teal);padding:8px 0;min-height:36px;justify-content:flex-start}.button.danger{color:#a15443;background:#fff7f4;border-color:#efdcd4}.button.small{min-height:33px;padding:8px 11px;font-size:11px}.button svg{width:16px;height:16px}.metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:25px}.metric{padding:21px 23px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow)}.metric-top{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#829187;margin-bottom:14px}.metric-top svg{width:16px;height:16px;color:#91ab9b}.metric-value{font-size:30px;line-height:1;font-weight:550;letter-spacing:-1px}.metric-note{font-size:10px;color:#9aa49b;margin-top:10px}.overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:24px}.next-action{padding:27px 28px;border-radius:14px;background:#e8f0e7;border:1px solid #d6e2d3;min-height:238px;display:flex;flex-direction:column;position:relative;overflow:hidden}.next-action:after{content:"";position:absolute;width:160px;height:160px;border:1px solid #789a6d24;border-radius:50%;right:-100px;top:-15px;box-shadow:0 0 0 24px #789a6d08,0 0 0 49px #789a6d06;pointer-events:none}.next-action .eyebrow{font-size:9px;letter-spacing:1.5px;color:#5d7e5c;display:flex;align-items:center;gap:7px}.next-action .eyebrow svg{width:14px;height:14px}.next-action h2{font-size:23px;font-weight:550;line-height:1.35;max-width:470px;margin-bottom:12px;overflow-wrap:anywhere}.next-action p{color:#71806d;font-size:12px;margin-bottom:18px}.next-action .actions{margin-top:auto}.section-head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:30px 0 14px}.section-head h2{font-size:16px}.section-head .muted{font-size:11px}.card{background:#fff;border:1px solid var(--line);border-radius:13px;padding:23px;box-shadow:var(--shadow);min-width:0}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.project-card{display:flex;flex-direction:column;gap:15px}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.project-icon{width:37px;height:37px;background:#eef2e9;color:#7b8f68;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:13px}.project-heading{display:flex;gap:13px;min-width:0}.project-heading .project-icon{flex-shrink:0;margin:0}.project-heading h3{overflow-wrap:anywhere}.project-heading .muted{font-size:10px;margin-top:4px}.tag{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:600;line-height:1.2;white-space:nowrap;background:#f0f3ee;color:#7b8c77}.tag.planned{background:#f0f2ef;color:#7f897f}.tag.in_progress{background:#eaf0f8;color:#6080a4}.tag.done{background:#e6f1ea;color:#56856b}.tag.blocked{background:#fff0dc;color:#ae813f}.tag.cancelled{background:#f0eeeb;color:#958e85}.tag.owner{background:#e8f2ec;color:#4f8468}.goal-text{font-size:12px;color:#6c7d72;line-height:1.6;overflow-wrap:anywhere}.goal-caption{font-size:9px;letter-spacing:1.2px;color:#9aa69b;margin-bottom:6px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid #eef1eb;padding-top:14px;margin-top:auto;font-size:10px;color:#8a978c}.card-footer .button{font-size:11px;padding:0;min-height:24px}.task-list{display:flex;flex-direction:column;gap:10px}.task-row{display:flex;align-items:flex-start;gap:13px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:17px 18px}.task-mark{width:21px;height:21px;border:1px solid #d7e2d7;border-radius:6px;flex-shrink:0;margin-top:1px;color:#579073;display:flex;align-items:center;justify-content:center}.task-mark.done{background:#e9f2e9;border-color:#bdd3bb}.task-mark.blocked{border-color:#e1c49a;color:#b98b40;background:#fff9ed}.task-mark svg{width:14px;height:14px}.task-body{flex:1;min-width:0}.task-body h3{font-size:12px;font-weight:550;overflow-wrap:anywhere}.task-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:9px;font-size:10px;color:#98a195}.task-detail{font-size:11px;color:#7a897a;margin-top:10px;overflow-wrap:anywhere}.compact-list{display:flex;flex-direction:column;gap:17px}.compact-task{padding-bottom:16px;border-bottom:1px solid #edf0e9;display:flex;gap:11px}.compact-task:last-child{border-bottom:0;padding-bottom:0}.compact-task h3{font-size:12px;font-weight:550}.compact-task p{font-size:10px;color:#9aa497;margin-top:5px}.subhead{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;margin-bottom:19px}.project-picker{display:flex;flex-direction:column;gap:6px;max-width:330px;min-width:170px;color:#7f9084;font-size:10px}.project-picker select{background:#fff;border:1px solid var(--line);border-radius:8px;padding:11px 34px 11px 12px;color:#496351;font-size:12px;width:100%}.tabs{display:flex;gap:5px;flex-wrap:wrap}.tab{border:1px solid transparent;padding:8px 12px;border-radius:7px;background:transparent;font-size:11px;color:#89958a;min-height:35px}.tab.active{background:#fff;border-color:var(--line);color:#3d6c55;box-shadow:0 2px 5px #293c2903}.goal-banner{background:#eaf1e7;border:1px solid #dfe9da;padding:21px 24px;border-radius:12px;margin-bottom:22px}.goal-banner h2{font-size:16px;font-weight:550;margin-bottom:9px;line-height:1.5}.goal-banner p{font-size:12px;color:#74816c;overflow-wrap:anywhere}.goal-banner .goal-caption{color:#87987b}.report-list{display:flex;flex-direction:column;gap:18px}.report-card{padding:0;overflow:hidden}.report-header{padding:20px 24px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;align-items:center}.report-header p{font-size:10px;color:#89988a;margin-top:4px}.report-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.8;color:#607062;padding:24px;margin:0;font-family:inherit}.report-card .card-footer{padding:15px 24px;margin:0;background:#fafcf8}.feedback-item{padding:18px 0;border-bottom:1px solid var(--line)}.feedback-item:last-child{border-bottom:0}.feedback-item p{font-size:13px;overflow-wrap:anywhere;white-space:pre-wrap}.feedback-item .muted{font-size:10px;margin-top:9px}.people-list{display:flex;flex-direction:column;gap:10px}.person{display:flex;align-items:center;gap:13px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:18px}.person-main{flex:1;min-width:0}.person-main h3{font-size:12px;overflow-wrap:anywhere}.person-main p{font-size:10px;color:#91a08f;margin-top:4px}.invite-card{background:#f6f9f2;border-color:#e1e8d8}.invite-card .actions{margin-top:15px}.invitation-copy{width:100%;font-size:12px;padding:12px;border:1px solid var(--line);background:#fff;border-radius:8px;word-break:break-all}.empty{padding:42px 24px;text-align:center;border:1px dashed #d9e2d5;border-radius:13px;background:#fafcf7;color:#83907b}.empty svg{width:27px;height:27px;color:#9bae94;margin-bottom:12px}.empty h2{font-size:16px;color:#5f7554;margin-bottom:9px}.empty p{font-size:12px;max-width:380px;margin:0 auto 15px}.loading{padding:50px;text-align:center;color:#86917d;font-size:13px}.loader{width:24px;height:24px;border-radius:50%;border:2px solid #dfe8d9;border-top-color:#60896c;margin:0 auto 15px;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.notice{padding:12px 22px;margin:20px 42px 0;border:1px solid #dfcaa9;background:#fff8e9;color:#896c3b;border-radius:9px;font-size:12px;line-height:1.5}.notice.error{border-color:#e6ccc3;background:#fff5f0;color:#9f6250}.toast{position:fixed;bottom:28px;left:calc(50% + 119px);transform:translateX(-50%);padding:13px 21px;border-radius:10px;background:#284b3c;color:#fff;box-shadow:0 7px 28px #213d3222;font-size:12px;z-index:30;max-width:calc(100vw - 36px);width:max-content;line-height:1.5}.gate{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 26px;background:radial-gradient(ellipse at 50% 40%,#e9f0e5 0,transparent 60%)}.gate .brand-symbol{margin-bottom:31px}.gate .eyebrow{margin-bottom:18px}.gate h1{font-size:28px;max-width:450px;line-height:1.3}.gate p:not(.eyebrow){font-size:13px;color:#82907c;max-width:400px;margin-top:17px}.gate #gate-actions{margin-top:24px}.workspace-block{margin-bottom:30px}.workspace-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px}.workspace-heading h2{font-size:14px}.workspace-heading .tag{font-size:8px}.risk-note{display:flex;gap:11px;padding:17px 20px;border:1px solid #e9dec6;background:#fcf8ed;border-radius:10px;font-size:11px;color:#987e52;margin-top:18px}.risk-note svg{width:16px;height:16px;margin-top:2px}.risk-note p{font-size:11px}dialog{border:1px solid #dce5d7;border-radius:17px;box-shadow:0 22px 100px #173c2b33;padding:0;max-width:530px;width:calc(100% - 32px);max-height:calc(100dvh - 40px);color:var(--ink);background:#fcfdf9}dialog::backdrop{background:#17332965;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:25px 27px 17px;border-bottom:1px solid var(--line)}.dialog-head h2{font-size:20px;line-height:1.3}.dialog-head p{font-size:12px;color:#8b9784;margin-top:9px}.dialog-body{padding:22px 27px 26px}.form-field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px;font-size:11px;color:#6f8168}.form-field input,.form-field textarea,.form-field select{border:1px solid #dce4d6;background:#fff;color:#435c3d;border-radius:8px;padding:11px 12px;font-size:13px;width:100%;min-width:0}.form-field textarea{resize:vertical;min-height:83px;line-height:1.55}.form-field .hint{font-size:10px;color:#99a18f;line-height:1.5}.form-error{background:#fff0e9;color:#a76851;padding:11px 13px;border:1px solid #f0d8ca;border-radius:8px;font-size:12px;line-height:1.5;margin-bottom:15px}.dialog-footer{display:flex;justify-content:flex-end;gap:9px;margin-top:22px}.confirmation{white-space:pre-wrap;font-size:13px;line-height:1.7;color:#728168;overflow-wrap:anywhere}.divider{height:1px;background:var(--line);margin:20px 0}.report-heading{min-width:0}.report-heading h3{overflow-wrap:anywhere}
@media(min-width:1450px){.page{padding-top:48px}.topbar{padding-left:55px;padding-right:55px}}
@media(max-width:1050px){.sidebar{width:210px;padding-left:14px;padding-right:14px}.shell{grid-template-columns:210px minmax(0,1fr)}.page{padding:30px 26px 50px}.topbar{padding:0 26px}.brand{font-size:16px}.overview-grid{grid-template-columns:1fr}.toast{left:calc(50% + 105px)}.notice{margin-left:26px;margin-right:26px}.page-header{flex-wrap:wrap}.metric{padding:18px}.metrics{gap:10px}.project-grid{gap:12px}}
@media(max-width:700px){body{padding-bottom:calc(73px + env(safe-area-inset-bottom,0px))}.shell{display:block}.sidebar{position:fixed;inset:auto 0 0 0;width:100%;height:auto;min-height:70px;background:#fdfefbf5;border:0;border-top:1px solid var(--line);padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));backdrop-filter:blur(16px);z-index:20}.brand,.nav-label,.sidebar-note,.user-card{display:none!important}#navigation{flex-direction:row;justify-content:space-around;gap:2px}.nav-item{flex:1;flex-direction:column;gap:5px;padding:8px 2px 6px;font-size:9px;border-radius:9px;max-width:90px;min-height:52px}.nav-item svg{width:20px;height:20px}.nav-item.active{background:#ebf2e8}.topbar{height:66px;padding:0 21px;padding-top:env(safe-area-inset-top,0px)}.breadcrumb{display:none}.mobile-brand{display:block;font-size:16px;letter-spacing:.5px;font-weight:650}.page{padding:28px 20px 36px}.page-header{gap:17px;margin-bottom:23px}.page-header h1{font-size:27px;letter-spacing:-.8px}.page-header p{font-size:12px;line-height:1.6}.eyebrow{font-size:9px;letter-spacing:1.5px;margin-bottom:10px}.header-actions{width:100%}.header-actions .button{min-height:39px}.metrics{gap:8px;margin-bottom:20px}.metric{padding:15px 12px;border-radius:10px}.metric-top{font-size:9px;gap:5px;align-items:flex-start;margin-bottom:15px;min-height:22px;line-height:1.4}.metric-top svg{width:13px;height:13px}.metric-value{font-size:27px}.metric-note{font-size:8px;line-height:1.4}.overview-grid{gap:20px}.next-action{padding:23px;min-height:221px}.next-action h2{font-size:21px}.next-action p{font-size:11px}.card{padding:19px}.project-grid{grid-template-columns:1fr}.section-head{margin-top:24px}.section-head h2{font-size:15px}.card-top{gap:9px}.task-row{padding:16px 14px;gap:11px}.task-meta{gap:7px}.task-row>.icon-button{padding:7px;min-width:32px;min-height:32px}.task-body h3{font-size:12px;line-height:1.6}.report-card{padding:0}.report-header{padding:18px}.report-text{padding:20px 18px;font-size:12px}.report-card .card-footer{padding:13px 18px;flex-wrap:wrap}.subhead{gap:16px}.project-picker{max-width:none;width:100%}.tabs{gap:2px;max-width:100%}.tab{font-size:10px;padding:9px 10px}.toast{left:50%;bottom:calc(91px + env(safe-area-inset-bottom,0px));font-size:12px;width:max-content;max-width:calc(100vw - 32px)}.notice{margin:16px 20px 0;padding:12px 15px}.person{padding:16px 13px;flex-wrap:wrap;gap:11px}.person .actions{width:100%;padding-left:45px}.person .tag{margin-left:auto}.goal-banner{padding:19px}.goal-banner h2{font-size:15px}.goal-banner p{font-size:11px}.dialog-head{padding:21px 21px 16px}.dialog-body{padding:20px 21px 23px}.form-field input,.form-field textarea,.form-field select{font-size:16px}.dialog-head h2{font-size:19px}.dialog-footer .button{flex:1}.empty{padding:34px 21px}.empty p{font-size:12px}.gate h1{font-size:25px}.gate .brand-symbol{width:58px;height:58px}.header-actions .button svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;scroll-behavior:auto!important}}
.project-report-summary{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.project-report-summary>div:first-child{min-width:0;flex:1}.project-report-summary h3{font-size:13px;margin-bottom:6px}.project-report-summary p{overflow-wrap:anywhere}.project-report-summary .actions{flex-shrink:0}.report-next{padding:17px 24px;background:#f1f6ee;border-bottom:1px solid var(--line)}.report-next>p:last-child{font-size:12px;line-height:1.6;color:#58724e;overflow-wrap:anywhere}.tag.review{background:#f0edf8;color:#85709f}
@media(max-width:700px){.project-report-summary{flex-direction:column;align-items:stretch;gap:15px}.project-report-summary .actions{width:100%;flex-wrap:wrap}.project-report-summary .actions .button{flex:1}.report-next{padding:16px 18px}}
.workspace-heading{flex-wrap:wrap}.workspace-heading>.button{margin-left:auto}
@media(max-width:700px){.workspace-heading>.button{margin-left:0}}
.workspace-people .person{padding:14px;flex-wrap:wrap}.workspace-people .person>.actions{width:100%;padding-left:47px}.workspace-people .person-main{min-width:130px}.workspace-people .section-head{margin-top:23px}.workspace-people .invite-card{padding:17px}.workspace-people .tag{margin-top:5px}.workspace-people .people-list+.people-list{margin-top:13px}
/* 28.10.2026: единая спокойная тема JARVIS, рассказ и проверяемый план. */
:root{color:#243149;background:#f5f7fb;--bg:#f5f7fb;--ink:#243149;--muted:#78849a;--line:#e2e7ef;--teal:#326be8;--tint:#eaf0ff;--shadow:0 8px 28px #14203905;--app-safe-top:0px;--app-safe-right:0px;--app-safe-bottom:0px;--app-safe-left:0px}
.brand-mark{width:64px;height:64px;object-fit:cover;border-radius:18px;flex-shrink:0;box-shadow:0 8px 24px #07112220}.brand-mark.small{width:38px;height:38px;border-radius:11px;box-shadow:none}.gate>.brand-mark{margin-bottom:31px}
.planner-task>.planner-task-title{font-size:14px;line-height:1.5;color:#294c7e;margin-bottom:8px;overflow-wrap:anywhere}.planner-task>.planner-task-result{font-size:12px;line-height:1.65;color:#778aa8;overflow-wrap:anywhere}.planner-task>.planner-task-date{font-size:11px;color:#91a0b7;margin-top:10px}.planner-task-edit{margin:12px 0 15px;font-size:12px;color:#547bb3}.planner-task-edit>summary{cursor:pointer;line-height:1.6;padding:3px 0}.planner-task-fields{padding-top:18px}.planner-preview .planner-task .section-head{margin-bottom:9px}
.sidebar{background:#142039;border-color:#1e2e4b;color:#edf2ff;padding-top:calc(32px + var(--app-safe-top));padding-left:calc(20px + var(--app-safe-left))}
.brand{color:#fff;letter-spacing:.1px}.brand strong,.brand small{color:#a9bad8}.brand-symbol{background:#326be8;border-radius:18px;box-shadow:0 8px 24px #07112230}.brand-symbol span{color:#bdd2ff}.brand-symbol.small{border-radius:11px;box-shadow:none}
.nav-label{color:#7184a5}.nav-item{color:#a8b8d1}.nav-item:hover{background:#1d2e4a}.nav-item.active{background:#294579;color:#fff;box-shadow:inset 3px 0 #75a3ff}.sidebar-note{color:#b0c0d8}.sidebar-note p{color:#7f93b1}.live-dot{background:#79a7ff}.user-card{border-color:#263550;color:#e5edfa}.user-card .muted{color:#8397b8}.avatar{background:#263c61;color:#ccddff}
.topbar{height:calc(78px + var(--app-safe-top));padding-top:var(--app-safe-top);padding-right:max(42px,var(--app-safe-right));background:#ffffffb8;border-color:#e7ebf3}.topbar-actions{display:flex;align-items:center;gap:8px}.breadcrumb{color:#8b97aa}.breadcrumb strong{color:#526783}.breadcrumb span{color:#b6c0cf}.icon-button{color:#6b7f9f;border-color:#dce4f1;border-radius:10px}.icon-button:hover{background:#edf3ff}
.page-header p{color:#79869c;max-width:610px}.page-header h1{color:#142039;letter-spacing:-.9px}.button{color:#526781;border-color:#dce3ef;border-radius:10px}.button.primary{background:#326be8;border-color:#326be8;color:#fff;box-shadow:0 4px 12px #326be815}.button.subtle{color:#326be8}.button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline-color:#93b7ff}.metric,.card,.task-row,.person{border-color:#e2e7f0}.metric-top,.metric-note{color:#8592a9}.metric-top svg{color:#8ea4c6}.metric-value{color:#213451}.metric-note{line-height:1.5}
.next-action{background:linear-gradient(135deg,#eaf1ff,#f1f5ff);border-color:#d9e4fb;border-radius:17px;padding:30px;min-height:245px}.next-action .eyebrow{color:#5278b7}.next-action h2{color:#203f70}.next-action p{color:#7488a8}.next-action:after{border-color:#8ea9d924;box-shadow:0 0 0 24px #8ea9d908,0 0 0 49px #8ea9d906}.next-action>.button{align-self:flex-start}.project-icon{background:#edf2ff;color:#6b8dbe}.project-heading .muted{color:#8291a7}.goal-caption{color:#8d9db6}.goal-text{color:#71829b}.card-footer{color:#8392aa;border-color:#edf0f6}.tag.owner{background:#eaf1ff;color:#527cc0}.tag.planned{background:#f0f3f9;color:#8491a8}.task-body h3{color:#304563}.task-meta,.task-detail{color:#8291a7}.task-mark{border-color:#dbe3ef}.project-picker{color:#8393ae}.project-picker select{color:#46617f;border-color:#dce3ef}.tab{color:#8b98ae}.tab.active{color:#326be8;border-color:#dce5f6;background:#fff}
.goal-banner{background:#edf3ff;border-color:#dce7fc}.goal-banner h2{color:#2d4c7b}.goal-banner p{color:#7287a8}.goal-banner .goal-caption{color:#8098bc}.goal-criterion{margin-top:12px;padding-top:12px;border-top:1px solid #dce6f8}.report-text{color:#5e728f}.report-card .card-footer{background:#fafcff}.report-next{background:#f0f5ff;border-color:#e1e9f8}.report-next>p:last-child{color:#52719e}.invite-card{background:#f6f8fe;border-color:#dfe7f7}.empty{background:#fafcff;border-color:#dce5f3;color:#7e91ad}.empty h2{color:#4a668e}.empty svg{color:#87a2ca}.empty>.button{margin:5px 5px 0}.loading{color:#8394ad}.loader{border-color:#e0e8f8;border-top-color:#326be8}.toast{background:#203656}.gate{background:radial-gradient(ellipse at 50% 40%,#e5edff 0,transparent 62%);padding-top:max(40px,var(--app-safe-top));padding-bottom:max(40px,var(--app-safe-bottom))}.gate p:not(.eyebrow){color:#8092ae}#gate-actions{display:flex;flex-direction:column;gap:12px;max-width:520px;width:100%}#gate-actions .button{align-self:center}
dialog{color:#243149;background:#fbfcff;border-color:#dfe6f2;box-shadow:0 24px 110px #10254430;max-height:calc(100dvh - 40px - var(--app-safe-top) - var(--app-safe-bottom));margin-top:max(20px,var(--app-safe-top));margin-bottom:max(20px,var(--app-safe-bottom))}dialog::backdrop{background:#0c1b3566}.dialog-head{border-color:#e4eaf5}.dialog-head>div:first-child{flex:1;min-width:0}.dialog-head>.icon-button{flex-shrink:0;padding:7px;min-width:32px;min-height:32px}.dialog-head p{color:#8b9ab0}.form-field{color:#6a7f9e}.form-field input,.form-field textarea,.form-field select{color:#344f75;border-color:#dce4f2;background:#fff}.hint{color:#8998af;line-height:1.55}.draft-copy{width:100%;min-height:160px;border:1px solid var(--line);border-radius:10px;padding:12px;font:inherit;font-size:13px;color:#344f75}
.planner-body>.button.primary{width:100%;margin:6px 0 16px}.planner-story-input{min-height:132px!important;resize:vertical}.planner-context{font-size:12px;line-height:1.7;color:#6b80a1;background:#f0f5ff;border-radius:11px;padding:14px;margin-bottom:18px}.planner-story{margin-bottom:18px;padding:13px 15px;border:1px solid #e2e9f6;border-radius:10px;color:#6c83a4;font-size:12px}.planner-story summary{cursor:pointer}.planner-story p{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:12px;font-size:12px}.planner-answer{padding:18px;margin-bottom:21px;background:#edf3ff;border:1px solid #dce7fc;border-radius:13px}.planner-answer>p:last-child{font-size:14px;line-height:1.7;color:#42638f;white-space:pre-wrap;overflow-wrap:anywhere}.planner-answer .eyebrow{font-size:9px;letter-spacing:1.5px;color:#7896be}.planner-suggestions{display:flex;flex-direction:column;gap:8px;margin:11px 0 18px}.planner-suggestions .button{text-align:left;justify-content:flex-start;font-weight:500;line-height:1.5;white-space:normal;min-height:42px;color:#4a6c9e;background:#f9fbff;border-color:#dfe8fa}.planner-consent{font-size:10px;line-height:1.65;color:#8a99b1;margin:14px 0}.planner-preview{margin-top:24px;padding-top:24px;border-top:1px solid var(--line)}.planner-preview>h3{font-size:17px;color:#234570;margin-bottom:8px}.planner-preview>.hint{margin-bottom:20px}.planner-task{padding:17px 18px 1px;border:1px solid #e1e8f4;border-radius:13px;background:#fff;margin:15px 0}.planner-task .section-head{margin:0 0 18px}.planner-task .section-head h3{font-size:13px;color:#718db4}.planner-assumptions{padding:14px 16px;border-radius:10px;background:#fff8eb;color:#9a8059;font-size:12px}.planner-assumptions ul{margin:7px 0 0;padding-left:18px;line-height:1.6}.planner-preview>.button{width:100%;margin:8px 0 16px}.planner-pending{margin:18px 0;padding:16px;border:1px solid #ead5b0;background:#fff9ef;border-radius:12px;color:#947e5c;font-size:12px}.planner-pending .button{margin-top:12px}.planner-progress{padding:14px 16px;margin:14px 0;border:1px solid #dce7fc;border-radius:11px;background:#edf3ff;color:#5679ad;font-size:12px}.planner-footer{flex-wrap:wrap;gap:9px}.planner-footer .button{font-weight:500}.planner-body button:disabled{cursor:default}
@media(max-width:1050px) and (min-width:701px){.sidebar{padding-left:calc(14px + var(--app-safe-left))}.topbar{padding-right:max(26px,var(--app-safe-right))}}
/* 28.10.2026: вопросы по выбранному пункту — над свободным ответом, параметры задачи ниже. */
.entry-hints{margin-bottom:16px}.entry-hints-title{font-size:12px;font-weight:600;color:#49678e;margin-bottom:6px}.entry-hints-message{font-size:12px;line-height:1.55;color:#7a8ca5;overflow-wrap:anywhere}.entry-hints .planner-suggestions{margin:10px 0 0;gap:7px}.entry-hints .button{border-radius:13px;min-height:40px;padding:9px 12px;font-size:12px;overflow-wrap:anywhere}.task-answer-input{min-height:136px!important}.task-options{margin:4px 0 18px;border-top:1px solid #e2e9f4;border-bottom:1px solid #e2e9f4;padding:12px 0;font-size:12px;color:#6b82a3}.task-options>summary{cursor:pointer;line-height:1.6}.task-options[open]>summary{margin-bottom:16px}.task-options>.confirmation{font-size:12px;color:#778aa6;margin-bottom:16px}.task-options>.planner-context{margin-bottom:10px}.task-row>.button.small{flex-shrink:0}.task-options .form-field:last-child{margin-bottom:3px}
@media(max-width:700px){.entry-hints .button{font-size:13px;min-height:42px;padding:9px 11px}.task-row>.button.small{padding:8px 10px;min-width:0}.task-row>.button.small svg{display:none}.task-answer-input{min-height:132px!important}}
@media(max-width:700px){body{padding-bottom:calc(73px + max(env(safe-area-inset-bottom,0px),var(--app-safe-bottom)))}.sidebar{background:#fbfcfff5;border-top-color:#e0e6f1;padding:8px max(8px,var(--app-safe-right)) calc(8px + max(env(safe-area-inset-bottom,0px),var(--app-safe-bottom))) max(8px,var(--app-safe-left));color:#7387a8}.nav-item{color:#8495b0}.nav-item.active{background:#eaf1ff;color:#326be8;box-shadow:none}.nav-item:hover{background:#f0f5ff}.topbar{height:calc(66px + max(env(safe-area-inset-top,0px),var(--app-safe-top)));padding: max(env(safe-area-inset-top,0px),var(--app-safe-top)) max(20px,var(--app-safe-right)) 0 max(20px,var(--app-safe-left))}.mobile-brand{color:#233e65}.mobile-brand span{color:#8293b0}.page{padding-left:max(20px,var(--app-safe-left));padding-right:max(20px,var(--app-safe-right))}.page-header h1{font-size:27px;line-height:1.24}.next-action{padding:24px;min-height:230px}.next-action h2{font-size:22px}.goal-banner p{font-size:12px}.dialog-head{padding:20px 18px 16px;gap:8px}.dialog-head h2{font-size:20px}.dialog-head p{font-size:12px;line-height:1.6}.dialog-body{padding:20px 18px 23px}.planner-task{padding:16px 14px 1px}.planner-preview>h3{font-size:18px}.planner-suggestions .button{font-size:12px;padding:11px 13px}.planner-footer .button{flex:auto}.toast{bottom:calc(91px + max(env(safe-area-inset-bottom,0px),var(--app-safe-bottom)))}dialog{width:calc(100% - max(24px,var(--app-safe-left)) - max(8px,var(--app-safe-right)))}.planner-consent{font-size:11px}.topbar-actions{gap:7px}}
/* 28.10.2026: рабочий кабинет — видимые действия, поиск, избранное и карточки с клавиатуры. */
.topbar-search{padding:9px 13px;min-height:36px;background:#fff;gap:8px}.topbar-search svg{width:17px;height:17px}.topbar-actions{flex-shrink:0}.mobile-brand{white-space:nowrap}.clickable{cursor:pointer;transition:border-color .15s,box-shadow .15s}.clickable:hover{border-color:#b4caec;box-shadow:0 5px 20px #254b8520}.clickable:focus-visible{outline:3px solid #a1c1f3;outline-offset:3px}.quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:24px}.button.quick-action{display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:12px;padding:16px 14px;background:#fff;border-color:#e0e7f2;white-space:normal;min-width:0;box-shadow:0 3px 14px #243f6404}.quick-action-icon{display:flex;align-items:center;justify-content:center;width:34px;height:34px;flex-shrink:0;border-radius:10px;background:#edf3ff;color:#4e7ac0}.quick-action-icon svg{width:18px;height:18px}.quick-action-copy{display:flex;flex-direction:column;gap:4px;min-width:0}.quick-action-title{font-size:12px;font-weight:600;line-height:1.35;color:#365783}.quick-action-note{font-size:10px;line-height:1.45;color:#8b9ab0;font-weight:400}.next-action .actions{flex-wrap:wrap}.project-card-tools{display:flex;flex-direction:column;align-items:flex-end;gap:9px;flex-shrink:0}.favorite-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:7px;background:transparent;border-color:transparent}.favorite-button.active{color:#c18b2c;background:#fff8e8;border-color:#f3e5c9}.favorite-button.active svg{fill:#f5d48d}.favorite-projects{margin-bottom:28px}.project-heading,.task-body{min-width:0}.project-heading h3,.task-body h3{overflow-wrap:anywhere}.compact-task>svg{width:15px;height:15px;flex-shrink:0;margin-left:auto;color:#94aac9}.compact-task.clickable{border-radius:8px;padding-left:6px;padding-right:6px}.search-field{margin-bottom:14px}.search-results{display:flex;flex-direction:column;gap:8px}.search-count{font-size:11px;color:#8b9bb2;margin-bottom:3px}.button.search-result{align-items:flex-start;justify-content:flex-start;flex-direction:column;text-align:left;gap:5px;width:100%;padding:14px 15px;white-space:normal;background:#fff;min-width:0}.search-kind{font-size:10px;letter-spacing:.2px;color:#8c9db7;font-weight:400}.search-result-title{font-size:13px;line-height:1.5;color:#3b5d8d;font-weight:600;overflow-wrap:anywhere}.search-result-note{font-size:11px;font-weight:400;line-height:1.5;color:#8396b2;overflow-wrap:anywhere}.selection-list{display:flex;flex-direction:column;gap:10px}.button.selection-item{justify-content:flex-start;white-space:normal;text-align:left;width:100%;padding:14px}.help-step{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid #e2e9f4}.help-step h3{font-size:15px;color:#385a89;margin-bottom:7px}.help-step p{font-size:12px;line-height:1.65;color:#8192ac;margin-bottom:12px}.tabs{overflow-x:auto;max-width:100%;scrollbar-width:thin}.tabs .tab{flex-shrink:0}.subhead{flex-wrap:wrap}.task-options>.planner-context .button{white-space:normal}.entry-hints .planner-suggestions .button{padding:9px 12px;font-size:13px}
@media(max-width:1100px){.quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.quick-actions{gap:10px;margin-bottom:20px}.button.quick-action{padding:12px 10px;gap:9px;min-height:78px}.quick-action-icon{width:29px;height:29px;border-radius:9px}.quick-action-icon svg{width:16px;height:16px}.quick-action-title{font-size:12px}.quick-action-note{font-size:10px}.metric-top{font-size:10px;line-height:1.45;min-height:29px;margin-bottom:9px}.metric-note{font-size:10px;line-height:1.4}.metric-value{font-size:26px}.page-header{margin-bottom:20px}.page-header h1{font-size:25px}.next-action{min-height:0;padding:21px}.next-action h2{font-size:21px}.next-action .actions .button{font-size:11px}.topbar-search{font-size:12px;padding:8px 11px;min-height:34px}.topbar-actions>.icon-button{padding:8px;min-width:34px;min-height:34px;width:34px;height:34px}.topbar-actions>.icon-button svg{width:16px;height:16px}.task-row{gap:9px}.task-row>.button.small{font-size:11px}.project-card-tools{gap:7px}.entry-hints-title{font-size:11px}.entry-hints-message{font-size:12px}.entry-hints{margin-bottom:13px}.help-step{margin-bottom:16px;padding-bottom:16px}}
@media(max-width:420px){.topbar{padding-left:max(16px,var(--app-safe-left));padding-right:max(16px,var(--app-safe-right))}.mobile-brand{font-size:14px}.topbar-actions{gap:5px}.topbar-search{padding:8px 9px;gap:6px}.topbar-actions>.icon-button{width:32px;min-width:32px;height:32px;min-height:32px;padding:7px}.topbar-search svg{width:16px;height:16px}.page{padding-left:max(16px,var(--app-safe-left));padding-right:max(16px,var(--app-safe-right))}.button.quick-action{padding:12px 9px}.quick-action-copy{gap:3px}}
/* 28.10.2026: задача — чат с отправкой; статус доступен отдельно, варианты идут под полем. */
.compact-task>div{min-width:0;flex:1}.compact-task h3,.compact-task p{overflow-wrap:anywhere}.task-chat{padding-top:16px}.task-chat-step{font-size:12px;line-height:1.55;color:#6c82a2;margin-bottom:12px;overflow-wrap:anywhere}.task-chat-facts{border:1px solid #e1e8f3;background:#f7f9fe;padding:10px 12px;border-radius:10px;margin-bottom:13px;color:#6a83a8;font-size:12px}.task-chat-facts summary{cursor:pointer;font-weight:500}.task-chat-facts p{margin-top:9px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#6b7f9a}.task-chat-thread{display:flex;flex-direction:column;gap:10px;max-height:265px;overflow-y:auto;overscroll-behavior:contain;padding:2px 2px 14px;margin-bottom:12px;scrollbar-width:thin}.task-chat-empty{padding:15px 4px;font-size:13px;line-height:1.65;color:#8b9bb2}.task-chat-message{max-width:94%;padding:12px 14px;border:1px solid #e1e8f5;border-radius:14px;background:#fff;align-self:flex-start}.task-chat-message.user{align-self:flex-end;background:#edf3ff;border-color:#dce7fa;border-bottom-right-radius:5px}.task-chat-message.assistant{border-bottom-left-radius:5px}.task-chat-author{display:block;font-size:10px;font-weight:500;color:#8a9bb3;margin-bottom:6px}.task-chat-message p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;color:#436186}.task-chat-composer{padding:13px;background:#f2f6fd;border:1px solid #dce7f6;border-radius:14px}.task-chat-composer .form-field{margin-bottom:10px}.task-chat-input{min-height:116px!important;resize:vertical;background:#fff!important}.task-chat-composer>.button{width:100%;min-height:42px;font-size:13px}.task-chat-suggestions{margin:12px 0 16px}.task-chat-suggestions .button{font-size:12px;padding:9px 12px;min-height:40px}.task-chat-notice,.task-chat-recovery{padding:12px 13px;border:1px solid #e7d8b8;border-radius:10px;background:#fffaef;color:#8b7551;font-size:12px;line-height:1.6;margin:13px 0;overflow-wrap:anywhere}.task-chat-recovery>.button{margin-top:9px}.task-chat-footer{display:flex;gap:8px;flex-wrap:wrap;border-top:1px solid #e1e8f4;padding-top:13px}.task-chat-footer .button{font-size:11px;font-weight:400}.task-chat-storage{font-size:10px;line-height:1.55;margin-top:12px}
@media(max-width:700px){.task-chat{padding:14px 16px 20px}.task-chat-thread{max-height:220px;gap:9px}.task-chat-message{padding:10px 12px;max-width:96%}.task-chat-message p{font-size:14px}.task-chat-input{min-height:108px!important;font-size:16px!important}.task-chat-composer{padding:11px}.task-chat-suggestions .button{font-size:12px;min-height:40px}.task-chat-footer .button{flex:1;white-space:normal;line-height:1.4}.task-chat-storage{font-size:10px}}
/* 28.10.2026: итог разговора редактируется и сохраняется явно, в том же чате. */
.task-chat-target{padding:11px 13px;margin-bottom:13px;border:1px solid #e0e8f5;border-radius:10px;background:#f3f7fe}.task-chat-target p{font-size:12px;line-height:1.55;color:#6480a5;overflow-wrap:anywhere}.task-chat-target p+p{margin-top:5px}
.task-chat-proposal{margin:18px 0;padding:17px 14px;background:#f4f7fe;border:1px solid #dce7f6;border-radius:13px;min-width:0}.task-chat-proposal>p{font-size:12px;line-height:1.6;overflow-wrap:anywhere;margin-bottom:13px}.task-chat-proposal>.hint{margin-bottom:14px}.task-chat-proposal .form-field{margin-bottom:14px}.task-chat-proposal textarea{min-height:82px;resize:vertical}.task-chat-proposal .actions{flex-direction:column;align-items:stretch}.task-chat-proposal .button{white-space:normal;min-height:42px}.task-chat-proposal .form-field input,.task-chat-proposal .form-field textarea{min-width:0;max-width:100%}
/* 29.10.2026: «📌 Начните с этой задачи» — из пяти предложенных видно, с какой начать. */
.planner-task.recommended{border-color:#9fbaf0;box-shadow:0 0 0 1px #9fbaf0 inset}.planner-first-step{margin:0 0 10px;padding:9px 11px;border-radius:9px;background:#eaf0ff;color:#2f4f86;font-size:12px;line-height:1.55;overflow-wrap:anywhere}

/* 29.10.2026: меню Сергея — один следующий шаг прежде вторичных разделов. */
.nav-label{letter-spacing:0;font-size:12px;color:#a8b8d1}
.nav-item{min-height:48px;font-size:14px}
.page-header p{font-size:15px;color:#526781}
.today-page .page-header{margin-bottom:25px}
.today-page .overview-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
.focus-action{background:#fff;border:1px solid #dce4f1;border-top:4px solid #326be8;border-radius:12px;padding:27px;min-height:0;box-shadow:0 8px 28px #14203905}
.focus-action:after{display:none}
.focus-action .focus-label{display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:#326be8;margin:0 0 21px}
.focus-label svg{width:19px;height:19px}
.focus-action .focus-project{font-size:14px;font-weight:600;color:#526781;margin:0 0 9px}
.focus-action h2{font-size:27px;line-height:1.3;font-weight:650;color:#142039;margin:0 0 15px;max-width:28ch}
.focus-action .focus-due{font-size:14px;color:#526781;margin-bottom:9px}
.focus-action .focus-reason{font-size:13px;color:#526781;line-height:1.55;margin:0 0 23px;max-width:48ch}
.focus-action .actions{gap:10px;align-items:stretch}
.focus-action .actions .button{min-height:46px;font-size:14px;padding:12px 17px}
.focus-action .focus-help{background:#f4f7fc;color:#304f7a;border-color:#e2e8f2}
.upcoming-card{padding:24px;box-shadow:none;border-color:#e2e7ef;background:#f9fbfe}
.upcoming-title{font-size:16px;color:#304563;margin-bottom:20px}
.upcoming-card .compact-task h3{font-size:14px;line-height:1.5}
.upcoming-card .compact-task p{font-size:12px;line-height:1.5;color:#526781}
.goal-start{border:1px solid #dce4f1;border-top:4px solid #326be8;background:#fff;border-radius:12px;padding:38px;text-align:left;max-width:720px;box-shadow:0 8px 28px #14203905}
.goal-start>svg{width:30px;height:30px;color:#326be8;margin-bottom:22px}
.goal-start h2{color:#142039;font-size:28px;line-height:1.3;margin-bottom:14px;max-width:24ch}
.goal-start p{max-width:48ch;color:#526781;font-size:16px;line-height:1.6;margin:0 0 23px}
.goal-start>.button{min-height:46px;font-size:15px;margin:0 12px 0 0}
.goal-start .goal-start-path{border-top:1px solid #e2e7ef;padding-top:22px;margin:25px 0 0;font-size:13px;color:#526781;line-height:1.6}
.more-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:860px}
.more-menu .quick-action{padding:20px;min-height:86px;box-shadow:none}
.more-menu .quick-action-title{font-size:15px;color:#243149}
.more-menu .quick-action-note{font-size:13px;color:#526781}
.more-menu .quick-action-icon{width:40px;height:40px;background:#edf3ff;border-radius:10px}
.more-menu .quick-action-icon svg{width:21px;height:21px}
.task-entry-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.task-entry-actions .button{min-height:44px;padding:10px 12px;font-size:12px;white-space:normal;line-height:1.4;color:#304f7a;background:#f5f8fd;border-color:#e0e7f2}
.task-entry-actions .button svg{width:16px;height:16px}
.conversation-entries{margin:0 0 19px;gap:7px}
.conversation-entries .button{flex:1;min-width:100px}
.button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,.clickable:focus-visible{outline:3px solid #326be8;outline-offset:3px}
@media(max-width:1050px){.today-page .overview-grid{grid-template-columns:1fr}.more-menu{grid-template-columns:1fr}}
@media(max-width:700px){
  .topbar{height:calc(70px + max(env(safe-area-inset-top,0px),var(--app-safe-top)))}
  .mobile-brand{font-size:17px;letter-spacing:.2px}
  .topbar-actions>#help,.topbar-actions>#refresh{display:none}
  .topbar-search{min-height:44px;padding:10px 13px;font-size:14px}
  .topbar-search svg{width:19px;height:19px}
  #navigation{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
  .nav-item{max-width:none;min-height:54px;padding:8px 2px;font-size:11px;gap:5px;color:#526781}
  .nav-item svg{width:21px;height:21px}
  .nav-item.active{background:#eaf0ff;color:#2456b8}
  .page{padding-top:25px}
  .page-header h1{font-size:29px;line-height:1.18;letter-spacing:-.6px;max-width:18ch}
  .page-header p{font-size:14px;line-height:1.6}
  .today-page .page-header{margin-bottom:22px}
  .focus-action{padding:22px 20px;border-radius:12px}
  .focus-action .focus-label{font-size:13px;margin-bottom:18px}
  .focus-action h2{font-size:25px;line-height:1.3;margin-bottom:14px}
  .focus-action .focus-project,.focus-action .focus-due{font-size:13px}
  .focus-action .focus-reason{font-size:12px;margin-bottom:21px}
  .focus-action .actions{display:grid;grid-template-columns:1fr}
  .focus-action .actions .button{min-height:46px;font-size:14px}
  .focus-action>.button{min-height:46px;font-size:14px;white-space:normal}
  .upcoming-card{padding:21px 20px}
  .goal-start{padding:26px 22px}
  .goal-start>svg{margin-bottom:18px}
  .goal-start h2{font-size:27px}
  .goal-start p{font-size:15px;margin-bottom:22px}
  .goal-start>.button{display:flex;width:100%;margin:0 0 10px;min-height:46px;font-size:15px}
  .goal-start>.button.subtle{justify-content:center}
  .goal-start .goal-start-path{font-size:12px;margin-top:20px;padding-top:19px;margin-bottom:0}
  .more-menu{gap:10px}
  .more-menu .quick-action{padding:17px;min-height:85px;gap:13px}
  .more-menu .quick-action-title{font-size:15px}
  .more-menu .quick-action-note{font-size:12px}
  .header-actions .button{min-height:44px;font-size:13px}
  .task-body h3{font-size:15px;line-height:1.5}
  .task-detail{font-size:13px;line-height:1.6;color:#526781}
  .task-meta{font-size:12px;color:#526781}
  .task-entry-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
  .task-entry-actions .button{font-size:12px;padding:10px 9px}
  .task-entry-actions .button:last-child{grid-column:1/-1}
}

/* 30.10.2026: направление цели — одна карта с источниками сведений и явным следующим шагом. */
.direction-card{background:#fff;border:1px solid #dce4f1;border-left:4px solid #326be8;border-radius:12px;padding:26px 28px;margin:0 0 30px;color:#243149;max-width:920px}
.direction-caption{font-size:14px;color:#526781;margin:0;font-weight:600}
.direction-title{font-size:25px;line-height:1.3;max-width:42ch;overflow-wrap:anywhere;margin:12px 0 14px}
.direction-section{padding:19px 0;border-bottom:1px solid #e5eaf2}
.direction-section h3,.direction-next>h3{font-size:13px;line-height:1.5;font-weight:600;color:#526781;margin:0 0 7px}
.direction-value{white-space:pre-wrap;overflow-wrap:anywhere;font-size:16px;line-height:1.6;margin:0 0 9px;max-width:66ch}
.direction-criterion{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;max-width:66ch;margin:9px 0;color:#405371}
.direction-card .hint{font-size:12px;line-height:1.6;margin:8px 0;color:#526781;overflow-wrap:anywhere}
.direction-details{margin:14px 0;border-top:1px solid #e5eaf2;padding-top:13px}
.direction-details>summary{cursor:pointer;font-size:14px;line-height:1.5;color:#304f7a;min-height:36px;padding:5px 0;font-weight:600}
.direction-details>.direction-value{margin:8px 0;font-size:14px}
.direction-next{padding:22px 0 0}
.direction-next h4{font-size:21px;line-height:1.4;margin:0 0 10px;max-width:45ch;overflow-wrap:anywhere;color:#142039}
.direction-next .actions{margin:17px 0 10px;flex-wrap:wrap}
.direction-card .button,.direction-editor .button{min-height:44px;white-space:normal;line-height:1.45;max-width:100%}
.direction-warning{background:#fff5e2;border-left:3px solid #b57019;padding:12px 14px;border-radius:5px;font-size:13px;line-height:1.6;overflow-wrap:anywhere;color:#76480c}
.direction-editor>.form-field,.direction-editor>.direction-details{margin-bottom:18px}
.direction-editor textarea{min-height:92px;line-height:1.55}
.direction-editor .direction-details textarea[name=story]{min-height:150px}
.direction-comparison{margin-bottom:24px}
.direction-comparison h3,.direction-plan h3{font-size:17px;line-height:1.4;margin:0 0 16px}
.direction-diff{padding:14px 0;border-bottom:1px solid #e5eaf2}
.direction-diff h4{font-size:13px;color:#526781;margin:0 0 9px}
.direction-diff p{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6;font-size:14px;margin:0 0 7px}
.direction-plan{border:1px solid #dce4f1;border-radius:8px;padding:18px;margin:22px 0}
.direction-plan p{font-size:14px;line-height:1.6;overflow-wrap:anywhere}
.direction-editor>.button{margin:0 8px 10px 0}
.direction-editor .dialog-footer{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-start}
.direction-date[hidden]{display:none}
.direction-page .page-header{margin-bottom:12px}
.direction-page .page-header p:empty{display:none}
.direction-page>.subhead{margin-bottom:14px}
.direction-card-head{margin:0 0 8px}
.direction-card .direction-title{font-size:22px;line-height:1.35;margin:0 0 10px}
.direction-position{font-size:14px;line-height:1.5;color:#405371}
.direction-position>span{font-weight:600}
.direction-position>p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.5;overflow-wrap:anywhere}
.direction-term{font-size:13px;color:#526781;margin:8px 0 0}
.direction-full{margin-bottom:0}
.direction-card .direction-next{padding:17px 0 0}
.direction-card .direction-next h4{font-size:19px;line-height:1.4;margin-bottom:10px}
.direction-card .direction-next .actions{margin:10px 0}
@media(max-width:700px){
  .direction-page{padding-top:17px}
  .direction-page .page-header h1{font-size:24px}
  .direction-card{padding:15px 16px;border-left-width:3px;margin-bottom:25px}
  .direction-card .direction-title{font-size:20px;line-height:1.35}
  .direction-section{padding:17px 0}
  .direction-value{font-size:15px}
  .direction-next h4{font-size:20px}
  .direction-next .actions{display:flex;flex-direction:column;align-items:stretch}
  .direction-next .button{font-size:14px}
  .direction-editor>.button{display:flex;width:100%;margin:0 0 10px}
  .direction-editor .dialog-footer{flex-direction:column;align-items:stretch}
  .direction-plan{padding:15px}
  .direction-card>.section-head{gap:10px;align-items:center}
}

/* 30.10.2026: опциональное мнение Jev в существующем предпросмотре. */
.plan-review{border-top:1px solid #dce4f1;padding:18px 0;margin:18px 0 8px}
.plan-review>h3{font-size:17px;margin:0 0 10px}
.review-disclosure,.review-note,.review-warning{font-size:13px;line-height:1.6;margin:10px 0;color:#405371;overflow-wrap:anywhere}
.review-warning{color:#79571d;background:#fff8e9;border-left:3px solid #c79b42;padding:9px 12px}
.review-step{padding:12px 0;border-bottom:1px solid #e5eaf2}
.review-step h4{font-size:14px;margin:0 0 8px}
.review-outcome{font-size:13px;line-height:1.6;margin:4px 0;color:#405371}
.review-attention{font-weight:600}
.review-fields{font-size:13px;line-height:1.6;color:#405371;margin:10px 0}
.review-fields>summary{cursor:pointer;min-height:36px;padding:6px 0;font-weight:600}
.review-fields ul{padding-left:20px;margin:8px 0}.review-fields li{margin:6px 0}
.plan-review>.button{min-height:44px;white-space:normal;margin:7px 8px 0 0}
@media(max-width:700px){.plan-review>.button{display:flex;width:100%;margin-right:0}.planner-preview>.actions{align-items:stretch;flex-direction:column}}

/* 30.10.2026: уведомление без кнопок не должно перехватывать нажатия на действия под ним. */
.toast{pointer-events:none}

/* =====================================================================
   01.11.2026 (T4): JarvisO candidate — «Карта пути», сценарий бренда,
   паспорт и экспорт. Классы .brand-* включаются только при
   bootstrap.brand_enabled; старый интерфейс не меняется.
   Графит/фиолетовый акцент выбранного шага/мятная отметка подтверждённого,
   цвет всегда дублируется подписью, glow = клавиатурный фокус.
   ===================================================================== */
.brand-host{margin:0 0 26px;min-width:0}
.brand-shell{
  --brand-bg:#15161c;--brand-surface:#1b1d26;--brand-raised:#222530;--brand-line:#343745;
  --brand-text:#f2f0fa;--brand-muted:#b5b7c8;--brand-violet:#bca9ff;--brand-mint:#96dfc9;
  --brand-coral:#ebba9d;--brand-amber:#f2d59b;
  display:grid;grid-template-columns:minmax(0,1fr);gap:14px;min-width:0;
  color:var(--brand-text);font-size:15px;line-height:1.5;letter-spacing:normal;
  -webkit-text-size-adjust:100%;
}
.brand-action,.brand-map-panel{background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:16px;padding:20px;min-width:0;color:var(--brand-text)}
.brand-action :is(h2,h3,p,span,label),.brand-map-panel :is(h2,h3,p,span,label){color:inherit}
.brand-eyebrow{font-size:11px;letter-spacing:1.6px;font-weight:700;color:var(--brand-violet);margin:0 0 8px}
.brand-title{font-size:22px;line-height:1.25;font-weight:650;color:var(--brand-text);margin:0 0 10px;max-width:34ch;overflow-wrap:anywhere}
.brand-lead{font-size:14px;line-height:1.6;color:var(--brand-muted);margin:0 0 16px;max-width:48ch;overflow-wrap:anywhere}
.brand-note{font-size:12px;line-height:1.6;color:var(--brand-muted);margin:8px 0 0;overflow-wrap:anywhere}
.brand-ai-note{color:#f3dba9;background:#241f16;border:1px solid #4a3f28;border-left:3px solid var(--brand-amber);padding:10px 12px;border-radius:9px;margin:12px 0 0}
.brand-readonly-note{color:#a9b6c9}
.brand-buttons{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 14px;min-width:0}
/* Кнопки внутри графитовых панелей: крупные, с видимым фокусом, без переноса вёрстки. */
.brand-shell .button,.brand-dialog .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 15px;border:1px solid var(--brand-line);border-radius:12px;background:var(--brand-raised);color:var(--brand-text);font:inherit;font-size:14px;line-height:1.35;white-space:normal;overflow-wrap:anywhere;max-width:100%;cursor:pointer;text-align:center}
.brand-shell .button svg,.brand-dialog .button svg{width:17px;height:17px;flex:none}
.brand-shell .button.primary,.brand-dialog .button.primary{background:var(--brand-violet);border-color:var(--brand-violet);color:#18141f;font-weight:650}
.brand-shell .button.small,.brand-dialog .button.small{min-height:38px;padding:8px 12px;font-size:13px}
.brand-shell .button:disabled,.brand-dialog .button:disabled{opacity:.55;cursor:not-allowed}
.brand-shell .button:focus-visible,.brand-dialog .button:focus-visible,.brand-dialog .icon-button:focus-visible,
.brand-node:focus-visible,.brand-checkbox:focus-visible,.brand-passport-input:focus-visible{
  outline:3px solid var(--brand-mint);outline-offset:3px;box-shadow:0 0 0 6px #96dfc930}
.brand-selected{margin-top:16px;padding-top:14px;border-top:1px solid var(--brand-line);min-width:0}
.brand-selected-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.brand-selected-title{font-size:16px;line-height:1.3;font-weight:650;margin:0;color:var(--brand-text);overflow-wrap:anywhere;min-width:0}
.brand-selected-hint{font-size:13px;line-height:1.55;color:var(--brand-muted);margin:8px 0 0;overflow-wrap:anywhere}
.brand-selected-tasks{display:flex;flex-direction:column;gap:7px;margin-top:10px}
.brand-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:0 0 14px}
.brand-map-title{font-size:19px;line-height:1.3;font-weight:650;color:var(--brand-text);margin:0}
.brand-map-sub{font-size:12px;line-height:1.5;color:var(--brand-muted);margin:5px 0 0;max-width:42ch;overflow-wrap:anywhere}
.brand-map-tools{flex:none}
.brand-route{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px;min-width:0}
.brand-route-item{position:relative;min-width:0}
.brand-route-item:not(:last-child):before{content:"";position:absolute;left:33px;top:48px;bottom:-17px;width:2px;background:#2f3240;border-radius:2px}
.brand-node{position:relative;z-index:1;display:flex;align-items:center;gap:12px;width:100%;min-height:66px;padding:12px 14px;text-align:left;background:var(--brand-raised);border:1px solid var(--brand-line);border-radius:14px;color:var(--brand-text);font:inherit;cursor:pointer;max-width:100%;overflow-wrap:anywhere;transition:border-color .15s,background-color .15s,box-shadow .15s}
.brand-station{flex:none;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;background:var(--brand-bg);border:1px solid var(--brand-line);color:var(--brand-muted)}
.brand-station-mark{text-align:center;line-height:1}
.brand-node-body{display:flex;flex-direction:column;gap:6px;min-width:0;flex:1}
.brand-node-title{font-size:15px;line-height:1.4;font-weight:600;color:var(--brand-text);overflow-wrap:anywhere}
.brand-node-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.brand-status{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.35;color:var(--brand-muted);overflow-wrap:anywhere}
.brand-node-count{font-size:11px;color:var(--brand-muted);line-height:1.35}
.brand-dot{width:9px;height:9px;border-radius:50%;flex:none;display:inline-block;background:#8d90a2}
.brand-dot-mint{background:var(--brand-mint)}.brand-dot-violet{background:var(--brand-violet)}.brand-dot-coral{background:var(--brand-coral)}.brand-dot-amber{background:var(--brand-amber)}.brand-dot-line{background:#8d90a2}.brand-dot-dim{background:#767a8c}
.brand-tone-mint .brand-status,.brand-badge.brand-tone-mint{color:#a9eed9}
.brand-tone-violet .brand-status,.brand-badge.brand-tone-violet{color:#cfc2ff}
.brand-tone-coral .brand-status,.brand-badge.brand-tone-coral{color:#f4c9ad}
.brand-tone-amber .brand-status,.brand-badge.brand-tone-amber{color:#f6dca8}
.brand-tone-mint .brand-station{background:var(--brand-mint);border-color:var(--brand-mint);color:#12201c}
.brand-tone-violet .brand-station{background:var(--brand-violet);border-color:var(--brand-violet);color:#18141f;box-shadow:0 0 0 5px #bca9ff26}
.brand-tone-coral .brand-station{background:var(--brand-coral);border-color:var(--brand-coral);color:#231710}
.brand-tone-amber .brand-station{background:var(--brand-amber);border-color:var(--brand-amber);color:#221a09}
.brand-tone-dim .brand-station{background:#1a1c24;color:#9a9db0}
.brand-node[aria-pressed="true"]{border-color:var(--brand-violet);background:#2c263d;box-shadow:0 0 0 1px var(--brand-violet),0 0 22px #bca9ff33}
.brand-node-arrow{flex:none;color:var(--brand-muted);font-size:16px;line-height:1}
.brand-badge{display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:600;line-height:1.3;padding:5px 9px;border-radius:999px;background:var(--brand-raised);border:1px solid var(--brand-line);color:var(--brand-muted);max-width:100%;overflow-wrap:anywhere}
.brand-map-state{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px;background:var(--brand-raised);border:1px solid var(--brand-line);border-radius:12px;min-width:0}
.brand-map-state-title{font-size:15px;line-height:1.4;font-weight:650;color:var(--brand-text);margin:0;overflow-wrap:anywhere}
.brand-map-state .loader{border-color:#3c4050;border-top-color:var(--brand-violet);margin:0}
.brand-unmatched{margin-top:16px;padding-top:14px;border-top:1px solid var(--brand-line);min-width:0}
.brand-unmatched-title{font-size:14px;line-height:1.4;font-weight:650;color:var(--brand-text);margin:0}
.brand-unmatched-list{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px;min-width:0}
.brand-unmatched-list .button{flex:1 1 150px;justify-content:flex-start;text-align:left}
.brand-map-foot{font-size:11px;line-height:1.55;color:var(--brand-muted);margin:14px 0 0;overflow-wrap:anywhere}
.brand-empty-note{color:#c9cfdd}
/* Диалоги бренда: свой графитовый слой поверх светлого приложения. */
.brand-dialog{
  --brand-bg:#15161c;--brand-surface:#1b1d26;--brand-raised:#222530;--brand-line:#343745;
  --brand-text:#f2f0fa;--brand-muted:#b5b7c8;--brand-violet:#bca9ff;--brand-mint:#96dfc9;
  --brand-coral:#ebba9d;--brand-amber:#f2d59b;
  width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));
  margin:auto;padding:0;background:var(--brand-bg);color:var(--brand-text);border:1px solid var(--brand-line);border-radius:18px;overflow:auto;overscroll-behavior:contain;
}
.brand-dialog-wide{width:min(760px,calc(100vw - 20px))}
.brand-dialog::backdrop{background:#0b0c11cc;backdrop-filter:blur(2px)}
.brand-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:20px 20px 13px;border-bottom:1px solid var(--brand-line);position:sticky;top:0;background:var(--brand-bg);z-index:2}
.brand-dialog-head>div:first-child{flex:1;min-width:0}
.brand-dialog-head h2{font-size:21px;line-height:1.25;font-weight:650;color:var(--brand-text);margin:0;overflow-wrap:anywhere}
.brand-dialog-head p{font-size:13px;line-height:1.55;color:var(--brand-muted);margin:7px 0 0;overflow-wrap:anywhere}
.brand-dialog .icon-button{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;padding:8px;border:1px solid var(--brand-line);border-radius:10px;background:transparent;color:var(--brand-text);cursor:pointer}
.brand-dialog-body{display:flex;flex-direction:column;gap:12px;padding:18px 20px calc(22px + env(safe-area-inset-bottom,0px));min-width:0}
.brand-dialog-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:2px;min-width:0}
.brand-dialog-actions .button{flex:1 1 170px}
.brand-status-line{color:var(--brand-muted)}
.brand-status-error{color:#ffb6aa;background:#2a1a18;border:1px solid #59302a;border-left:3px solid #ff9d8f;padding:10px 12px;border-radius:9px}
.brand-version{font-size:13px;font-weight:650;color:var(--brand-mint);margin:0;overflow-wrap:anywhere}
.brand-visibility{font-size:12px;line-height:1.6;color:var(--brand-muted);margin:2px 0 0;border-top:1px solid var(--brand-line);padding-top:12px;overflow-wrap:anywhere}
/* Предпросмотр шаблона: 1–5 задач, выбранное уходит в план только по кнопке. */
.brand-preview{display:flex;flex-direction:column;gap:12px;min-width:0}
.brand-preview-phase{background:var(--brand-surface);border:1px solid var(--brand-line);border-radius:12px;padding:14px;min-width:0}
.brand-preview-phase-title{font-size:15px;line-height:1.35;font-weight:650;color:var(--brand-text);margin:0 0 6px;overflow-wrap:anywhere}
.brand-preview-hint{font-size:12px;line-height:1.5;color:var(--brand-muted);margin:0 0 10px;overflow-wrap:anywhere}
.brand-preview-task{display:flex;align-items:flex-start;gap:12px;min-height:48px;padding:10px 0;border-top:1px solid #2b2e3a;cursor:pointer}
.brand-checkbox{width:22px;height:22px;flex:none;margin:2px 0 0;accent-color:var(--brand-violet);cursor:pointer}
.brand-preview-task-text{display:flex;flex-direction:column;gap:4px;min-width:0}
.brand-preview-task-title{font-size:14px;line-height:1.45;color:var(--brand-text);overflow-wrap:anywhere}
.brand-preview-task-note{font-size:12px;line-height:1.5;color:var(--brand-muted);overflow-wrap:anywhere}
.brand-counter{color:var(--brand-text);font-size:13px}
/* Паспорт: 12 полей, пустые допустимы; свой черновик на устройстве. */
.brand-passport-editor{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;min-width:0}
.brand-passport-field{display:flex;flex-direction:column;gap:6px;min-width:0;color:var(--brand-text)}
.brand-field-label{font-size:13px;font-weight:650;color:var(--brand-text);overflow-wrap:anywhere}
.brand-field-hint{font-size:11px;line-height:1.5;color:var(--brand-muted);overflow-wrap:anywhere}
.brand-passport-input{width:100%;max-width:100%;min-height:92px;resize:vertical;background:#121318;border:1px solid var(--brand-line);border-radius:10px;color:var(--brand-text);padding:10px 12px;font:inherit;font-size:14px;line-height:1.5}
/* specificity выше общего .form-field input/textarea из светлой темы */
.brand-dialog .form-field textarea.brand-passport-input,.brand-dialog .brand-passport-input{width:100%;max-width:100%;min-height:92px;resize:vertical;background:#121318;border:1px solid var(--brand-line);border-radius:10px;color:var(--brand-text);padding:10px 12px;font:inherit;font-size:14px;line-height:1.5;caret-color:var(--brand-mint)}
.brand-dialog .brand-passport-input:hover,.brand-dialog .form-field textarea.brand-passport-input:hover{border-color:#5b5670}
.brand-dialog .brand-passport-input:focus,.brand-dialog .form-field textarea.brand-passport-input:focus{background:#14161c;outline:3px solid var(--brand-mint);outline-offset:2px;box-shadow:0 0 0 6px #96dfc930}
.brand-dialog .brand-passport-input::placeholder,.brand-dialog .form-field textarea.brand-passport-input::placeholder{color:#8e92a5}
.brand-passport-input::placeholder{color:#8e92a5}
.brand-passport-empty{padding:12px}
.brand-draft-banner,.brand-conflict{display:flex;flex-direction:column;gap:8px;padding:12px 14px;border-radius:10px;border:1px solid #4f4328;border-left:3px solid var(--brand-amber);background:#241f16;color:#f3dba9;min-width:0}
.brand-conflict{border-color:#5a3030;border-left-color:#ff9d8f;background:#2a1a18;color:#ffb6aa}
.brand-draft-title,.brand-conflict-title{font-size:14px;line-height:1.4;font-weight:650;margin:0;color:#f6e7c4}
.brand-conflict-title{color:#ffd2c9}
.brand-draft-actions,.brand-conflict-actions{display:flex;flex-wrap:wrap;gap:8px;min-width:0}
.brand-draft-actions .button,.brand-conflict-actions .button{flex:1 1 160px;background:var(--brand-raised);border-color:var(--brand-line);color:var(--brand-text)}
/* Desktop: карта слева, действие справа. Mobile-first в DOM — сначала действие. */
@media(min-width:981px){
  .brand-shell{grid-template-columns:minmax(0,1.4fr) minmax(330px,1fr);grid-template-areas:"map action";align-items:start}
  .brand-map-panel{grid-area:map}
  .brand-action{grid-area:action}
  .brand-route-item:not(:last-child):before{left:33px}
}
@media(max-width:480px){
  .brand-host{margin-bottom:22px}
  .brand-shell{gap:12px}
  .brand-action,.brand-map-panel{padding:16px 14px;border-radius:14px}
  .brand-title{font-size:20px}
  .brand-buttons{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .brand-buttons .button{width:100%}
  .brand-map-head{flex-direction:column;align-items:stretch;gap:9px}
  .brand-map-tools .button{width:100%}
  .brand-node{min-height:60px;gap:10px;padding:11px 12px}
  .brand-station{width:30px;height:30px;font-size:13px}
  .brand-route-item:not(:last-child):before{left:27px;top:43px;bottom:-18px}
  .brand-node-title{font-size:14px}
  .brand-dialog{border-radius:14px;width:calc(100vw - 12px);max-height:calc(100dvh - 12px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px))}
  .brand-dialog-head{padding:16px 14px 12px}
  .brand-dialog-head h2{font-size:19px}
  .brand-dialog-body{padding:14px 14px calc(18px + env(safe-area-inset-bottom,0px))}
  .brand-dialog-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
  .brand-dialog-actions .button{width:100%}
  .brand-passport-editor{grid-template-columns:minmax(0,1fr)}
  .brand-passport-input{font-size:16px}
  .brand-unmatched-list .button{flex-basis:100%}
}
@media(min-width:701px){.brand-passport-editor{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(hover:hover){.brand-node:hover{border-color:#5b5670;background:#262935}}
@media(prefers-reduced-motion:reduce){
  .brand-shell *,.brand-dialog *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
/* B1: исполнитель — ID в карточке и профиле. */
.task-assignee{overflow-wrap:anywhere}
.user-id{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:10px;color:#8b9784;min-width:0}
.user-id-text{overflow-wrap:anywhere}
.user-id .icon-button{min-width:26px;min-height:26px;padding:4px;border-radius:7px}
.profile-card{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:18px;flex-wrap:wrap}
.profile-card h3{font-size:13px;margin-bottom:4px}
.profile-card p{font-size:11px;color:#8b9784;overflow-wrap:anywhere}
.profile-card .button{min-height:36px}
@media(max-width:700px){.user-id{display:none}}
/* B2: вкладка «Игры» — существующий экран шахмат, без второго приложения. */
.game-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.game-card{display:flex;flex-direction:column;gap:13px;min-width:0}
.game-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.game-card h3{font-size:17px}
.game-card p{font-size:12px;color:#7b8a7a;overflow-wrap:anywhere}
.game-actions{margin-top:auto;display:flex;gap:9px;flex-wrap:wrap}
.game-actions .button{min-height:44px}
@media(max-width:900px){.game-grid{grid-template-columns:1fr}}
@media(max-width:700px){
  /* B2: пять вкладок в нижней панели, зона нажатия ≥44px, без горизонтального скролла. */
  #navigation{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px;overflow:visible}
  .nav-item{max-width:none;min-width:0;min-height:52px;padding:7px 1px;font-size:10px;gap:4px;text-align:center;border-radius:10px}
  .nav-item span{overflow-wrap:anywhere;line-height:1.15}
  .nav-item svg{width:20px;height:20px}
  .game-card .button{width:100%;min-height:48px}
  .profile-card{flex-direction:column;align-items:flex-start}
  .profile-card .button{width:100%;min-height:44px}
}
@media(max-width:360px){.nav-item{font-size:9px;min-height:50px}.nav-item svg{width:18px;height:18px}}

/* A2: статический экран загрузки — виден до/без основного JS и SDK, работает при белом экране. */
.boot-screen{min-height:100dvh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:40px 24px;gap:10px;background:radial-gradient(ellipse at 50% 38%,#e9f0e5 0,transparent 60%);color:var(--ink)}
.boot-screen .brand-mark{margin-bottom:18px}
.boot-screen .eyebrow{margin-bottom:6px}
.boot-screen h1{font-size:27px;max-width:460px;line-height:1.3}
.boot-status{font-size:13px;color:#7c8b7c;max-width:430px}
.boot-reason{font-size:13px;line-height:1.6;color:#8a5a45;background:#fff6ef;border:1px solid #efd8c9;border-radius:10px;padding:12px 15px;max-width:460px;overflow-wrap:anywhere}
.boot-early{font-size:11px;line-height:1.5;color:#8a6a3d;background:#fff9ec;border:1px solid #ecdcbc;border-radius:9px;padding:9px 12px;max-width:460px;overflow-wrap:anywhere}
.boot-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin-top:6px}
.boot-actions .button{min-height:44px}
.boot-build{font-size:10px;color:#9aa69b;margin-top:14px;letter-spacing:.2px}
body.boot-error #gate{display:none!important}
/* B1 UI: завершение других сеансов в профиле. */
.profile-card{flex-wrap:wrap}
.profile-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.profile-actions .button{min-height:36px}
/* B3 UI: скрытые из моих отчётов. */
.report-hidden{margin-top:16px}
.report-hidden .person{padding:14px 16px}
.report-hidden .button{min-height:36px}
.report-card .card-footer{gap:10px;flex-wrap:wrap}
.report-card .card-footer .button{min-width:0;white-space:normal;line-height:1.35}
@media(max-width:700px){
  /* B2: кнопка полного экрана рядом с поиском видна и достижима на 320/390. */
  .topbar-actions>#fullscreen{display:flex;min-width:40px;min-height:40px;width:40px;height:40px;padding:9px}
  .topbar-actions>#fullscreen svg{width:18px;height:18px}
  .boot-screen h1{font-size:24px}
  .report-card .card-footer .button{width:100%}
  .profile-actions{width:100%}
  .profile-actions .button{width:100%}
}
