:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182b3c;background:#f6f8f9;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}a{color:#1764a2;text-decoration:none}a:hover{text-decoration:underline}.app-shell{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:100vh}.sidebar{background:#102b42;color:#e8f0f5;padding:28px 18px;display:flex;flex-direction:column;gap:30px}.brand{display:flex;align-items:center;gap:12px;padding:0 10px}.brand-mark{width:38px;height:38px;border-radius:11px;background:#54bdb2;display:grid;place-items:center;color:#102b42;font-weight:900;font-size:20px}.brand-name{font-size:18px;font-weight:800;letter-spacing:-.03em}.brand-sub{font-size:11px;color:#a9c0cc;margin-top:2px}.nav{display:grid;gap:6px}.nav button{width:100%;border:0;background:transparent;color:#b8ccd6;text-align:left;padding:12px 14px;border-radius:10px;display:flex;align-items:center;gap:11px}.nav button:hover,.nav button.active{background:#20445d;color:#fff}.nav .ico{width:22px;text-align:center;font-size:17px}.sidebar-bottom{margin-top:auto;padding:16px 12px 0;border-top:1px solid #31526a;color:#a9c0cc;font-size:12px;line-height:1.5}.main{min-width:0}.topbar{height:76px;display:flex;align-items:center;justify-content:space-between;padding:0 40px;border-bottom:1px solid #e7ecef;background:#fff}.crumb{font-size:13px;color:#6b7e8b}.top-actions{display:flex;align-items:center;gap:12px}.country{border:1px solid #d7e2e7;border-radius:100px;padding:8px 13px;background:#f8fbfb;color:#244359;font-size:13px;font-weight:700}.country .flag{font-size:16px;margin-right:6px}.status-dot{width:8px;height:8px;border-radius:50%;background:#36ae7c;display:inline-block;margin-right:5px}.content{padding:35px 40px 60px;max-width:1500px;margin:auto}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px}.eyebrow{text-transform:uppercase;letter-spacing:.11em;color:#378f8a;font-weight:800;font-size:11px;margin:0 0 10px}.pagehead h1{font-size:30px;letter-spacing:-.045em;margin:0;color:#102b42;line-height:1.2}.subtitle{color:#71818e;margin:10px 0 0;max-width:680px;line-height:1.5}.btn{border:1px solid #d7e2e7;background:#fff;color:#26445b;border-radius:9px;min-height:39px;padding:9px 15px;font-weight:700;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{border-color:#8eb8c3;background:#f8fbfc}.btn.primary{background:#126b92;color:white;border-color:#126b92}.btn.primary:hover{background:#0d5778}.btn.soft{background:#e6f4f3;border-color:#d1ebe7;color:#187870}.btn.danger{color:#ae4148}.btn:disabled{opacity:.45;cursor:not-allowed}.button-row{display:flex;gap:9px;flex-wrap:wrap}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.metric{background:#fff;border:1px solid #e2e9ed;border-radius:14px;padding:22px;box-shadow:0 3px 16px rgba(15,43,66,.03)}.metric small{color:#6e8190;font-weight:700}.metric strong{display:block;font-size:28px;color:#102b42;margin-top:12px;letter-spacing:-.04em}.metric span{color:#6f8190;font-size:12px}.card{background:#fff;border:1px solid #e2e9ed;border-radius:14px;box-shadow:0 3px 16px rgba(15,43,66,.03);overflow:hidden}.card.pad{padding:24px}.card-title{font-size:17px;font-weight:800;color:#16354a;margin:0 0 6px}.muted{color:#71818e}.small{font-size:12px}.section-title{margin:31px 0 16px;font-size:18px;color:#17364b}.empty{padding:48px 24px;text-align:center;color:#71818e}.empty .empty-icon{width:56px;height:56px;border-radius:16px;background:#e7f4f2;color:#258c84;display:grid;place-items:center;font-size:25px;margin:0 auto 15px}.empty h3{color:#1d3d50;margin:0 0 7px}.empty p{margin:0 auto 17px;max-width:380px;line-height:1.5}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left}th{background:#f8fafb;color:#728594;font-size:11px;text-transform:uppercase;letter-spacing:.07em;padding:13px 16px;white-space:nowrap}td{padding:15px 16px;border-top:1px solid #edf1f3;font-size:13px;vertical-align:middle}tr:hover td{background:#fbfcfc}.name-cell{font-weight:750;color:#17364b}.subcell{color:#81909c;font-size:11px;margin-top:4px}.badge{display:inline-block;border-radius:100px;font-size:11px;font-weight:800;padding:6px 10px;background:#eaf2f6;color:#386b83}.badge.draft{background:#fff3dd;color:#95630b}.badge.review{background:#e5f0ff;color:#315da2}.badge.done{background:#e4f6eb;color:#2d8255}.filters{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:18px}.search,.select{border:1px solid #d9e3e8;border-radius:9px;background:#fff;color:#1c394e;padding:10px 12px;min-height:40px}.search{min-width:260px;flex:1}.select{min-width:150px}.link-button{border:0;background:none;padding:0;color:#176d92;font-weight:700;text-align:left}.link-button:hover{text-decoration:underline}.notice{background:#eff8f7;border:1px solid #d5eeeb;color:#316d6b;border-radius:11px;padding:13px 16px;font-size:13px;line-height:1.45}.notice.warn{background:#fff8e9;border-color:#f2e1bb;color:#805d1e}.notice.error{background:#fff0f0;border-color:#f0d2d2;color:#9d4141}.steps{display:flex;gap:4px;overflow-x:auto;margin:22px 0 25px;padding:4px 0}.step{border:0;border-bottom:3px solid #e1e8ea;background:transparent;color:#80909a;min-width:120px;flex:1;padding:8px 8px 13px;text-align:left;font-weight:750;font-size:12px}.step.active{color:#126b92;border-color:#1791b2}.step.done{color:#318879;border-color:#7cc6ba}.step-num{display:inline-grid;place-items:center;width:23px;height:23px;border-radius:50%;background:#e6ecf0;margin-right:6px}.step.active .step-num{background:#126b92;color:#fff}.step.done .step-num{background:#bce6dc;color:#226b5d}.work-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;align-items:start}.form-card{padding:25px}.form-card h2{font-size:21px;letter-spacing:-.03em;color:#17364b;margin:0 0 7px}.form-card p.intro{margin:0 0 23px;color:#738593;line-height:1.45;font-size:13px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.field{display:grid;gap:7px}.field.full{grid-column:1/-1}.field label{font-size:12px;font-weight:800;color:#3c586a}.field input,.field select,.field textarea{border:1px solid #d8e3e8;border-radius:9px;background:#fff;color:#17364b;padding:10px 11px;width:100%;min-height:41px}.field input:focus,.field select:focus,.field textarea:focus,.search:focus{outline:2px solid #a9dcd7;outline-offset:1px}.field .hint{font-size:11px;color:#82919c;line-height:1.35}.aside{position:sticky;top:20px}.aside .card{padding:20px}.aside h3{font-size:14px;margin:0 0 16px;color:#17364b}.summary-row{display:flex;justify-content:space-between;gap:14px;padding:11px 0;border-top:1px solid #eef1f2;font-size:12px}.summary-row span{color:#71818e}.summary-row strong{color:#18394f;text-align:right}.summary-row.total strong{font-size:16px;color:#126b92}.progress-track{height:7px;border-radius:20px;background:#e5ecee;overflow:hidden;margin:10px 0}.progress-fill{height:100%;background:#56b9ad;border-radius:20px}.panel-actions{display:flex;justify-content:space-between;gap:10px;padding-top:24px;margin-top:24px;border-top:1px solid #ecf1f2}.line-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 12px}.line-toolbar h3{margin:0;font-size:15px;color:#214258}.line-table th,.line-table td{padding:12px}.line-table input,.line-table select{width:100%;min-width:110px;border:1px solid #d9e3e8;border-radius:7px;padding:8px;background:#fff}.line-table .amount{min-width:130px}.icon-button{border:0;background:#fff1f1;color:#a64e50;border-radius:7px;padding:8px 10px}.breakdown{display:grid;gap:10px}.breakdown-item{border:1px solid #e4ebee;border-radius:10px;padding:14px 16px;display:flex;justify-content:space-between;gap:14px;align-items:center}.breakdown-item strong{color:#17364b}.breakdown-item small{color:#7c8e98;display:block;margin-top:4px}.breakdown-item b{font-size:15px;color:#176d92;white-space:nowrap}.check-list{display:grid;gap:10px}.check{display:flex;gap:12px;padding:14px 16px;border:1px solid #e2e9ec;border-radius:10px;background:#fff;font-size:13px;line-height:1.5}.check .check-icon{color:#bd8627;font-size:16px}.check.ok .check-icon{color:#3c9d73}.check strong{display:block;color:#214258}.source-list{display:grid;gap:12px}.source-list a{display:block;background:white;border:1px solid #e1e9ec;border-radius:10px;padding:14px 16px;font-size:13px;font-weight:700}.source-list small{display:block;color:#85949c;font-weight:400;margin-top:5px}.money{font-variant-numeric:tabular-nums}.print-only{display:none}.hide{display:none!important}@media(max-width:1050px){.work-layout{grid-template-columns:1fr}.aside{position:static}.grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.app-shell{display:block}.sidebar{padding:12px;gap:8px}.brand{padding:2px 5px}.sidebar-bottom{display:none}.nav{display:flex;overflow-x:auto}.nav button{white-space:nowrap;width:auto}.topbar{height:54px;padding:0 17px}.content{padding:24px 17px 50px}.pagehead{display:block}.pagehead .button-row{margin-top:18px}.pagehead h1{font-size:26px}.grid.two,.grid.three,.fields{grid-template-columns:1fr}.field.full{grid-column:auto}.step{min-width:116px}.filters .search{min-width:100%}}@media print{body{background:#fff}.sidebar,.topbar,.no-print,.steps,.panel-actions,.aside,.pagehead .button-row{display:none!important}.app-shell{display:block}.content{padding:0;max-width:none}.pagehead{margin-bottom:15px}.print-only{display:block}.card{box-shadow:none;border-color:#ddd}.work-layout{display:block}.form-card{padding:0;border:0}.line-table input,.line-table select{border:0}.notice{border:1px solid #ccc}}
