:root{--forest:#184b3d;--deep:#133b31;--gold:#a97930;--paper:#f5f7f4;--ink:#203b33;--white:#fff;--muted:#647169;--line:#dfe5de;--soft:#edf2ec;--red:#a63832;--yellow:#805b1b;--radius:12px;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.5}button,input,select,textarea{font:inherit;color:inherit}button,a,select{touch-action:manipulation}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,select,textarea{outline-offset:4px}:focus-visible{outline:3px solid var(--gold)}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;font-weight:650}h2{font-size:17px;font-weight:650;line-height:1.4}h3{font-size:17px;font-weight:600}small{font-size:13px;line-height:1.5}strong{font-weight:600}svg{flex-shrink:0}.icon{width:21px;height:21px;display:inline-block;vertical-align:middle;flex-shrink:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;left:20px;top:-80px;z-index:100;background:white;padding:12px}.skip:focus{top:12px}.initial,.startup-error{max-width:620px;margin:18vh auto;padding:32px}.startup-error p{margin:18px 0}.muted{color:var(--muted)}.danger{color:var(--red)}.positive{color:var(--forest)}.preserve-lines{white-space:pre-wrap;overflow-wrap:anywhere}
#app{min-height:100vh;display:grid;grid-template-columns:232px minmax(0,1fr)}.sidebar{background:var(--forest);color:#e3eae4;padding:32px 16px 0;position:fixed;top:0;bottom:0;width:232px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:12px;margin:0 14px 32px}.brand strong{display:block;font-size:23px;letter-spacing:2px;font-weight:550;line-height:1.2;color:white}.brand small{display:block;font-size:12px;letter-spacing:3px;color:#c0cec4;margin-top:3px}.workspace-name{font-size:12px;display:flex;gap:8px;align-items:center;margin:0 14px 22px;color:#c1d1c7}.status-dot{width:6px;height:6px;border-radius:50%;display:inline-block;flex-shrink:0;background:#82ad89}.sidebar nav{display:grid;gap:5px}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;min-height:47px;border-radius:8px;font-size:14px;transition:background 150ms,color 150ms}.nav-item .icon{width:19px;height:19px;opacity:.85}.nav-item:hover{background:#245746;color:white}.nav-item.selected{background:#e8eedf;color:var(--deep);font-weight:600}.nav-item.selected .icon{opacity:1}.nav-count{margin-left:auto;font-size:12px;font-variant-numeric:tabular-nums;opacity:.8}.sidebar-divider{height:1px;background:#426655;margin:24px 14px 16px}.sidebar-bottom{margin-top:auto;display:flex;gap:10px;align-items:center;padding:20px 10px;border-top:1px solid #426655;font-size:13px}.sidebar-bottom small{display:block;color:#bdcfc3;font-size:11px}.avatar{width:34px;height:34px;border-radius:50%;background:#355e4a;display:grid;place-items:center;color:#f2e9d0}.local-dot{margin-left:auto;width:7px;height:7px;background:#a7be88;border-radius:50%}.workspace{grid-column:2;min-width:0;display:flex;flex-direction:column;min-height:100vh}.topbar{height:76px;min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:0 40px;background:var(--white);border-bottom:1px solid var(--line)}.breadcrumb{display:flex;align-items:center;gap:12px;font-size:13px;color:var(--muted)}.breadcrumb .icon{width:13px;height:13px;color:#8c9990}.breadcrumb span:last-child{color:var(--ink);font-weight:500}.top-right{display:flex;align-items:center;gap:22px;font-size:12px}.local-pill{display:flex;align-items:center;gap:7px;color:var(--forest);background:#f0f4ec;border:1px solid #e2e9da;border-radius:20px;padding:6px 11px;white-space:nowrap}.date-display{color:var(--muted)}main{width:100%;max-width:1670px;padding:36px 40px 44px;margin:0 auto;flex:1;outline:none}main:focus{outline:none}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:28px}.page-heading p{margin-top:9px;color:var(--muted);font-size:14px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 17px;border:1px solid #ced8ce;background:var(--white);border-radius:7px;line-height:1.4;font-size:14px;font-weight:550;white-space:nowrap;transition:background 150ms,border-color 150ms}.button:hover{background:#eaf0e8;border-color:#a8baa9}.button.primary{background:var(--forest);color:white;border-color:var(--forest)}.button.primary:hover{background:var(--deep)}.button.small{font-size:13px;padding:7px 11px;min-height:38px}.button .icon{width:17px;height:17px}.icon-button{width:40px;height:40px;display:inline-grid;place-items:center;border:1px solid transparent;border-radius:7px;background:transparent}.icon-button:hover{background:var(--soft)}.menu-button{display:none}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px}.search-box{display:flex;align-items:center;gap:11px;min-width:0;max-width:480px;flex:1;background:white;border:1px solid var(--line);border-radius:7px;padding:0 14px;height:43px}.search-box .icon{width:18px;height:18px;color:#7d8a80}.search-box input{width:100%;border:0;outline:none!important;background:transparent;font-size:13px;height:100%;min-width:0}.search-box:focus-within{outline:2px solid var(--gold);outline-offset:2px}.toolbar-options{display:flex;gap:10px;align-items:center}.filter-label select{border:1px solid var(--line);border-radius:7px;background:white;min-height:43px;padding:0 32px 0 12px;font-size:13px;max-width:100%}.direction-filters{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:25px}.direction-filters button{background:transparent;border:1px solid var(--line);border-radius:5px;padding:7px 10px;min-height:34px;font-size:12px;white-space:nowrap}.direction-filters button:hover{background:#e9eee7}.direction-filters button.selected{background:#e5eddf;border-color:#a9bba4;color:#22472e;font-weight:550}.start-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,1fr);gap:22px}.start-panel{border:1px solid var(--line);border-radius:var(--radius);background:white;min-height:418px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:26px 20px 32px}.blueprint{max-width:300px;width:100%;height:154px;margin-bottom:4px}.blueprint svg{width:100%;height:100%}.start-panel h2{font-size:25px;font-weight:600;letter-spacing:-.5px}.start-panel p{font-size:14px;color:var(--muted);line-height:1.75;margin:12px 0 21px}.empty-note{font-size:11px;color:#778378;margin-top:17px}.structure-panel{background:#edf1e9;border:1px solid #dfe5d7;border-radius:var(--radius);padding:26px}.structure-panel h2{font-size:18px}.structure-panel>p{font-size:13px;color:var(--muted);margin-top:6px}.structure-list{margin-top:23px;display:grid;gap:19px}.structure-row{display:flex;align-items:center;gap:13px}.structure-icon{width:36px;height:36px;border-radius:9px;border:1px solid #d3ddcc;background:#f9fbf6;display:grid;place-items:center;color:#567546}.structure-icon .icon{width:18px;height:18px}.structure-row strong{display:block;font-size:13px;font-weight:600}.structure-row small{display:block;font-size:12px;color:#63735c;margin-top:2px}.connection-strip{display:flex;align-items:center;gap:24px;margin-top:24px;padding:24px 0 10px}.connection-title{display:flex;align-items:center;gap:12px;max-width:230px;flex-shrink:0}.connection-title>.icon{color:var(--gold);width:28px;height:28px}.connection-title h2{font-size:14px}.connection-title p{font-size:12px;color:var(--muted);margin-top:3px}.connection-items{display:flex;flex-wrap:wrap;gap:20px;flex:1;border-left:1px solid var(--line);padding-left:24px}.connection-items>span{font-size:12px;font-weight:600}.connection-items small{display:block;font-size:11px;font-weight:400;color:var(--muted);margin-top:4px}.text-link{display:inline-flex;gap:5px;align-items:center;color:var(--forest);font-size:13px;text-decoration:underline;text-decoration-color:#bac7b9;text-underline-offset:3px;overflow-wrap:anywhere}.text-link:hover{color:#0c7154}.text-link .icon{width:15px;height:15px}.connection-strip>.text-link{white-space:nowrap}.page-footer{display:flex;justify-content:space-between;gap:18px;padding:18px 40px;border-top:1px solid var(--line);font-size:11px;color:#748174}.page-footer>span:first-child{color:var(--forest);font-weight:550;letter-spacing:1px}.section-caption{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:12px;margin:22px 0 12px}.object-list{display:grid;gap:12px}.object-card{display:flex;align-items:center;gap:18px;border:1px solid var(--line);border-radius:10px;background:white;padding:22px;transition:border-color 150ms,background 150ms}.object-card:hover{background:#fdfefb;border-color:#a7b99d}.object-symbol{width:47px;height:54px;background:#eef3e9;color:var(--forest);display:grid;place-items:center;border-radius:8px;flex-shrink:0}.object-symbol .icon{width:26px;height:26px}.object-main{flex:1;min-width:120px;overflow-wrap:anywhere}.object-title{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.object-title h2{font-size:17px}.object-main p{font-size:13px;color:var(--muted);margin:5px 0 7px}.object-meta{display:flex;align-items:center;gap:6px;flex-wrap:wrap;color:var(--muted);font-size:12px}.object-meta .icon{width:14px;height:14px}.meta-separator{margin:0 5px;color:#adbaa9}.object-directions{max-width:220px;display:flex;flex-wrap:wrap;gap:5px;font-size:12px}.object-numbers{text-align:right;min-width:120px;font-variant-numeric:tabular-nums}.object-numbers strong{font-size:16px;display:block}.object-numbers small{font-size:11px;display:block;color:var(--muted);margin-top:3px}.object-numbers small.danger{color:var(--red)}.object-card>.icon{width:17px;height:17px;color:#87957f}.badge{display:inline-flex;align-items:center;min-height:25px;max-width:100%;padding:3px 8px;border-radius:5px;background:#eef1e8;color:#48603c;font-size:11px;line-height:1.4;font-weight:500;overflow-wrap:anywhere}.badge.good{background:#e3f1e6;color:#245d37}.badge.bad{background:#fbece9;color:#983e33}.badge.warn{background:#fcf1db;color:#805b1b}.badge.neutral{background:#f0f3ee;color:#5a6b54}.rows{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden}.list-row{display:flex;align-items:center;gap:16px;padding:20px 22px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;min-width:0}.list-row:last-child{border-bottom:0}.row-icon{width:36px;height:40px;display:grid;place-items:center;background:#f0f4ec;border-radius:8px;color:#617b50;flex-shrink:0}.row-icon .icon{width:19px;height:19px}.grow{flex:1;min-width:0}.list-row h2{font-size:15px;margin:2px 0 4px}.list-row p{font-size:13px;color:var(--muted)}.list-row small{display:block;color:var(--muted);font-size:12px;margin-top:5px}.row-right{display:flex;flex-direction:column;gap:7px;align-items:flex-end;font-variant-numeric:tabular-nums}.row-right strong{font-size:14px}.direction-label{font-size:11px;color:#77591e;font-weight:550}.contact-line{display:flex;gap:20px;flex-wrap:wrap;margin-top:8px;font-size:13px}.inline-links{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px}.empty{padding:60px 24px;text-align:center;background:white;border:1px solid var(--line);border-radius:10px}.empty .empty-icon{width:36px;height:36px;color:#7d9474;margin-bottom:16px}.empty h2{font-size:20px}.empty p{color:var(--muted);font-size:14px;max-width:480px;margin:10px auto 0;line-height:1.7}.empty .button{margin-top:22px}.task-check{width:28px;height:28px;border:1.5px solid #a5b29f;border-radius:7px;background:white;flex-shrink:0;display:grid;place-items:center}.task-check.checked{color:white;background:var(--forest);border-color:var(--forest)}.task-check .icon{width:17px;height:17px}.task-check:hover{border-color:var(--forest);background:#e8eee2}.task-check.checked:hover{background:var(--deep)}.completed .grow h2{text-decoration:line-through;color:var(--muted)}.finance-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border:1px solid var(--line);background:white;border-radius:10px;margin:0 0 12px}.finance-summary>div{padding:23px;border-right:1px solid var(--line)}.finance-summary>div:last-child{border:0}.finance-summary small{display:block;font-size:12px;color:var(--muted)}.finance-summary strong{display:block;font-size:23px;letter-spacing:-.5px;margin-top:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.finance-note{font-size:12px;color:var(--muted);margin:12px 0 25px;max-width:900px;line-height:1.7}.back-link{display:inline-block;color:var(--muted);font-size:12px;margin-bottom:20px;text-decoration:underline;text-underline-offset:4px}.object-subline{display:flex;gap:18px;align-items:center;margin:-12px 0 24px;color:var(--muted);font-size:13px}.object-subline>span{display:flex;gap:7px;align-items:center}.object-subline .icon{width:16px;height:16px}.tabs{display:flex;flex-wrap:wrap;gap:26px;border-bottom:1px solid var(--line);margin:0 0 25px}.tabs button{padding:12px 0 16px;background:none;border:0;border-bottom:2px solid transparent;font-size:13px;white-space:nowrap;color:var(--muted)}.tabs button.selected{border-color:var(--forest);color:var(--forest);font-weight:600}.tabs button span{background:#e8ede3;border-radius:4px;margin-left:6px;padding:2px 5px;font-size:10px}.panel{padding:24px;border:1px solid var(--line);border-radius:10px;background:white;margin-bottom:20px;min-width:0}.panel>p{margin:10px 0 16px;font-size:14px;line-height:1.7}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel>.rows{border:0}.panel>.empty{border:0;padding:30px}.panel .list-row{padding:16px 0}.panel .list-row:first-child{padding-top:0}.panel .list-row:last-child{padding-bottom:0}.object-overview{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:20px}.details{display:grid;gap:17px;margin:20px 0}.details>div{display:flex;flex-direction:column;gap:4px;font-size:13px;overflow-wrap:anywhere}.details small{font-size:11px;color:var(--muted)}.section-action{display:flex;justify-content:flex-end;margin-bottom:18px}.object-platform{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 0;font-size:13px}.object-platform>span:first-child{display:flex;align-items:center;gap:8px}.history{background:white;border:1px solid var(--line);padding:8px 24px;border-radius:10px}.history article{display:flex;gap:18px;padding:18px 0;border-bottom:1px solid var(--line);font-size:14px}.history article:last-child{border:0}.history article>span{color:#87987c}.history p{margin-bottom:6px}.history small{color:var(--muted)}.system-map{background:#edf2e9;border:1px solid #dce6d5;border-radius:12px;padding:32px;margin-bottom:24px}.map-center{margin:0 auto;display:flex;align-items:center;gap:16px;background:white;border:1px solid #b9cbae;border-radius:10px;max-width:480px;padding:20px 24px}.map-center h2{font-size:20px;letter-spacing:.5px}.map-center p{font-size:12px;color:var(--muted);margin-top:3px}.map-center>.badge{margin-left:auto;font-size:10px}.map-branches{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:25px;padding-top:25px;border-top:1px solid #b7c9ac;position:relative}.map-branches:before{content:'';position:absolute;height:25px;border-left:1px solid #b7c9ac;left:50%;top:-26px}.map-branches span{border:1px solid #d0ddc5;background:#f9fbf6;padding:8px 12px;border-radius:6px;font-size:12px}.map-note{font-size:12px;text-align:center;color:#5c7052;margin-top:18px}.platform-list{border:1px solid var(--line);background:white;border-radius:10px;overflow:hidden}.platform-row{padding:24px;display:flex;gap:20px;align-items:center;border-bottom:1px solid var(--line)}.platform-row:last-child{border:0}.platform-icon{display:grid;place-items:center;width:44px;height:50px;background:#f1f4ec;color:var(--forest);border-radius:9px;flex-shrink:0}.platform-row h2{font-size:16px;margin-bottom:4px}.platform-row p{font-size:13px;color:var(--muted);line-height:1.65;margin-top:7px;max-width:680px}.platform-action{min-width:165px;display:flex;flex-direction:column;align-items:flex-end;gap:12px}.callout{border-left:3px solid #b58e43;padding:14px 18px;background:#f3f0e5;color:#6e592a;font-size:13px;line-height:1.7;margin:20px 0}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.settings-grid .panel{height:100%}.rules{padding-left:18px;display:grid;gap:13px;font-size:13px;color:#53634d;margin:20px 0 0}.team-list{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.team-list span{padding:7px 14px;background:var(--soft);border:1px solid var(--line);border-radius:6px;font-size:13px}.helper{font-size:12px;color:var(--muted);line-height:1.6}.panel>p.helper{font-size:12px;margin:14px 0 0}.segmented{display:flex;border:1px solid var(--line);border-radius:7px;background:white;padding:3px}.segmented button{border:0;background:transparent;padding:7px 11px;border-radius:4px;font-size:12px;min-height:33px}.segmented button.chosen{background:#e9efe2;color:var(--forest)}.board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;align-items:start}.board-column{min-width:0;background:#eaf0e6;padding:12px;border-radius:8px;min-height:240px}.board-column>h2{font-size:12px;display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.board-column h2 span{font-weight:400;color:var(--muted);font-size:11px}.deal-tile{background:white;border:1px solid var(--line);padding:14px;border-radius:6px;margin-bottom:10px;overflow-wrap:anywhere}.deal-tile h3{font-size:14px;margin:7px 0 12px}.deal-tile p{margin:12px 0;font-size:12px}.deal-tile strong{display:block;font-size:14px}.deal-tile small{display:block;margin:7px 0 12px;color:var(--muted);font-size:11px}.deal-tile .text-link{font-size:12px}
dialog{padding:0;border:1px solid var(--line);border-radius:14px;width:min(730px,calc(100vw - 32px));max-height:calc(100dvh - 40px);overflow:auto;box-shadow:0 24px 80px #143d2926;color:var(--ink)}dialog::backdrop{background:#142d245e}dialog form{display:flex;flex-direction:column;max-height:calc(100dvh - 42px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;padding:23px 28px;border-bottom:1px solid var(--line);flex-shrink:0;background:#fff}.modal-heading small{font-size:11px;color:var(--muted)}.modal-heading h2{font-size:23px;letter-spacing:-.4px;margin-top:3px}.modal-body{padding:25px 28px;overflow:auto;overscroll-behavior:contain;flex:1}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.field{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:13px}.field span b{color:#a16d27}.field input,.field select,.field textarea{width:100%;min-width:0;min-height:43px;border:1px solid #b7c5b5;border-radius:6px;background:white;padding:9px 11px;font-size:14px}.field input::placeholder{color:#7e897d;font-size:12px}.field input:disabled{background:#f0f3ed;color:#66705f}.field input[type=file]{padding:10px;font-size:12px;min-height:60px}.field input[type=file]::file-selector-button{font:inherit;border:0;border-radius:4px;background:#e7eee0;padding:6px 9px;margin-right:12px;color:var(--forest);cursor:pointer}.field small{font-size:11px;color:var(--muted)}.field textarea{resize:vertical;min-height:85px}.full{grid-column:1/-1}.new-client-fields{border:1px solid #d7e0d0;background:#f6f9f2;border-radius:8px;padding:20px;margin:0}.new-client-fields legend{font-size:12px;color:var(--forest);padding:0 7px}.new-client-fields[hidden]{display:none}.modal-footer{padding:17px 28px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;background:white;flex-shrink:0}.modal-footer>div{display:flex;gap:10px}.archive-toggle{border-top:1px solid var(--line);padding-top:18px;display:flex;align-items:center;gap:8px;font-size:13px}.archive-toggle input{accent-color:var(--forest);width:17px;height:17px}.archive-toggle .helper{margin-left:auto}.form-error{border:1px solid #edc7bf;border-radius:6px;padding:12px 14px;background:#fff2ee;color:#963c30;margin-top:20px;font-size:13px}.form-error[hidden]{display:none}#notice{position:fixed;bottom:24px;left:calc(50% + 110px);transform:translate(-50%,20px);z-index:100;background:var(--deep);color:white;border-radius:8px;padding:13px 22px;max-width:min(600px,calc(100vw - 32px));opacity:0;pointer-events:none;font-size:13px;box-shadow:0 5px 22px #133b3126;transition:transform 180ms,opacity 180ms}#notice.shown{opacity:1;transform:translate(-50%,0)}
@media(min-width:1600px){main{padding-top:44px}.start-panel{min-height:480px}.blueprint{width:330px;max-width:330px;height:175px}.structure-panel{padding:30px}.structure-list{gap:27px}.connection-strip{margin-top:30px}}
@media(max-width:1250px){#app{grid-template-columns:210px minmax(0,1fr)}.sidebar{width:210px;padding-inline:12px}.brand{margin-left:10px}.brand strong{font-size:21px}.workspace-name{font-size:11px;margin-left:10px}.nav-item{padding-inline:12px;font-size:13px}.topbar{padding-inline:28px}main{padding:30px 28px 40px}.start-grid{grid-template-columns:minmax(0,1.4fr) minmax(250px,1fr);gap:18px}.structure-panel{padding:24px 20px}.connection-strip{flex-wrap:wrap;gap:18px}.connection-title{max-width:210px}.connection-items{gap:18px}.connection-strip>.text-link{margin-left:auto}.finance-summary>div{padding:18px}.finance-summary strong{font-size:20px}.board{grid-template-columns:repeat(3,minmax(0,1fr))}.object-directions{max-width:150px}.object-overview{grid-template-columns:1fr 1fr}.list-row{gap:12px;padding:18px}.object-overview .task-row{flex-wrap:wrap}.object-overview .task-row .grow{min-width:calc(100% - 50px)}.page-footer{padding-inline:28px}}
@media(max-width:1000px){.start-grid{grid-template-columns:1fr}.structure-panel{padding:22px}.structure-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.structure-panel>p{margin-bottom:15px}.structure-row{align-items:flex-start;gap:9px}.structure-row small{font-size:11px}.structure-icon{width:30px;height:30px}.start-panel{min-height:380px}.connection-strip{align-items:flex-start}.connection-items{padding-left:0;border:0}.connection-title{max-width:100%;flex-basis:100%}.object-card{flex-wrap:wrap;gap:14px}.object-directions{max-width:none;flex:1 1 calc(100% - 180px);margin-left:62px}.object-card>.icon{display:none}.object-numbers{margin-left:auto}.object-main{flex-basis:calc(100% - 90px)}.object-overview{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr;gap:0}.settings-grid .panel{height:auto}.platform-action{min-width:140px}.finance-summary{grid-template-columns:1fr 1fr}.finance-summary>div:nth-child(2){border-right:0}.finance-summary>div:nth-child(-n+2){border-bottom:1px solid var(--line)}.page-heading{align-items:flex-start}.page-heading .button{font-size:13px}.row-right{max-width:180px}.row-icon{display:none}#notice{left:calc(50% + 100px)}}
@media(max-width:760px){#app{display:block}.sidebar{display:none;width:260px;box-shadow:40px 0 0 100vw #1b302856}.sidebar.mobile-open{display:flex}.workspace{width:100%}.topbar{height:64px;min-height:64px;padding:0 18px;gap:12px}.menu-button{display:grid;margin-left:-7px}.breadcrumb{flex:1;gap:8px;font-size:12px}.breadcrumb>span:first-child,.breadcrumb>.icon{display:none}.date-display{display:none}.top-right{gap:0}.local-pill{padding:5px 9px;font-size:10px}main{padding:26px 20px 32px}h1{font-size:28px}.page-heading{gap:14px;flex-wrap:wrap;margin-bottom:24px}.page-heading p{font-size:13px;margin-top:8px}.page-heading>.button{font-size:13px;min-height:42px}.toolbar{align-items:stretch;flex-wrap:wrap;gap:12px}.search-box{max-width:none;min-width:100%;flex-basis:100%}.toolbar-options{width:100%;justify-content:space-between}.filter-label{margin-left:auto}.filter-label select{font-size:12px;min-height:38px}.direction-filters{gap:6px;margin-bottom:21px}.direction-filters button{font-size:11px;min-height:32px;padding:6px 9px}.start-panel{min-height:365px;padding:24px 18px}.start-panel h2{font-size:22px}.start-panel p{font-size:13px}.blueprint{height:140px;max-width:270px}.structure-list{grid-template-columns:1fr 1fr;gap:18px}.structure-panel h2{font-size:16px}.structure-panel>p{font-size:12px}.structure-row strong{font-size:12px}.structure-row small{font-size:11px}.connection-items{gap:20px}.connection-items span{font-size:11px}.connection-strip>.text-link{margin-left:0}.page-footer{padding:16px 20px;font-size:10px}.page-footer>span:last-child{max-width:180px;text-align:right}.list-row{flex-wrap:wrap;padding:17px;gap:12px}.list-row .grow{flex-basis:calc(100% - 50px)}.list-row>.button{margin-left:auto}.row-right{max-width:none;align-items:flex-start;flex:1;gap:6px}.list-row h2{font-size:15px}.list-row p{font-size:12px}.contact-line{font-size:13px;gap:10px}.task-row .grow{flex-basis:calc(100% - 50px)}.object-card{padding:18px}.object-title h2{font-size:16px}.object-directions{margin-left:0;flex-basis:100%}.object-numbers{text-align:left;margin-left:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:8px}.object-numbers small{display:inline}.section-caption>span:last-child{display:none}.panel{padding:20px}.panel-heading h2{font-size:16px}.tabs{gap:18px;margin-bottom:20px}.tabs button{padding-bottom:12px;font-size:12px}.object-subline{font-size:12px}.object-platform{gap:12px;font-size:12px}.system-map{padding:22px 18px}.map-center{padding:17px 15px;gap:12px;flex-wrap:wrap}.map-center h2{font-size:18px}.map-center .badge{margin-left:0}.map-branches{gap:6px}.map-branches span{padding:7px 9px;font-size:11px}.map-note{font-size:11px}.platform-row{padding:20px;gap:13px;flex-wrap:wrap;align-items:flex-start}.platform-icon{width:34px;height:40px}.platform-row .grow{flex-basis:calc(100% - 55px)}.platform-action{flex-direction:row;align-items:center;justify-content:space-between;width:100%;min-width:0;margin-left:47px;gap:10px}.platform-row h2{font-size:15px}.platform-row p{font-size:12px}.finance-summary strong{font-size:20px}.finance-summary>div{padding:17px}.finance-summary small{font-size:11px}.finance-note{font-size:11px}.board{grid-template-columns:1fr 1fr}.board-column{padding:10px}.deal-tile{padding:12px}.object-overview{gap:0}.panel .list-row{gap:10px}.panel-heading .button{font-size:12px;padding:7px 9px}.form-grid{grid-template-columns:1fr;gap:16px}.modal-body{padding:22px}.modal-heading{padding:20px 22px}.modal-heading h2{font-size:21px}.modal-footer{padding:16px 20px}.modal-footer>.helper{display:none}.modal-footer>div{width:100%;justify-content:flex-end}.new-client-fields{padding:16px}.archive-toggle{flex-wrap:wrap}.archive-toggle .helper{flex-basis:100%;margin-left:25px}.field input,.field select,.field textarea{font-size:16px;min-height:46px}.field>span{font-size:13px}#notice{left:50%;bottom:16px;width:max-content;font-size:12px}}
@media(max-width:390px){main{padding-inline:16px}.structure-list{grid-template-columns:1fr}.structure-row small{font-size:12px}.board{grid-template-columns:1fr}.finance-summary strong{font-size:18px}.platform-action{margin-left:0}.desktop-only{display:none}}
.sidebar-close,.menu-backdrop{display:none}
@media(max-width:760px){.sidebar-close{display:grid;position:absolute;right:9px;top:9px;color:#e3eae4}.sidebar-close:hover{background:#285b48}.menu-backdrop{display:block;position:fixed;inset:0;border:0;z-index:25;background:#1b302856}.sidebar.mobile-open{box-shadow:10px 0 35px #1b30282b}}
/* Оригинальный логотип ВЕСТАЛ, тот же файл и способ показа, что в программе потолков.
   Изображение не перерисовывается: рамка скрывает только пустые поля исходника. */
.sidebar{background:#242424;padding-top:20px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#56624f #242424}
.sidebar .brand{display:flex;flex-direction:column;align-items:center;gap:2px;padding:0;margin:0 0 24px;flex-shrink:0}
.brand-full-logo{display:block;width:154px;height:128px;position:relative;overflow:hidden;background:#242424}
.brand-full-logo img{position:absolute;width:306px;height:auto;max-width:none;left:-81px;top:-86px}
.brand-caption{font-size:10px;line-height:1.5;font-weight:400;letter-spacing:3px;color:#d2d6d0;margin-left:3px}
.brand-symbol{display:inline-block;position:relative;overflow:hidden;width:36px;height:36px;flex-shrink:0;border-radius:7px;background:#242424}
.brand-symbol img{position:absolute;width:144px;height:auto;max-width:none;left:-54px;top:-41.6px}
.mobile-brand{display:none;flex-shrink:0;align-items:center;justify-content:center;min-width:40px;min-height:44px}
.map-logo{width:44px;height:44px}.map-logo img{width:176px;left:-66px;top:-51px}
.sidebar nav,.sidebar .workspace-name,.sidebar .sidebar-divider,.sidebar .sidebar-bottom{flex-shrink:0}
.breadcrumb{min-width:0}
@media(max-width:760px){.mobile-brand{display:inline-flex}.topbar{gap:9px}.breadcrumb{font-size:11px;line-height:1.3}.sidebar.mobile-open{background:#242424}.sidebar-close:hover{background:#3b4536}}
/* В «Объектах» карточка соответствует одному договору, включая договоры одного направления. */
.object-direction-tabs{display:flex;gap:0;overflow-x:auto;max-width:100%;border-bottom:1px solid var(--line);margin:0 0 24px;scrollbar-width:thin;overscroll-behavior-x:contain}
.object-direction-tabs button{display:inline-flex;align-items:center;gap:8px;flex-shrink:0;min-height:49px;padding:10px 15px 15px;background:none;border:0;border-bottom:3px solid transparent;color:var(--muted);font-size:13px;white-space:nowrap}
.object-direction-tabs button:first-child{padding-left:0}.object-direction-tabs button:hover{color:var(--forest);background:#edf2e9}.object-direction-tabs button.selected{border-bottom-color:var(--forest);color:var(--forest);font-weight:600}
.object-direction-tabs button span{min-width:19px;text-align:center;border-radius:4px;padding:1px 5px;background:#e8eee2;color:#566b48;font-size:10px;font-variant-numeric:tabular-nums}
.kanban-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 12px}.kanban-toolbar p{font-size:12px;color:var(--muted)}.kanban-scroll-buttons{display:flex;gap:5px}.kanban-scroll-buttons .icon-button{width:33px;height:33px;background:white;border-color:var(--line)}.kanban-scroll-buttons .icon{width:16px;height:16px}.point-left{transform:rotate(180deg)}
.object-kanban-scroll{position:relative;width:100%;max-width:100%;overflow-x:auto;padding-bottom:15px;overscroll-behavior-x:contain;scrollbar-width:auto;scrollbar-color:#a8baa2 #e9eee6;scroll-snap-type:x proximity}
.object-kanban{display:grid;grid-auto-flow:column;grid-auto-columns:250px;gap:14px;min-height:420px;align-items:stretch;width:max-content}
.object-kanban-column{background:#edf1ea;border:1px solid #dfe5d9;border-top:3px solid #88a17b;border-radius:8px;padding:0 10px 16px;min-width:0;scroll-snap-align:start;transition:background 150ms,border-color 150ms}.object-kanban-column.finished{border-top-color:#2f814d}.object-kanban-column.declined{border-top-color:#b66e62}.object-kanban-column.correction{border-top-color:#ae853b}.object-kanban-column.accepting{border-top-color:#438a85}
.kanban-column-heading{min-height:56px;display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px 4px 6px}.kanban-column-heading h2{font-size:13px;line-height:1.35;max-width:185px}.kanban-column-heading>span{font-size:11px;padding:2px 6px;border-radius:4px;background:white;color:#4c6640;flex-shrink:0;font-variant-numeric:tabular-nums}
.kanban-column-total{font-size:11px;color:#65765c;border-bottom:1px solid #dce4d5;padding:0 4px 12px;margin-bottom:12px;min-height:30px;font-variant-numeric:tabular-nums}.kanban-column-cards{display:grid;gap:12px;align-content:start;min-height:300px}
.object-kanban-card{display:flex;flex-direction:column;gap:12px;background:white;border:1px solid #d4dfcd;border-radius:7px;padding:15px;min-width:0;overflow-wrap:anywhere;box-shadow:0 2px 3px #263b1d04}.object-kanban-card[draggable=true]{cursor:grab}.object-kanban-card[draggable=true]:active{cursor:grabbing}.object-kanban-card.is-dragging{opacity:.45}.object-kanban-column.drop-active{background:#dcebd3;border-color:#6f945c;outline:2px solid #6f945c;outline-offset:-3px}
.kanban-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.kanban-card-top .badge{font-size:10px;min-height:23px}.drag-hint{font-size:18px;line-height:1;color:#8d9f83;cursor:grab}.kanban-card-title{display:block;text-align:left;background:none;border:0;padding:0;white-space:normal;font-size:15px;font-weight:650;line-height:1.4;overflow-wrap:anywhere;color:var(--ink)}.kanban-card-title:hover{color:var(--forest);text-decoration:underline;text-underline-offset:3px}
.kanban-address,.kanban-client,.kanban-next{display:flex;gap:7px;align-items:flex-start;font-size:11px;color:var(--muted);line-height:1.5}.kanban-address .icon,.kanban-client .icon,.kanban-next .icon{width:14px;height:14px;margin-top:2px}.kanban-address>span,.kanban-client>span,.kanban-next>span{min-width:0;overflow-wrap:anywhere}.kanban-address small,.kanban-next small{display:block;font-size:10px;margin-top:3px}.kanban-address:hover{color:var(--forest);text-decoration:underline;text-underline-offset:3px}.kanban-contract-number{font-size:10px;color:var(--muted)}.kanban-amount{font-size:15px;font-variant-numeric:tabular-nums;padding-top:3px}.kanban-next{border-top:1px solid #e9eee5;padding-top:11px;font-size:10px}.kanban-next.danger{color:var(--red)}.kanban-card-footer{border-top:1px solid #e9eee5;padding-top:11px;display:flex;flex-direction:column;gap:9px}.kanban-owner{font-size:11px;color:#536a47}.kanban-stage-picker{display:block;min-width:0}.kanban-stage-picker select{font-size:11px;min-height:34px;width:100%;border:1px solid #dce4d6;border-radius:5px;background:#f8faf5;padding:6px 24px 6px 8px;cursor:pointer}.kanban-empty-column{display:flex;justify-content:center;text-align:center;color:#77856e;font-size:11px;line-height:1.6;padding:24px 15px}.kanban-empty-column .button{font-size:12px;background:#f8fbf5;border-style:dashed}
.contract-card-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:16px}.unassigned-addresses{border:1px solid var(--line);border-radius:7px;background:white;padding:12px 16px;margin-bottom:18px;font-size:12px}.unassigned-addresses summary{cursor:pointer;font-weight:550}.unassigned-addresses p{color:var(--muted);margin-top:12px}.unassigned-addresses>div{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);padding-top:12px;margin-top:12px}.contract-card-hint{background:#f0f5eb;border:1px solid #dfe8d6;border-radius:6px;padding:11px 13px}
@media(max-width:760px){.object-direction-tabs{margin-bottom:20px}.object-direction-tabs button{font-size:12px;min-height:45px;padding-inline:12px}.object-kanban{grid-auto-columns:260px;gap:10px;min-height:370px}.kanban-toolbar{gap:10px;align-items:flex-start}.kanban-toolbar p{font-size:11px;max-width:240px}.kanban-scroll-buttons .icon-button{width:34px;height:34px}.kanban-stage-picker select{font-size:16px;min-height:44px}.object-kanban-card{gap:13px}.kanban-card-title{font-size:16px}.kanban-address,.kanban-client{font-size:12px}.contract-card-list{grid-template-columns:1fr}.unassigned-addresses>div{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}
