:root{font-family:Inter,"Segoe UI",Arial,sans-serif;color:#253231;background:#f5f6f8;font-synthesis:none;--ink:#243c3b;--muted:#7b8585;--line:#e6e9e9;--soft:#eef3f1;--green:#347565;--red:#a74741;--amber:#946629}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit;text-decoration:none}button{border:1px solid var(--line);border-radius:9px;background:white;color:var(--ink);padding:10px 15px;font-size:13px;font-weight:600;transition:background .16s,transform .16s}button:hover{background:#f1f4f3}button:active{transform:translateY(1px)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--ink);border-color:var(--ink);color:white}.primary:hover{background:#355451}.subtle{border-color:transparent;background:transparent}.danger{color:var(--red)}.small{padding:6px 10px;font-size:12px}input,select,textarea{border:1px solid #dbe1df;border-radius:8px;background:white;padding:11px 12px;color:#253231;width:100%;min-width:0}textarea{min-height:90px;resize:vertical}input[type=checkbox]{width:18px;height:18px;accent-color:var(--ink)}input[type=file]{font-size:13px}select[multiple]{min-height:105px}input:focus,select:focus,textarea:focus,button:focus-visible,a:focus-visible{outline:3px solid #a5c2ba;outline-offset:2px}h1,h2,h3,p{margin-top:0}h1{font-size:30px;letter-spacing:-.9px;line-height:1.2;margin-bottom:10px;font-weight:650}h2{font-size:17px;letter-spacing:-.2px;margin:0}h3{font-size:14px;margin-bottom:9px}p{line-height:1.6}.muted{color:var(--muted);font-size:13px}.mono{font-variant-numeric:tabular-nums}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.9px;font-weight:700;color:var(--muted)}.icon{width:19px;height:19px;display:inline-block;vertical-align:middle;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.shell{display:grid;grid-template-columns:224px minmax(0,1fr);min-height:100vh}.sidebar{padding:33px 18px 20px;background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;width:224px;z-index:15}.brand{font-size:27px;letter-spacing:-1.2px;font-weight:750;margin:0 14px 3px;display:flex;align-items:center;gap:10px}.brand-mark{width:28px;height:28px;border:1.5px solid #46605a;border-radius:7px;display:grid;place-items:center;font-size:17px;letter-spacing:-1px}.brand-sub{margin:0 14px 39px;font-size:10px;letter-spacing:1.6px;text-transform:uppercase;color:#899391}.nav-label{padding:0 14px;margin:24px 0 10px}.nav-link{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:8px;font-size:13px;color:#667471;margin:3px 0}.nav-link:hover{background:#f4f6f5}.nav-link.active{background:#eaf0ed;color:#234c40;font-weight:650}.nav-count{margin-left:auto;background:white;padding:2px 7px;border-radius:5px;font-size:10px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding-top:19px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#ecefed;color:#465e56;border-radius:50%;font-size:12px;font-weight:650;flex:none}.profile{display:flex;align-items:center;gap:10px;padding:8px;min-width:0}.profile-name{font-size:12px;font-weight:600;max-width:128px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-role{font-size:10px;color:var(--muted);margin-top:4px}.main{grid-column:2;min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;background:#fff;border-bottom:1px solid var(--line);gap:20px}.breadcrumb{font-size:12px;color:#8b9591;display:flex;gap:12px;align-items:center}.breadcrumb strong{font-weight:500;color:#4b5d56}.search{position:relative;max-width:330px;flex:1}.search input{background:#f7f8f8;border-color:transparent;font-size:12px;padding:10px 12px 10px 36px}.search .icon{position:absolute;left:11px;top:10px;width:16px}.top-actions{display:flex;align-items:center;gap:14px}.date-label{font-size:12px;color:#6f7d75}.content{max-width:1480px;margin:auto;padding:34px 38px 48px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-heading .muted{margin-bottom:0}.heading-actions,.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:25px}.kpi{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px;text-align:left;min-height:126px;font-weight:400;position:relative;overflow:hidden}.kpi .icon{position:absolute;right:19px;top:20px;color:#9aa8a1}.kpi-label{font-size:12px;color:#7c8981;display:block}.kpi-value{font-size:33px;letter-spacing:-1px;display:block;font-weight:600;margin:11px 0 7px}.kpi-caption{font-size:10px;color:#86958a}.kpi.alert .kpi-value{color:var(--amber)}.panel{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:21px 23px;border-bottom:1px solid #edf0ee}.panel-body{padding:23px}.panel-head .muted{font-size:11px;margin-top:6px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:23px}.stack{display:flex;flex-direction:column;gap:22px}.empty{text-align:center;padding:44px 22px;color:#8b9590}.empty .empty-icon{display:grid;place-items:center;margin:0 auto 18px;width:48px;height:48px;border-radius:14px;background:#f2f5f3;color:#7a9082}.empty h3{color:#4c6155;font-weight:600;font-size:14px}.empty p{font-size:12px;max-width:350px;margin:0 auto 19px}.empty.compact{padding:29px 20px}.note{border:1px solid #dfe8e3;background:#f4f7f5;border-radius:10px;padding:17px 19px;font-size:12px;line-height:1.7;color:#5f7468}.note.warning{background:#fcf8ef;border-color:#ede3cc;color:#866d3c}.note.error{background:#fdf2f0;border-color:#efd4ce;color:#9c4f45}.note strong{color:inherit}.overview-footer{margin-top:24px;display:flex;justify-content:space-between;color:#96a099;font-size:10px}.filters{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:21px;flex-wrap:wrap}.segments,.tabs{display:flex;gap:3px;flex-wrap:wrap}.segments{padding:4px;background:#eaeedc00;border:1px solid var(--line);border-radius:9px}.segments button{border:0;background:transparent;padding:8px 13px;color:#7d8982;font-weight:500;font-size:12px}.segments button.active{background:white;box-shadow:0 1px 4px #20372a12;color:#263d30}.tabs{border-bottom:1px solid var(--line);margin-bottom:25px;gap:24px;overflow:auto;flex-wrap:nowrap}.tabs button{border:0;border-radius:0;padding:14px 0;background:none;color:#899288;font-weight:500;white-space:nowrap}.tabs button.active{color:#264d39;box-shadow:inset 0 -2px #365e46}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.project-card{background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:box-shadow .2s}.project-card:hover{box-shadow:0 5px 22px #324a3a09}.project-card-main{display:block;padding:21px}.project-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px}.badge{display:inline-flex;align-items:center;gap:6px;border-radius:5px;background:#eef2ef;color:#647969;font-size:10px;line-height:1.4;padding:4px 8px;font-weight:500}.badge:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.badge.red{color:#a35e4f;background:#faeee8}.badge.amber{color:#9a7a3d;background:#fbf4e7}.badge.green{color:#4b7b5c;background:#edf5ed}.badge.blue{color:#5e7a8b;background:#eef3f6}.project-title{font-size:16px;line-height:1.4;font-weight:600;min-height:44px;margin-bottom:7px}.project-card .muted{font-size:11px}.progress{height:5px;background:#eef1ee;border-radius:3px;overflow:hidden;margin:11px 0 17px;display:flex}.progress-fill{height:100%;background:#6b8d77}.progress-label{display:flex;justify-content:space-between;font-size:10px;color:#8b968d;margin-top:19px}.project-card-footer{border-top:1px solid #edf0ec;padding:13px 21px;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7d8c7f}.rows>.row{border-bottom:1px solid #eef1ec}.rows>.row:last-child{border-bottom:0}.row{display:flex;align-items:center;gap:14px;padding:15px 22px;min-width:0}.row-main{flex:1;min-width:0}.row-title{font-size:13px;line-height:1.5;font-weight:550;overflow-wrap:anywhere}.row-sub{font-size:11px;color:#8a958b;margin-top:4px;line-height:1.5}.row-link:hover .row-title{color:#447556}.status-dot{width:9px;height:9px;border:2px solid #9fb0a0;border-radius:50%;flex:none}.status-dot.doing{background:#a4b9c3;border-color:#a4b9c3}.status-dot.blocked{background:#c3916e;border-color:#c3916e}.status-dot.done{background:#6c9375;border-color:#6c9375}.kanban{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.kanban-col{background:#edf0ed;border-radius:10px;padding:13px;min-height:310px}.kanban-head{font-size:12px;font-weight:600;color:#71836f;display:flex;justify-content:space-between;margin-bottom:16px}.task-card{border:1px solid #e2e7e1;border-radius:8px;background:white;padding:16px;margin-bottom:11px;cursor:pointer}.task-card h3{line-height:1.5;font-weight:550}.task-meta{display:flex;justify-content:space-between;gap:8px;margin-top:19px;color:#8b9689;font-size:10px}.detail-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:22px}.definition{display:grid;grid-template-columns:140px 1fr;gap:17px;font-size:13px;line-height:1.6}.definition dt{color:#899186}.definition dd{margin:0;overflow-wrap:anywhere}.timeline-row{display:grid;grid-template-columns:minmax(180px,1.3fr) 1fr 1fr minmax(160px,1fr);gap:18px;align-items:center;padding:17px 22px;border-bottom:1px solid var(--line);font-size:12px}.timeline-row.header{background:#f9faf8;font-size:10px;color:#8b9587;text-transform:uppercase;letter-spacing:.6px}.timeline-row:last-child{border:0}.timeline-track{height:7px;display:flex;border-radius:4px;background:#edf0e8;overflow:hidden}.timeline-track span{background:#87a38a;min-width:4px}.timeline-note{margin-top:6px;font-size:10px;color:#a08560}.table-scroll{overflow:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;font-weight:500;color:#8c9789;font-size:10px;letter-spacing:.5px;text-transform:uppercase;background:#fafbf9}td,th{padding:16px 20px;border-bottom:1px solid var(--line);white-space:nowrap}td:first-child{white-space:normal;min-width:160px}tr:last-child td{border-bottom:0}.right{text-align:right}.money-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-bottom:22px}.money-kpis .kpi-value{font-size:24px}.finance-section{margin-top:23px}.login-wrap{display:grid;grid-template-columns:1fr 1fr;min-height:100vh;background:white}.login-aside{padding:52px 60px;background:#eaf0ec;display:flex;flex-direction:column;justify-content:space-between;position:relative;overflow:hidden}.login-aside .brand{margin:0}.login-aside:after{content:'';width:520px;height:520px;border:1px solid #d0ddd4;border-radius:50%;position:absolute;bottom:-230px;right:-190px;box-shadow:0 0 0 65px #dce6df77,0 0 0 130px #dce6df44}.login-copy{max-width:420px;position:relative;z-index:1;margin:100px 0}.login-copy h1{font-size:44px;line-height:1.15;font-weight:550;letter-spacing:-1.7px}.login-copy p{font-size:15px;color:#748779;margin-top:24px}.login-points{display:flex;gap:26px;font-size:10px;color:#67816d}.login-main{display:flex;align-items:center;justify-content:center;padding:38px}.login-form{width:100%;max-width:380px}.login-form h2{font-size:24px;letter-spacing:-.7px;margin-bottom:10px}.login-form>.muted{line-height:1.6;margin-bottom:30px}.field{display:block;margin-bottom:18px}.field>span{display:block;font-size:12px;color:#62715f;margin-bottom:7px}.field .muted{font-size:10px;margin-top:6px;display:block}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}.full{grid-column:1/-1}.check{display:flex;align-items:flex-start;gap:10px;font-size:12px;line-height:1.7;margin-bottom:18px}.check input{flex:none;margin-top:3px}.form-error{color:var(--red);font-size:12px;line-height:1.6;min-height:16px;margin-bottom:12px}.form-buttons{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding-top:20px;margin-top:7px}.login-form .primary{width:100%;padding:13px}.loading{padding:80px;text-align:center;color:#7c8d7d}.mobile-menu{display:none}.offline{padding:12px 20px;background:#fcf2da;color:#826f45;font-size:12px}.import-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.source-text{white-space:pre-wrap;font-size:12px;line-height:1.8;max-height:480px;overflow:auto;background:#f8f9f6;border:1px solid var(--line);padding:18px;border-radius:8px;overflow-wrap:anywhere}.source-field{padding:14px 0;border-bottom:1px solid var(--line)}.source-field .row-sub{line-height:1.8}.activity{position:relative;padding:17px 0 17px 24px;border-left:1px solid var(--line);margin-left:6px}.activity:before{content:'';position:absolute;left:-4px;top:23px;width:7px;height:7px;border-radius:50%;background:#b9c8b8}.activity details{margin-top:10px;font-size:11px;color:#7a8975}.activity pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.status-notice{padding:13px 19px;background:#f7f9f5;border-bottom:1px solid var(--line);font-size:11px;color:#809078}.bars{display:flex;align-items:center;gap:12px;margin:20px 0}.bars label{width:90px;font-size:11px;color:#87947f}.bars progress{flex:1;min-width:0;height:9px;accent-color:#7b9b7e}.bars strong{font-size:12px;color:#687e62;min-width:24px}.toolbar{margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:12px}.toolbar input,.toolbar select{max-width:240px}.file-link{color:#57785c;font-weight:600}.file-link:hover{text-decoration:underline}dialog{border:1px solid var(--line);border-radius:15px;box-shadow:0 24px 100px #22391c33;width:min(650px,calc(100vw - 30px));padding:0;max-height:90vh;color:#273e25}dialog::backdrop{background:#1f311f55;backdrop-filter:blur(3px)}.modal-head{display:flex;align-items:center;justify-content:space-between;padding:22px 27px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:19px}.modal-content{padding:25px 27px}#toast{position:fixed;right:25px;bottom:24px;padding:14px 22px;border-radius:10px;background:#263e2d;color:white;font-size:13px;box-shadow:0 5px 24px #263e2d33;z-index:100;max-width:calc(100vw - 40px);display:none}#toast.visible{display:block}#toast.error{background:#934d42}.full-width{width:100%}.nowrap{white-space:nowrap}
@media(min-width:1600px){.content{padding-top:42px}.dashboard-grid{gap:28px}.kpi{min-height:143px;padding:24px}.panel-head{padding:25px}}
@media(max-width:1200px){.sidebar{width:195px}.shell{grid-template-columns:195px minmax(0,1fr)}.topbar{padding:0 25px}.content{padding:28px 25px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:17px}.date-label{display:none}.kanban{gap:10px}.kanban-col{padding:10px}.definition{grid-template-columns:100px 1fr}}
@media(max-width:900px){.kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid,.detail-grid,.import-grid{grid-template-columns:1fr}.kanban{grid-template-columns:repeat(2,minmax(0,1fr))}.login-aside{padding:40px}.login-copy h1{font-size:34px}.money-kpis{grid-template-columns:repeat(2,1fr)}.timeline-row{grid-template-columns:1.3fr 1fr 1fr}.timeline-row>:last-child{display:none}.topbar{gap:10px}.breadcrumb{display:none}}
@media(max-width:680px){.shell{display:block}.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px;box-shadow:8px 0 35px #21321b19}.sidebar.open{transform:translateX(0)}.sidebar .mobile-menu{position:absolute;right:12px;top:26px}.main{width:100%}.mobile-menu{display:inline-flex;padding:8px}.topbar{height:65px;padding:0 18px;position:sticky;top:0;z-index:10}.content{padding:26px 18px 40px}.search{max-width:none}.top-actions{gap:5px}.top-actions .avatar{display:none}.page-heading{align-items:flex-start;margin-bottom:23px;gap:12px;flex-wrap:wrap}h1{font-size:27px}.heading-actions button{padding:9px 12px;font-size:12px}.kpis{gap:10px;margin-bottom:18px}.kpi{padding:16px;min-height:123px}.kpi-label{font-size:11px;max-width:120px}.kpi-value{font-size:29px}.kpi .icon{right:13px;top:16px;width:16px;opacity:.65}.kpi-caption{font-size:9px}.project-grid{grid-template-columns:1fr}.panel-head{padding:18px}.panel-body{padding:18px}.row{padding:15px 18px;gap:10px}.row .badge{max-width:110px}.row-title{font-size:12px}.tabs{gap:22px}.tabs button{font-size:12px}.form-grid{grid-template-columns:1fr}.login-wrap{display:block;background:#f3f6f1;min-height:100vh}.login-aside{padding:27px 28px 14px;background:none}.login-aside:after,.login-copy,.login-points,.login-aside>.eyebrow{display:none}.login-main{padding:20px}.login-form{background:white;border:1px solid var(--line);border-radius:14px;padding:28px 22px;max-width:450px}.login-form h2{font-size:23px}.money-kpis{grid-template-columns:1fr 1fr}.money-kpis .kpi-value{font-size:21px}.timeline-row{grid-template-columns:1.3fr 1fr;gap:14px;padding:15px;font-size:11px}.timeline-row>:nth-child(3){display:none}.kanban{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:15px}.kanban-col{min-width:260px;scroll-snap-align:start;min-height:360px}.overview-footer{gap:20px;line-height:1.5}.definition{grid-template-columns:95px 1fr;font-size:12px}.modal-head{padding:19px}.modal-content{padding:20px}.toolbar{flex-wrap:wrap}.heading-actions{width:100%}.form-buttons{position:sticky;bottom:-20px;background:#fff;padding-bottom:10px}.note{font-size:11px}.project-title{min-height:auto}.search input{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
@media(max-width:680px){.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}

/* Temporary themes; replace with approved RusGaz brand materials when provided. */
:root{--accent:#287cc7;--accent-strong:#245c99;--accent-soft:#e8f2fd;--nav-start:#162f4e;--nav-end:#11243b;--hero-start:#214e7e;--hero-end:#197d90;--chart:#2cae9d;--surface:#fff;--ink:#223c57;--muted:#71849a;--line:#e2eaf2;background:#edf2f8;color:#253b52}
:root[data-theme=graphite]{--accent:#56677d;--accent-strong:#3f5367;--accent-soft:#edf0f4;--nav-start:#263241;--nav-end:#1b2531;--hero-start:#364d64;--hero-end:#5c727f;--chart:#74958d}
:root[data-theme=mint]{--accent:#258e7c;--accent-strong:#197464;--accent-soft:#e6f5f0;--nav-start:#143e36;--nav-end:#102d2a;--hero-start:#226353;--hero-end:#2a9890;--chart:#3ca683}
body{background:radial-gradient(ellipse at 85% 0%,#ddeaf766,transparent 55%),#edf2f8;color:#253b52}.sidebar{background:linear-gradient(165deg,var(--nav-start),var(--nav-end));border-right:0;color:#fff;box-shadow:4px 0 24px #1736560c}.brand{color:#fff;font-weight:750;font-size:29px;letter-spacing:-1px}.brand-sub{color:#96b1ce}.nav-label{color:#86a1be}.nav-link{color:#b4c8dd;font-size:13px}.nav-link:hover{background:#ffffff0c;color:#fff}.nav-link.active{background:#ffffff16;color:#fff;box-shadow:inset 3px 0 #61c7d5}.nav-link.active .icon{color:#79d4d9}.nav-count{background:#ffffff1c;color:#c5e9f4}.sidebar-bottom{border-color:#ffffff17}.sidebar .avatar{background:#ffffff18;color:#d1e9f5}.profile-role{color:#98b3ca}.sidebar button{color:#aac4db}.sidebar button:hover{background:#ffffff0b}.topbar{background:#ffffffde;border-color:#dfe8f1;backdrop-filter:blur(12px)}.breadcrumb{color:#8da0b4}.breadcrumb strong{color:#4c6985}.search input{background:#edf3f9;border-color:#e5edf5}.primary{background:var(--accent-strong);border-color:var(--accent-strong)}.primary:hover{background:var(--accent)}button{color:var(--ink);border-color:#dbe5ef}.primary{color:white}.panel{border-color:#e0e8f1;box-shadow:0 3px 14px #254d7804}.panel-head{border-color:#e9eff5}.panel-head h2{display:flex;align-items:center;gap:10px;color:#294560}.panel-head h2>.icon{color:var(--accent);width:18px}.row{border-color:#eaf0f6!important}.row-title{color:#314e69}.row-sub{color:#8092a6}.empty{color:#8396a9}.empty h3{color:#4c6783}.empty .empty-icon{background:var(--accent-soft);color:var(--accent)}.note{background:#e9f2fa;border-color:#d7e6f4;color:#59738d}.note.warning{background:#fff7e8;border-color:#f2e0bb;color:#977239}.note.error{background:#fff0ee;border-color:#f1d3ce;color:#a2574d}.tabs button.active{color:var(--accent-strong);box-shadow:inset 0 -2px var(--accent)}.segments{background:#e3eaf3;border-color:#dce6f0}.segments button{color:#6d8499}.segments button.active{color:var(--accent-strong)}.project-card{border-color:#dce7f1;box-shadow:0 5px 20px #31567906}.project-card-main{border-top:3px solid var(--accent)}.project-card:hover{box-shadow:0 8px 28px #25476e13}.progress{background:#e8eff6}.progress-fill{background:linear-gradient(90deg,var(--accent),var(--chart))}.badge{color:#607994;background:#edf2f7}.badge.green{color:#268a74;background:#e5f5ef}.badge.blue{color:#357ebd;background:#e8f2fd}.badge.red{color:#bf6265;background:#ffedef}.badge.amber{color:#a47935;background:#fff5df}.kanban-col{background:#e5edf6;border:1px solid #dce6f1}.kanban-head{color:#597794}.kanban-col:nth-child(2){background:#e5f1fc}.kanban-col:nth-child(3){background:#fcf2e1}.kanban-col:nth-child(4){background:#e5f3ee}.task-card{border-color:#d9e5f0;box-shadow:0 3px 12px #264a7508}.field>span{color:#627b92}.field input,.field select,.field textarea{border-color:#d9e4ed}.login-aside{background:linear-gradient(135deg,var(--nav-start),var(--hero-end));color:white}.login-copy .eyebrow{color:#8ed1da}.login-copy p{color:#c2d9e8}.login-points{color:#a9cfdd}.login-aside>.eyebrow{color:#b3d2df}.login-aside:after{border-color:#ffffff12;box-shadow:0 0 0 65px #ffffff06,0 0 0 130px #ffffff04}.login-form>.muted{color:#75889c}.sidebar .mobile-menu{color:#fff}.content{padding-top:28px}.dashboard-hero{position:relative;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:29px 31px;margin-bottom:23px;background:linear-gradient(115deg,var(--hero-start),var(--hero-end));border:1px solid #ffffff1a;border-radius:15px;color:white;overflow:hidden;box-shadow:0 7px 22px #1e507b17}.hero-copy,.hero-actions{position:relative;z-index:1}.hero-copy .eyebrow{color:#a8d6ee;font-size:9px;letter-spacing:1.7px;margin-bottom:10px}.hero-copy h1{font-size:30px;letter-spacing:-.7px;color:#fff;font-weight:600;margin-bottom:9px}.hero-copy p{font-size:12px;color:#c7ddeb;margin:0 0 16px}.hero-status{font-size:10px;color:#a5d1e3;display:flex;align-items:center;gap:7px}.live-dot{width:6px;height:6px;background:#86dfcb;border-radius:50%;box-shadow:0 0 0 3px #ffffff10}.hero-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end;min-width:190px}.hero-secondary{background:#ffffff0e;border-color:#ffffff33;color:#d8edf9}.hero-secondary:hover{background:#ffffff20}.hero-primary{background:#fff;border-color:#fff;color:#275b80;box-shadow:0 3px 10px #17395111}.hero-primary:hover{background:#e7f5ff}.hero-decoration{position:absolute;right:2%;top:-110px;width:360px;height:360px;border:1px solid #ffffff10;border-radius:50%;box-shadow:0 0 0 45px #ffffff05,0 0 0 90px #ffffff04;pointer-events:none}.rich-kpis{gap:17px}.rich-kpis .kpi{min-height:139px;border:1px solid #dce8f3;border-radius:12px;padding:21px;background:white;box-shadow:0 3px 14px #244a6b05}.rich-kpis .kpi:before{content:'';height:3px;position:absolute;top:0;left:0;right:0;background:var(--tile-color)}.rich-kpis .kpi .icon{width:34px;height:34px;top:17px;right:16px;padding:8px;border-radius:10px;color:var(--tile-color);background:var(--tile-soft)}.rich-kpis .kpi-label{font-size:11px;color:#6c849c;max-width:155px;padding-right:17px}.rich-kpis .kpi-value{font-size:35px;color:var(--tile-color);margin:12px 0 7px}.rich-kpis .kpi-caption{color:#7d93aa;font-size:10px}.tone-blue{--tile-color:#3183c9;--tile-soft:#e7f3fe}.tone-amber{--tile-color:#cc9635;--tile-soft:#fff4dc}.tone-rose{--tile-color:#cc737e;--tile-soft:#ffedf0}.tone-violet{--tile-color:#8874c5;--tile-soft:#f2edff}.onboarding-strip{display:grid;grid-template-columns:1fr repeat(3,1.1fr);align-items:center;gap:14px;padding:18px 21px;margin:0 0 24px;background:#fff;border:1px solid #dce7f1;border-radius:12px}.onboarding-strip h2{font-size:14px;margin-top:7px;color:#3b5772}.onboarding-strip .eyebrow{font-size:9px;color:#91a2b6}.onboarding-step{display:flex;align-items:center;text-align:left;gap:10px;padding:10px;border:0;background:#f3f7fc;min-height:75px}.onboarding-step:hover{background:#eaf3fd}.onboarding-step .step-icon{display:grid;place-items:center;width:31px;height:31px;border-radius:9px;color:var(--accent);background:#e4effa;flex:none}.onboarding-step strong{display:block;font-size:11px;color:#496581}.onboarding-step small{display:block;margin-top:5px;font-size:9px;line-height:1.5;font-weight:400;color:#8a9db1}.onboarding-step>.icon{margin-left:auto;width:14px;color:#a0b2c3}.onboarding-step.complete .step-icon{background:#e4f5ef;color:#36977c}.dashboard-primary{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr)}.dashboard-bottom{display:grid;grid-template-columns:1fr 1.15fr;gap:23px;margin-top:23px}.project-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#e9f2fc;color:#4b91cb;flex:none}.project-symbol.construction{background:#e6f3ee;color:#4a9b89}.project-focus-row{gap:12px;padding-top:18px;padding-bottom:18px}.project-focus-row>.icon{width:16px;color:#9ab0c4}.compact-progress{height:4px;margin:10px 0 0;max-width:270px}.focus-status{text-align:right;display:flex;flex-direction:column;gap:7px;align-items:flex-end;flex:none}.focus-status strong{color:#496c88;font-size:13px}.focus-status .badge{font-size:9px}.distribution-body{display:flex;align-items:center;justify-content:center;gap:13px;padding:24px 17px 16px}.donut{position:relative;width:156px;height:156px;flex:none}.donut svg{width:100%;height:100%}.donut-center{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;pointer-events:none}.donut-center strong{font-size:28px;font-weight:650;letter-spacing:-1px;color:#395976}.donut-center small{font-size:10px;color:#9aabbb;margin-top:3px}.chart-legend{flex:1;min-width:0;max-width:240px}.chart-legend button{display:flex;align-items:center;gap:8px;width:100%;padding:9px 5px;font-size:10px;border:0;background:none;font-weight:400;color:#6b8197;text-align:left}.chart-legend button:hover{background:#f2f6fb}.chart-legend strong{margin-left:auto;color:#4b6680;font-size:12px}.legend-dot{width:7px;height:7px;border-radius:3px;flex:none;background:#7b8ba5}.legend-dot.doing{background:#3189db}.legend-dot.blocked{background:#e6a544}.legend-dot.done{background:#23ab99}.chart-caption{padding:0 22px 19px;font-size:10px;color:#97a8bb;line-height:1.6;text-align:center}.attention-icon{color:#c39a49;background:#fff6e4;width:31px;height:31px;border-radius:9px;display:grid;place-items:center;flex:none}.attention-icon.red{color:#ca7380;background:#fff0f2}.attention-icon .icon{width:15px}.workload-row{display:flex;align-items:center;gap:12px;width:100%;border:0;padding:12px 0;background:none;text-align:left;font-size:12px;font-weight:500;color:#5a7592}.workload-row:hover{background:#f5f8fc}.workload-row .avatar{background:#e9f1fb;color:#6488b0}.workload-detail{flex:1;min-width:0}.workload-detail strong{font-size:11px;color:#627d98;font-weight:500}.workload-row .progress{margin:8px 0 0;height:5px}.workload-row>.icon{width:14px;color:#a2b4c5}.direction-summary{display:grid;grid-template-columns:1fr 1fr;gap:14px;padding:22px}.direction-tile{text-align:left;background:linear-gradient(140deg,#f4f9ff,#eaf3fc);border-color:#dceaf8;padding:19px;position:relative;overflow:hidden}.direction-tile:hover{background:#e7f1fd}.direction-tile.construction{background:linear-gradient(140deg,#f1faf7,#e8f5f0);border-color:#dceee7}.direction-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:9px;color:#4f8bc5;background:#e1edfa;margin-bottom:15px}.direction-tile.construction .direction-icon{color:#489c85;background:#dcf0e7}.direction-tile h3{font-size:12px;color:#6082a2;font-weight:550}.direction-tile.construction h3{color:#5e8b7e}.direction-number{font-size:31px;line-height:1;color:#3f739f;letter-spacing:-1px;margin:17px 0 12px}.direction-tile.construction .direction-number{color:#458a75}.direction-number small{font-size:11px;letter-spacing:0;margin-left:8px;color:#8aa2b9;font-weight:400}.direction-tile .row-sub{font-size:9px;font-weight:400;line-height:1.6}.direction-link{display:flex;align-items:center;justify-content:space-between;font-size:10px;font-weight:500;color:#6b93b6;margin-top:19px}.direction-link .icon{width:14px}.active-filter{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.overview-footer{color:#8ba0b6}.file-link{color:var(--accent-strong)}.money-kpis .kpi{border-top:3px solid var(--accent);background:linear-gradient(140deg,#fff,#f5f9fe)}.money-kpis .kpi-value{color:var(--accent-strong)}.money-kpis .kpi .icon{color:#98b7d1}.definition dt{color:#8b9db0}.definition dd{color:#4b6680}.avatar{background:#e8f0fa;color:#688cb1}.top-actions .subtle{color:#6b86a3}#toast{background:var(--nav-start)}.login-main .primary{color:white}.onboarding-step:active,.direction-tile:active,.chart-legend button:active{transform:none}
@media(max-width:1200px){.hero-copy h1{font-size:28px}.hero-actions{flex-direction:column;align-items:stretch}.dashboard-hero{padding:25px}.onboarding-strip{grid-template-columns:1fr 1fr}.onboarding-strip>div{min-height:65px;padding:8px}.distribution-body{gap:5px}.donut{width:130px;height:130px}.dashboard-primary{grid-template-columns:minmax(0,1.35fr) minmax(280px,1fr)}.direction-summary{padding:16px;gap:10px}.direction-tile{padding:15px}}
@media(max-width:1000px){.dashboard-primary{grid-template-columns:1fr}.dashboard-primary>.stack:last-child{display:grid;grid-template-columns:1fr 1fr;align-items:start;gap:18px}.dashboard-bottom{grid-template-columns:1fr}.distribution-body{padding:18px 8px;gap:0}.donut{width:125px;height:125px}.chart-legend button{font-size:9px;padding:9px 3px}.panel-head h2{font-size:15px}.dashboard-hero{gap:15px}}
@media(max-width:680px){body{background:#edf2f8}.sidebar .brand{color:white}.topbar{background:#ffffffed}.content{padding-top:19px}.dashboard-hero{padding:23px 20px;margin-bottom:17px;display:block;border-radius:12px}.hero-copy h1{font-size:25px}.hero-copy p{font-size:11px;line-height:1.6;margin-bottom:14px;max-width:260px}.hero-copy .eyebrow{font-size:8px;letter-spacing:1.4px}.hero-status{font-size:9px;line-height:1.6;align-items:flex-start}.hero-status .live-dot{margin-top:4px;flex:none}.hero-actions{flex-direction:row;justify-content:flex-start;margin-top:19px;gap:8px}.hero-actions button{font-size:11px;padding:9px 11px}.hero-actions .icon{width:15px}.hero-decoration{width:260px;height:260px;right:-90px;top:-90px}.rich-kpis{gap:11px}.rich-kpis .kpi{padding:17px 14px;min-height:139px}.rich-kpis .kpi-label{font-size:10px;max-width:110px;padding-right:18px;line-height:1.5;min-height:30px}.rich-kpis .kpi .icon{width:27px;height:27px;padding:6px;top:15px;right:11px}.rich-kpis .kpi-value{font-size:31px;margin:8px 0}.rich-kpis .kpi-caption{font-size:9px;line-height:1.6;display:block}.onboarding-strip{grid-template-columns:1fr;padding:18px;gap:10px;margin-bottom:19px}.onboarding-strip>div{min-height:0;padding:0 0 5px}.onboarding-step{min-height:62px;padding:11px}.onboarding-step strong{font-size:11px}.onboarding-step small{font-size:10px}.dashboard-primary>.stack:last-child{display:flex;flex-direction:column}.dashboard-primary>.stack:last-child>.panel{width:100%}.dashboard-bottom{gap:19px;margin-top:19px}.distribution-body{padding:19px 20px;gap:18px}.donut{width:145px;height:145px}.chart-legend button{font-size:10px;gap:6px}.chart-legend strong{font-size:12px}.panel-head h2{font-size:15px}.panel-head h2>.icon{width:16px}.panel-head{gap:9px}.panel-head>.badge{font-size:9px}.project-focus-row{padding:16px 14px;gap:10px}.project-symbol{width:31px;height:31px}.project-symbol .icon{width:17px}.project-focus-row .row-title{font-size:12px}.project-focus-row .row-sub{font-size:10px}.project-focus-row>.icon{display:none}.focus-status{max-width:80px}.focus-status .badge{font-size:8px}.direction-summary{padding:15px;gap:10px}.direction-tile{padding:13px}.direction-tile h3{font-size:10px}.direction-number{font-size:29px}.direction-number small{font-size:9px;margin-left:5px}.direction-link{font-size:9px;gap:5px}.direction-tile .row-sub{font-size:9px}.direction-icon{margin-bottom:12px}.login-aside{background:linear-gradient(125deg,var(--nav-start),var(--hero-end));padding:25px 26px;margin-bottom:5px}.login-aside .brand{font-size:28px}.login-wrap{background:#edf3fa}.sidebar{visibility:hidden}.sidebar.open{visibility:visible}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
.sync-notice{padding:12px 30px;background:#fff2cc;color:#68521c;border-bottom:1px solid #ead293;font-size:12px;line-height:1.6}.conflict-latest{margin-top:16px;padding:16px;background:#f4f8fc;border:1px solid #cadced;border-radius:8px;color:#405d78}.conflict-latest h3{margin-bottom:14px}.form-error>button{margin-top:12px}.conflict-latest dd{overflow-wrap:anywhere}
.contract-timing-form{margin:22px 0;padding-top:18px;border-top:1px solid var(--line)}.contract-timing-form h3{margin:14px 0}.contract-timing-form .check{margin:15px 0;align-items:flex-start}.contract-stage{border:1px solid #d9e5f0;border-radius:9px;padding:14px;margin:15px 0;min-width:0}.contract-stage legend{padding:0 7px;color:var(--accent-strong);font-weight:600}.contract-stage .form-grid{margin-top:5px}.contract-date-rows{display:grid;gap:10px;margin:18px 0}.contract-date-row{padding:14px;background:var(--accent-soft);border-left:3px solid var(--accent);border-radius:7px;display:grid;gap:8px}.contract-date-row span{font-size:14px;color:var(--accent-strong);font-weight:600}.contract-date-row small{color:#627b92}
.test-environment{padding:13px 20px;background:#ffdb70;color:#392907;border-bottom:2px solid #bd8421;font-weight:700;line-height:1.6;font-size:13px}.test-environment a{color:#252a57;text-decoration:underline}
:root:not([data-theme]),:root[data-theme=ocean]{--accent:#3570b2;--accent-strong:#2c3267;--accent-soft:#eaf1f9;--nav-start:#2c3267;--nav-end:#252a57;--hero-start:#2c3267;--hero-end:#3570b2;--chart:#94bde3}
.brand-link{display:flex;align-items:center;justify-content:center;width:174px;max-width:100%;padding:7px 13px;background:#fff;border-radius:10px;line-height:0;letter-spacing:0}.brand-link img{display:block;width:148px;max-width:100%;height:auto;object-fit:contain}.sidebar .brand-sub{margin-top:13px}.brand-link:focus-visible{outline:3px solid #ffe5ae;outline-offset:4px}:root[data-theme=ocean] .nav-link.active{box-shadow:inset 3px 0 #ffe5ae}:root[data-theme=ocean] .nav-link.active .icon{color:#ffe5ae}:root[data-theme=ocean] .tone-blue{--tile-color:#3570b2}:root[data-theme=ocean] .hero-primary{color:#2c3267}:root[data-theme=ocean] .live-dot{background:#ffe5ae}.login-aside .brand-link{width:218px;padding:10px 18px}.login-aside .brand-link img{width:182px}
.source-value{font-size:13px;line-height:1.7;font-weight:550;color:#3f607e;margin:9px 0}.source-quote{padding:12px 14px;border-left:3px solid #c5dbed;background:#f2f7fc;font-size:11px;line-height:1.8;margin:10px 0;color:#6d8296;overflow-wrap:anywhere}.candidate-list{display:grid;gap:10px;margin-top:12px}.candidate-list>div{padding:12px;background:#fff9ec;border:1px solid #efdfb7;border-radius:8px}.candidate-list p{font-size:12px;margin:6px 0 10px}.extraction-group{border:1px solid #e1eaf2;border-radius:8px;padding:13px 14px;margin:10px 0}.extraction-group>summary{font-size:12px;color:#55738f;cursor:pointer;line-height:1.7}.evidence-item{border-top:1px solid #e6edf4;padding-top:13px;margin-top:13px}.evidence-item>p{font-size:12px;line-height:1.9;color:#587189;overflow-wrap:anywhere;margin:8px 0}.review-card{align-self:start}.review-card .form-grid{margin-top:20px}.source-field details>summary{cursor:pointer}.field>label>span{display:block;font-size:12px;color:#627b92;margin-bottom:7px}.password-control{display:flex;align-items:stretch;gap:7px}.password-control input{flex:1;min-width:0}.password-toggle{flex:none;font-size:10px;font-weight:500;padding:8px 10px;white-space:nowrap;background:#f1f6fc}.password-toggle[aria-pressed=true]{background:#e5effa;color:#386c9e}.field .password-control{width:100%}@media(max-width:680px){.password-toggle{font-size:9px;padding:8px}.import-grid .panel-head{flex-wrap:wrap}.candidate-list p{font-size:11px}.row:has([data-action=delete-draft]){flex-wrap:wrap}.row:has([data-action=delete-draft])>.row-main{flex-basis:100%}}
[hidden]{display:none!important}
/* Task planning and participant selection. */
.task-assignees{border:1px solid var(--border,#d9e0e8);border-radius:10px;padding:12px;max-height:240px;overflow:auto;min-width:0}.task-assignees legend{font-weight:600;padding:0 5px}.task-assignees .check{margin:6px 0}.task-plan-modal{width:min(1000px,96vw);max-width:1000px}.plan-template-row{border:1px solid var(--border,#d9e0e8);border-radius:10px;padding:14px;margin:12px 0}.plan-row-fields{margin-top:12px}.plan-row-fields[hidden]{display:none}.plan-row-fields>.task-assignees{margin:12px 0}
.sidebar{overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.sidebar>*{flex-shrink:0}.row:has([data-action=delete-task]){flex-wrap:wrap}.row:has([data-action=delete-task])>.row-main{min-width:180px;flex:1}
@media(max-height:800px){.sidebar{padding-top:16px;padding-bottom:12px}.sidebar .brand-sub{margin-bottom:14px}.sidebar .nav-link{padding-top:9px;padding-bottom:9px}.sidebar .nav-label{margin-top:14px}}
.sidebar{overflow-x:hidden}.sidebar .brand-link{margin-left:auto;margin-right:auto}.sidebar .profile>div:last-child{min-width:0}.sidebar .profile-name{max-width:100%}.plan-settings{padding:12px;margin-bottom:14px}.plan-settings>summary{cursor:pointer;font-weight:600;line-height:1.6}.plan-settings[open]>summary{margin-bottom:12px}
.approval-projects{display:grid;gap:24px}.approval-project .panel-head{align-items:flex-start;flex-wrap:wrap;gap:12px}.approval-project-heading{flex:1;min-width:0}.approval-project-heading h2{overflow-wrap:anywhere;margin-bottom:7px}.approval-project .row{flex-wrap:wrap;gap:12px}.approval-project .row-main{flex:1;min-width:min(220px,100%);overflow-wrap:anywhere}.approval-project .badge{max-width:100%;white-space:normal}
#expense-category-settings .panel-head{flex-wrap:wrap;gap:12px}#expense-category-settings .row{flex-wrap:wrap;gap:10px}#expense-category-settings .row-main{min-width:min(180px,100%);overflow-wrap:anywhere}
:root{--design-progress:#505c9f}
.design-summary{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-bottom:22px}.design-total{font-size:58px;line-height:1.2;font-weight:700;color:var(--ink);margin:12px 0}.design-order{border-left:1px solid var(--line);padding-left:26px}.design-order p{margin:12px 0}.design-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.design-card{display:flex;flex-direction:column;gap:10px;text-align:left;padding:18px;min-width:0;background:var(--surface,#fff);font-weight:400;border:1px solid var(--line);border-radius:12px}.design-card:hover{border-color:#7987bd;background:#f7f8fc}.design-card-head,.design-card-foot{display:flex;justify-content:space-between;gap:12px;align-items:center}.design-card-head strong{font-size:18px;overflow-wrap:anywhere}.design-percent{font-size:23px;font-weight:650;color:var(--ink)}.design-card-title{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.design-card-foot{font-size:12px;flex-wrap:wrap}.design-progress{height:9px;margin:6px 0;width:100%;background:#eef0f8}.design-progress .progress-fill{background:var(--design-progress);transition:width .5s ease}.design-progress.accepted .progress-fill{background:#348568}.design-card.design-risk{border-left:4px solid #d98b32}.design-card .badge{align-self:flex-start}.design-group-title{margin:24px 0 12px}.design-editor-row{padding:14px;border:1px solid var(--line);border-radius:10px;margin:12px 0}.design-editor-row summary{font-weight:600;margin-bottom:12px;overflow-wrap:anywhere}#design-editor-rows{max-height:65vh;overflow:auto}#design-setup[hidden]{display:none}.design-card .row-sub{white-space:normal;overflow-wrap:anywhere}
@media(max-width:640px){.design-summary{grid-template-columns:1fr;gap:16px}.design-order{border-left:0;border-top:1px solid var(--line);padding:16px 0 0}.design-total{font-size:48px}.design-grid{grid-template-columns:minmax(0,1fr)}.design-card{padding:15px}.design-editor-row{padding:10px}.design-summary .progress{width:100%}}
@media(prefers-reduced-motion:reduce){.design-progress .progress-fill{transition:none}}

.letter-text{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;max-height:420px;overflow:auto;line-height:1.65}.table-scroll{overflow-x:auto;max-width:100%}#letters-filter .actions{align-self:end}.letter-text:empty{display:none}

@media (min-width:701px) and (max-width:1100px){.nav-link[href="#correspondence"]{font-size:12px;gap:8px;padding-left:10px;padding-right:6px}}

/* Business workflow panels preserve the existing brand and responsive shell. */
.business-metrics{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.business-metrics .metric{padding:12px;border:1px solid var(--border,#e1e5ed);border-radius:12px}.sales-board{display:flex;gap:16px;overflow-x:auto;padding-bottom:16px}.sales-board>.kanban-col{flex:0 0 270px}.business-card{display:block;color:inherit;text-decoration:none}.business-card:hover{outline:2px solid #f29542}.business-card p{overflow-wrap:anywhere}.business-metrics+ .sales-board{max-width:100%}#sales-filters{flex-wrap:wrap}#sales-filters .field{min-width:140px;max-width:240px}@media(max-width:640px){.sales-board>.kanban-col{flex-basis:85vw;max-width:300px}.business-metrics{display:grid;grid-template-columns:1fr 1fr}#sales-filters .field{max-width:100%;flex:1 1 140px}}

.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:16px}#question-filters{flex-wrap:wrap}#question-filters .field{max-width:240px;min-width:140px}.letter-text{overflow-wrap:anywhere;white-space:pre-wrap;max-width:100%}

/* Approved motion preview, driven by visible CRM records. */
.motion-ring{position:relative;width:124px;height:124px;flex:none;color:var(--accent-strong)}
.motion-ring svg{width:100%;height:100%;transform:rotate(-90deg)}
.motion-ring-track,.motion-ring-fill{fill:none;stroke-width:9}
.motion-ring-track{stroke:#e5edf7}.motion-ring-fill{stroke:var(--accent);stroke-linecap:round}
.motion-ring-number{position:absolute;inset:0;display:grid;place-items:center;font-size:27px;font-weight:700;font-variant-numeric:tabular-nums}
.motion-construction-summary{display:flex;align-items:center;gap:22px;margin:0 0 18px}
.motion-construction-summary p{margin-top:7px}.motion-construction h3{margin:16px 0 8px}
.motion-pipe-scroll{overflow-x:auto;overscroll-behavior-inline:contain;padding:8px 0}
.motion-pipe-scroll svg{display:block;width:100%;height:auto;max-height:130px}
.motion-node{cursor:pointer}.motion-node circle{fill:#fff;stroke-width:3;stroke:#91a6bf}
.motion-node.done circle{stroke:#258e7c}.motion-node.current circle{stroke:var(--accent)}
.motion-node.risk circle{stroke:#c27735}.motion-node text{font-size:13px;fill:var(--ink);font-weight:700;pointer-events:none}
.motion-node-label{font-size:11px;fill:var(--muted);pointer-events:none}
.motion-node:focus-visible{outline:none}.motion-node:focus-visible circle,.motion-node:hover circle{stroke-width:5}
.motion-enter .content>.dashboard-hero,.motion-enter .content>.panel,.motion-enter .content>.tabs{animation:rusgaz-motion-enter 220ms ease-out both}
@keyframes rusgaz-motion-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.motion-enter .design-progress .progress-fill{animation:rusgaz-motion-scale 800ms cubic-bezier(.22,.68,.22,1) both;transform-origin:left}
@keyframes rusgaz-motion-scale{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.motion-enter .donut svg{animation:rusgaz-motion-enter 800ms ease-out both}
@media(max-width:540px){.motion-construction-summary{gap:12px}.motion-ring{width:104px;height:104px}.motion-ring-number{font-size:23px}}
@media(prefers-reduced-motion:reduce){.motion-enter .content>.dashboard-hero,.motion-enter .content>.panel,.motion-enter .content>.tabs,.motion-enter .design-progress .progress-fill,.motion-enter .donut svg{animation:none!important}.motion-ring-fill{transition:none!important}}

.motion-scheme-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.motion-scheme-heading h3{margin:12px 0}
.motion-scheme{border:1px solid var(--line);border-radius:11px;padding:8px 12px;margin:8px 0;background:#f4f8fd}
.motion-scheme.technology{background:radial-gradient(ellipse at 50% 40%,#243f6b,#172648);border-color:#30496f}
.motion-scheme.technology .motion-node text{fill:#fff}.motion-scheme.technology .motion-node-label{fill:#d7e9fa}
.motion-scheme.technology .motion-node circle{fill:#1a3154}
.motion-scheme.technology svg>path{filter:drop-shadow(0 0 4px #64c4e9)}
@media(prefers-reduced-motion:reduce){.motion-scheme.technology svg>path{filter:none}}

.itd-summary{display:grid;grid-template-columns:auto minmax(120px,1fr);align-items:center;gap:8px 16px;margin-bottom:14px}
.itd-summary strong{font-size:26px;color:var(--accent)}
.itd-summary .progress{margin:0}.itd-summary p{grid-column:1/-1;margin:0;color:var(--muted)}
.itd-summary+.segments{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:14px}
@media(max-width:540px){.itd-summary{grid-template-columns:1fr}.itd-summary p{grid-column:auto}}

/* Card emphasis keeps layout and click affordances unchanged. */
.content .panel,.content .project-card,.content .kpi,.content .direction-tile{transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}
@media(hover:hover) and (pointer:fine){
 .content .panel:hover{border-color:color-mix(in srgb,var(--accent) 30%,var(--line));box-shadow:0 6px 20px #1739510d}
 .content .project-card:hover,.content button.kpi:hover,.content .direction-tile:hover{border-color:color-mix(in srgb,var(--accent) 48%,var(--line));box-shadow:0 8px 23px #17395117}
}
.content .panel:focus-within{border-color:color-mix(in srgb,var(--accent) 34%,var(--line))}
.content .project-card:focus-within,.content button.kpi:focus-visible,.content .direction-tile:focus-visible,.content [role=button].task-card:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){.content .panel,.content .project-card,.content .kpi,.content .direction-tile{transition:none}}
@media(max-width:540px){.construction-contact-role{display:flex;flex-wrap:wrap;gap:10px}.construction-contact-role>.row-main{flex:1 1 100%;min-width:0;overflow-wrap:anywhere}.construction-contact-role>button{width:100%}}
.customer-contacts{margin:18px 0}.customer-contact-row{padding:14px;margin:12px 0;border:1px solid var(--line);border-radius:9px;background:#f9fbfa}.customer-contact-row .form-grid{margin-bottom:8px}.customer-contact-list{display:grid;gap:8px}
.itd-template-editor{margin-top:20px}.itd-template-position{padding:14px;margin:12px 0;border:1px solid var(--line);border-radius:9px;background:#f9fbfa}.itd-template-position .form-grid{margin-bottom:8px}.itd-template-position .check{align-self:center;margin:0}.itd-template-position .actions{gap:6px}.itd-template-editor [data-itd-add]{margin-top:8px}@media(max-width:540px){.itd-template-position .actions button{flex:1}}
