/* Компоновка и визуальный язык прототипа production-platform-v6. */
:root{--nav2:#22344b;--blueSoft:#eaf1ff;--greenSoft:#e7f8f0;--amberSoft:#fff5e5;--redSoft:#ffeded;--shadow:0 8px 24px rgba(23,34,53,.06)}
body{font-family:Inter,'Segoe UI',Arial,sans-serif;font-size:14px}.layout{grid-template-columns:232px minmax(0,1fr)}.sidebar{padding:26px 12px;gap:3px}.sidebar button{font-size:13px;min-height:40px;border-radius:7px;padding:9px 14px}.brand{font-size:20px;letter-spacing:-.5px}.brand small{letter-spacing:1.1px;font-size:9px;margin-top:5px}.topbar{height:68px;padding:0 28px}.workspace-title{font-size:14px;color:var(--muted)}.content{padding:26px 28px}.heading h1{font-size:25px;letter-spacing:-.6px}.heading p{font-size:13px}.card{border-radius:10px;box-shadow:var(--shadow);padding:20px}.metric{border-top:3px solid #9bb9eb}.metric strong{font-size:32px;letter-spacing:-1px}.metric span{font-size:12px}.metrics{gap:15px}.card-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:15px}.card-head h2{margin:0}th{background:#f5f8fc;color:#66758b;font-size:11px;text-transform:uppercase;letter-spacing:.5px}td{padding:14px 12px}tbody tr:hover{background:#f8faff}.route-card{margin-bottom:20px}.route-table{min-width:850px}.route-table progress{width:85px;margin:0;height:7px}.step-number{display:grid;place-items:center;border-radius:50%;background:var(--blueSoft);color:var(--blue);width:27px;height:27px;font-weight:600}.route-table td:nth-child(2){min-width:220px}.employee-id{overflow-wrap:anywhere;font-family:Consolas,monospace;font-size:11px}.impersonation{background:#fff5d7;border-bottom:1px solid #e7c974;padding:12px 28px;display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px}.impersonation a{color:#775005}.impersonation span{overflow-wrap:anywhere}.portfolio-signals{margin-bottom:24px}.signal{display:flex;gap:12px;border-bottom:1px solid var(--line);padding:12px 0}.signal p{font-size:12px;color:var(--muted)}.signal-icon{width:29px;height:29px;background:var(--amberSoft);color:var(--amber);border-radius:8px;display:grid;place-items:center;flex-shrink:0;font-weight:700}.department-progress{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:9px 0;font-size:12px}.department-progress progress,.department-progress small{grid-column:1/-1}.department-progress progress{margin:4px 0;height:7px}.history-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:10px;margin:22px 0}.history-strip button{text-align:left;padding:15px;background:white}.history-strip small{display:block}.history-strip strong{font-size:28px;display:block}.audit-line{display:grid;grid-template-columns:160px 1fr 1fr;gap:15px;padding:12px 0;border-bottom:1px solid var(--line);font-size:12px}.audit-line span{overflow-wrap:anywhere}.audit-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:20px}.audit-filters label{margin:0}.audit-filters .row{align-self:end}.avatar{width:46px;height:46px;background:var(--blueSoft);color:var(--blue);display:grid;place-items:center;font-size:22px;border-radius:12px;margin-bottom:16px}.employee-card h2{margin-bottom:6px}.permission-label{font-size:12px}.notice.danger{border-left-color:var(--red)}
.notes-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;min-height:620px;background:white;box-shadow:var(--shadow)}.notes-list{background:#f7f7f5;border-right:1px solid var(--line)}.notes-tools{padding:14px;border-bottom:1px solid var(--line)}.notes-tools input{margin:10px 0;background:#eaeae7;border:0}.notes-tools .row{gap:4px}.notes-tools .row button{font-size:11px;padding:5px 8px;min-height:32px}.notes-accent{color:#9e7200;background:transparent;border:0;font-weight:600}.note-items{max-height:65vh;overflow:auto;padding:8px}.note-preview{display:block;width:100%;text-align:left;border:0;background:transparent;border-radius:8px;padding:14px 16px}.note-preview.selected{background:#f5e7b5}.note-preview strong,.note-preview small,.note-preview span{display:block}.note-preview strong{font-size:15px}.note-preview small{margin:4px 0;font-size:11px}.note-preview span{font-size:12px;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.note-editor{padding:24px 30px;min-width:0}.note-editor #noteTitle{font-size:26px;font-weight:700;border:0;padding:16px 0;outline:0}.note-editor #noteBody{border:0;outline:0;resize:vertical;min-height:300px;padding:0;line-height:1.8}.note-sharing{border-top:1px solid var(--line);padding:20px 0;margin:15px 0}.note-sharing p{font-size:12px}.share-people{max-height:190px;overflow:auto}.share-people small{margin-left:auto}.sr-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.calculator-cards{grid-template-columns:repeat(auto-fill,minmax(255px,1fr))}.calculator-card{text-align:left;display:flex;align-items:flex-start;flex-direction:column;gap:12px;padding:20px;min-height:235px}.calculator-card:hover{border-color:#7ca2e9;box-shadow:0 10px 30px #2563eb15;transform:translateY(-2px)}.calculator-card h3{font-size:16px;line-height:1.4}.calculator-card p{color:var(--muted);font-size:12px;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.calculator-card>strong{margin-top:auto;color:var(--blue);font-size:12px}.calculator-icon{font-size:21px;color:var(--blue);background:var(--blueSoft);padding:4px 12px;border-radius:8px}#catalogForm:not(:empty){margin-top:24px;padding:24px;background:white;border:1px solid var(--line);border-radius:12px;scroll-margin-top:90px}
@media(max-width:1100px){.history-strip{grid-template-columns:repeat(3,1fr)}.notes-workspace{grid-template-columns:260px minmax(0,1fr)}}@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{padding:10px;overflow-x:auto}.content{padding:18px}.topbar{padding:0 18px}.audit-filters{grid-template-columns:1fr 1fr}.notes-workspace{grid-template-columns:1fr}.notes-list{border-right:0;border-bottom:1px solid var(--line)}.note-items{display:flex;max-height:155px;overflow-x:auto}.note-preview{flex:0 0 220px}.notes-tools .row{flex-wrap:nowrap}.note-editor{padding:20px}.impersonation{padding:10px 18px}.audit-line{grid-template-columns:1fr;gap:4px}}@media(max-width:550px){.audit-filters{grid-template-columns:1fr}.history-strip{grid-template-columns:1fr 1fr}.topbar .row .muted{display:none}.heading h1{font-size:23px}.card{padding:16px}.calculator-cards{grid-template-columns:1fr}.note-editor #noteTitle{font-size:23px}.share-people .check{flex-wrap:wrap}}
.note-preview{min-width:0}.note-preview span{max-width:100%}@media(max-width:550px){.share-people small{flex-basis:100%;margin-left:30px}.note-editor{overflow-wrap:anywhere}}
