@font-face{font-family:Inter;src:url('./assets/Inter.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--navy:#0B1F3A;--deep:#0F2647;--core:#162D52;--gold:#E9B82A;--text:#152b46;--muted:#627287;--line:#dfe6ee;--bg:#f4f7fb;--white:#fff;--blue:#2A4F7C;--danger:#b52e3e;--green:#17775c;--radius:12px;font-family:Inter,Arial,sans-serif;font-size:16px;color:var(--text);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.4;cursor:default}button,input,select,textarea{outline-offset:3px}button:focus-visible,a:focus-visible{outline:3px solid var(--gold)}input:focus,select:focus,textarea:focus{outline:2px solid #87a7cf;border-color:#87a7cf}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}a{color:inherit}svg.icon{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{display:flex;min-height:100vh}.sidebar{width:254px;background:linear-gradient(155deg,var(--navy),var(--core));color:white;padding:28px 18px 20px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column;z-index:10}.brand{height:73px;padding:0 22px 16px}.brand img{width:146px;height:auto;max-height:60px;object-fit:contain}.workspace-tag{color:#a9bad2;font-size:.75rem;letter-spacing:.16em;text-transform:uppercase;margin:18px 14px 10px}.nav-home{display:flex;align-items:center;gap:12px;background:#ffffff13;border:1px solid #ffffff12;color:white;border-radius:9px;padding:13px 14px;font-size:.9rem;text-align:left}.nav-home svg{color:var(--gold)}.side-heading{display:flex;align-items:center;justify-content:space-between;margin:33px 10px 13px;color:#a9bad2;font-size:.8rem}.side-heading button{background:transparent;border:0;color:#d8e4f3;padding:3px;display:flex}.search-wrap{position:relative}.search-wrap svg{position:absolute;left:12px;top:11px;width:16px}.side-search{border:1px solid #ffffff26;border-radius:8px;width:100%;background:#ffffff08;color:white;padding:10px 12px 10px 36px;font-size:.875rem}.side-search::placeholder{color:#a9bad2}.client-list{overflow:auto;flex:1;margin:12px -3px}.client-item{display:flex;align-items:center;gap:11px;width:100%;text-align:left;padding:12px 10px;background:transparent;border:1px solid transparent;color:#c9d6e8;border-radius:9px;margin:4px 0}.client-item.active{background:#ffffff13;border-color:#ffffff18;color:white;box-shadow:inset 3px 0 var(--gold)}.avatar{width:35px;height:35px;border-radius:10px;background:#ffffff12;display:flex;align-items:center;justify-content:center;font-size:.8rem;font-weight:650;flex-shrink:0}.client-item.active .avatar{color:var(--gold);background:#e9b82a16}.client-item strong{font-size:.875rem;font-weight:550;display:block;line-height:1.5}.client-item small{font-size:.75rem;color:#a9bad2}.sidebar-bottom{border-top:1px solid #ffffff20;padding:18px 8px 0;font-size:.75rem;line-height:1.7;color:#a9bad2}.sidebar-bottom b{display:block;color:#dfebfa;font-weight:500}.sidebar-bottom .save-indicator{display:flex;align-items:center;gap:7px}.sidebar-bottom svg{width:15px}.main{margin-left:254px;width:calc(100% - 254px);min-width:0}.topbar{height:80px;background:#fff;border-bottom:1px solid var(--line);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{display:flex;align-items:center;gap:11px;font-size:.875rem;color:var(--muted)}.breadcrumb strong{color:var(--text);font-weight:500}.top-right{display:flex;align-items:center;gap:12px}.top-right .avatar{background:#edf2f8;color:var(--navy)}.version{font-size:.75rem;color:var(--muted);border:1px solid var(--line);padding:5px 8px;border-radius:5px}.content{padding:32px 38px 46px;max-width:1720px;margin:auto}.client-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px}.eyebrow{display:flex;align-items:center;gap:9px;font-size:.8rem;color:var(--muted);margin-bottom:9px}.eyebrow .country{font-weight:600;color:var(--blue)}h1{font-size:1.9rem;letter-spacing:-.045em;line-height:1.25;margin:0 0 10px;font-weight:650}h2{font-size:1.25rem;letter-spacing:-.025em;margin:0;font-weight:650}h3{margin:0;font-size:1rem;font-weight:600}p{line-height:1.65}.subtitle{margin:0;color:var(--muted);font-size:.875rem;display:flex;align-items:center;gap:7px}.header-actions{display:flex;align-items:center;gap:9px;margin-top:12px}.btn{border:1px solid var(--line);background:white;color:var(--text);padding:10px 14px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-size:.875rem;font-weight:550;min-height:40px;white-space:nowrap}.btn:hover{background:#edf2f8}.btn.gold{background:var(--gold);border-color:var(--gold);color:var(--navy)}.btn.gold:hover{background:#efca5c}.btn.navy{background:var(--navy);border-color:var(--navy);color:white}.btn.navy:hover{background:var(--blue)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.danger{color:var(--danger);border-color:#efd3d7}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:6px;border:0;border-radius:6px;color:var(--muted);background:transparent;min-width:30px;min-height:30px}.icon-btn:hover{background:#e9eef6;color:var(--navy)}.icon-btn svg{width:17px;height:17px}.demo-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#6c5720;background:#fff9e7;border:1px solid #f0e4b9;border-radius:8px;padding:10px 13px;font-size:.8rem;margin-top:21px;line-height:1.5}.demo-notice span{display:flex;align-items:center;gap:9px}.demo-notice svg{width:17px}.demo-notice button{font-size:.8rem;border:0;background:transparent;color:#735913;font-weight:600;white-space:nowrap}.stats{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:15px;margin:23px 0 28px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;min-height:118px}.stat-label{font-size:.8rem;color:var(--muted);display:flex;align-items:center;justify-content:space-between;gap:9px}.stat-label svg{width:17px;height:17px;color:#8899ad}.stat-number{display:flex;align-items:baseline;gap:8px;font-size:1.75rem;letter-spacing:-.04em;margin-top:9px;font-weight:600}.stat-number small{font-size:.8rem;color:var(--muted);font-weight:400;letter-spacing:0}.stat-number.red{color:var(--danger)}.stat-number.amber{color:#8b6208}.progress-track{height:5px;border-radius:5px;background:#edf1f6;margin-top:13px;overflow:hidden}.progress-track span{display:block;height:100%;background:var(--gold);border-radius:5px}.workspace{background:white;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.workspace-head{padding:19px 22px 0;display:flex;align-items:center;justify-content:space-between;gap:15px}.workspace-title{display:flex;gap:10px;align-items:center}.workspace-title small{color:var(--muted);font-size:.75rem;white-space:nowrap}.workspace-head .btn{min-height:34px;padding:7px 11px;font-size:.8rem}.workspace-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--line);padding:17px 22px 0}.tabs{display:flex;gap:22px}.tab{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;color:var(--muted);display:flex;align-items:center;gap:7px;padding:0 0 14px;font-size:.875rem}.tab.active{color:var(--navy);border-bottom-color:var(--gold);font-weight:600}.tab svg{width:17px;height:17px}.filters{display:flex;gap:8px;padding-bottom:12px}.filter{border:1px solid var(--line);padding:7px 28px 7px 10px;border-radius:7px;background:white;color:var(--muted);font-size:.8rem;max-width:190px}.filter.active{color:var(--navy);border-color:#9fb6d1;background:#f5f8fc}.stage{border-bottom:1px solid var(--line)}.stage:last-child{border-bottom:0}.stage-head{padding:16px 20px;display:flex;align-items:center;gap:10px;background:#f8fafc;min-height:68px}.stage-number{width:28px;height:28px;border-radius:7px;background:#e9eef6;color:var(--blue);display:flex;align-items:center;justify-content:center;font-size:.75rem;font-weight:600}.stage-name{font-size:.925rem;font-weight:600;border:0;background:transparent;padding:0;text-align:left;color:var(--text);line-height:1.5}.stage-name:hover{text-decoration:underline;text-underline-offset:4px}.stage-count{font-size:.75rem;color:var(--muted);margin-left:3px}.stage-actions{display:flex;align-items:center;gap:1px;margin-left:auto}.stage-add{margin-left:9px;font-size:.8rem;background:transparent;border:0;display:flex;gap:5px;align-items:center;color:var(--blue);padding:6px}.stage-add svg{width:16px;height:16px}.table-scroll{overflow:auto}.steps-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:890px;text-align:left}.steps-table th{font-size:.7rem;text-transform:uppercase;letter-spacing:.045em;color:#6e7e91;font-weight:550;padding:12px 13px;border-bottom:1px solid #edf0f5}.steps-table td{padding:16px 13px;border-bottom:1px solid #edf0f5;vertical-align:middle;font-size:.8rem;line-height:1.5}.steps-table tr:last-child td{border-bottom:0}.steps-table tr:hover{background:#fafcff}.steps-table th:first-child,.steps-table td:first-child{padding-left:22px}.step-title-wrap{display:flex;align-items:flex-start;gap:11px}.check{border:1.5px solid #c4d0de;width:19px;height:19px;min-width:19px;min-height:19px;border-radius:5px;margin-top:2px;display:flex;align-items:center;justify-content:center;color:white;background:white;padding:0}.check.done{background:var(--green);border-color:var(--green)}.check svg{width:14px;height:14px}.step-title{font-size:.875rem;font-weight:500;text-align:left;background:transparent;border:0;color:var(--text);padding:0;line-height:1.55;display:block}.step-title:hover{color:var(--blue);text-decoration:underline;text-underline-offset:3px}.step-complete .step-title{color:#728196}.step-secondary{font-size:.75rem;color:#8190a2;margin-top:5px;display:flex;align-items:center;gap:5px}.step-secondary svg{width:13px;height:13px}.date-range{white-space:nowrap;line-height:1.65}.date-range small{font-size:.7rem;color:var(--muted);display:block}.deadline{white-space:nowrap}.deadline.late{color:var(--danger);font-weight:550}.deadline.soon{color:#946908;font-weight:550}.deadline small{display:block;font-size:.7rem;margin-top:3px}.owner-chip{display:flex;align-items:center;gap:7px}.owner-initial{width:25px;height:25px;background:#eaf0f8;color:var(--blue);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.65rem;font-weight:600;flex-shrink:0}.owner-initial.customer{background:#fbf2d7;color:#896615}.owner-chip small{display:block;color:var(--muted);font-size:.7rem}.status-select{font-size:.75rem;border:1px solid transparent;border-radius:6px;padding:6px 20px 6px 8px;max-width:135px;width:100%;background:#edf1f6;color:#5d6d82;cursor:pointer}.status-1{background:#eaf1fc;color:#2b5d9d}.status-2{background:#fff4d9;color:#856016}.status-3{background:#e8f5ef;color:#1b775c}.row-tools{display:flex;flex-direction:column}.row-tools .icon-btn{min-height:24px;height:24px;padding:2px}.row-tools svg{width:14px;height:14px}.empty-stage{padding:24px;text-align:center;font-size:.875rem;color:var(--muted)}.empty-stage button{margin-left:8px;color:var(--blue);background:transparent;border:0;text-decoration:underline}.add-stage-bottom{background:transparent;border:1px dashed #bac9db;padding:13px;width:calc(100% - 40px);margin:20px;border-radius:8px;color:var(--blue);display:flex;justify-content:center;align-items:center;gap:7px;font-size:.875rem}.add-stage-bottom:hover{background:#f4f7fb}.footer-hint{display:flex;justify-content:space-between;gap:15px;margin-top:15px;color:#8190a2;font-size:.75rem;line-height:1.6}.footer-hint span{display:flex;align-items:center;gap:6px}.footer-hint svg{width:14px}.empty{padding:65px 24px;text-align:center;color:var(--muted)}.empty h2{color:var(--text);margin:14px 0 8px}.empty .icon{width:35px;height:35px;color:#7c94b0}.empty p{font-size:.875rem;margin:0 0 22px}.empty .btn{display:inline-flex}.dragging{opacity:.4}.drop-target{outline:2px solid var(--gold);outline-offset:-2px}.gantt-scroll{overflow:auto;padding:20px 22px 25px}.gantt{min-width:900px}.gantt-scale{display:grid;grid-template-columns:250px 1fr;font-size:.75rem;color:var(--muted);border-bottom:1px solid var(--line);padding-bottom:12px}.gantt-dates{display:flex;justify-content:space-between}.gantt-stage{font-size:.875rem;font-weight:600;padding:20px 0 8px;display:flex;align-items:center;gap:9px}.gantt-row{display:grid;grid-template-columns:250px 1fr;align-items:center;min-height:48px;border-bottom:1px solid #edf1f6}.gantt-row>button{border:0;background:transparent;color:var(--text);text-align:left;font-size:.8rem;padding:10px 20px 10px 0}.gantt-track{height:31px;position:relative;background:repeating-linear-gradient(to right,transparent 0,transparent calc(25% - 1px),#e9eef5 calc(25% - 1px),#e9eef5 25%)}.gantt-bar{position:absolute;top:5px;height:22px;min-width:8px;border:0;border-radius:5px;background:#335e91;color:white;font-size:.65rem;overflow:hidden;white-space:nowrap;text-align:left;padding:2px 6px}.gantt-bar.complete{background:#66a88c}.gantt-bar.late{background:#bc5060}.gantt-bar.soon{background:#d4a927;color:var(--navy)}.gantt-today{position:absolute;top:0;bottom:0;width:1px;background:#dfad23;z-index:1;pointer-events:none}.no-date{font-size:.75rem;color:#8999ad;padding:7px 0}.gantt-legend{display:flex;gap:20px;align-items:center;font-size:.75rem;color:var(--muted);margin-top:22px}.gantt-legend span{display:flex;align-items:center;gap:7px}.gantt-legend i{width:16px;height:8px;border-radius:3px;background:#335e91}.gantt-legend .today-line{width:2px;height:14px;background:#dfad23}dialog{border:1px solid var(--line);border-radius:16px;padding:0;width:540px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 40px);color:var(--text);box-shadow:0 30px 100px #0b1f3a30;background:white}dialog::backdrop{background:#0b1f3a66;backdrop-filter:blur(3px)}dialog.drawer{margin:0 0 0 auto;height:100dvh;max-height:100dvh;width:480px;border-radius:0;border:0;border-left:1px solid var(--line);max-width:100vw}dialog.wide{width:960px}.dialog-head{padding:24px 26px 18px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;border-bottom:1px solid var(--line)}.dialog-head .eyebrow{margin:0 0 8px}.dialog-head h2{line-height:1.4}.dialog-body{padding:23px 26px;overflow:auto}.dialog-body>p:first-child{margin-top:0}.dialog-footer{display:flex;justify-content:flex-end;align-items:center;gap:9px;padding:18px 26px;border-top:1px solid var(--line);background:#fbfcfe;position:sticky;bottom:0;z-index:2}.dialog-footer .left{margin-right:auto}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 15px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field>label,.field>span{font-size:.8rem;font-weight:550;color:var(--text)}input:not([type=checkbox]),select:not(.status-select),textarea{min-height:40px}input,textarea,.field select{border:1px solid #d4dfe9;border-radius:7px;padding:10px 11px;background:white;color:var(--text);font-size:.875rem;width:100%;min-width:0}textarea{resize:vertical;line-height:1.6;min-height:88px}.field small{font-size:.75rem;line-height:1.5;color:var(--muted)}.divider-label{grid-column:1/-1;border-top:1px solid var(--line);padding-top:21px;margin-top:2px;text-transform:uppercase;letter-spacing:.09em;color:var(--muted);font-size:.7rem;font-weight:600}.field input[type=date]{font-size:.8rem}.segmented{display:flex;gap:8px}.segmented label{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:7px;padding:9px 11px;font-size:.8rem;flex:1;cursor:pointer}.segmented label:has(input:checked){border-color:var(--blue);background:#f1f6fc}.segmented input{width:auto;min-height:0;padding:0;accent-color:var(--blue)}.error{background:#fff0f0;border:1px solid #efc5cb;color:var(--danger);padding:11px 13px;border-radius:8px;font-size:.8rem;line-height:1.6;margin-bottom:15px}.note-box{font-size:.8rem;color:var(--muted);padding:12px 14px;background:#f4f7fb;border-radius:8px;line-height:1.7}.checkbox-label{display:flex;align-items:center;gap:8px;font-size:.875rem;cursor:pointer}.checkbox-label input{accent-color:var(--blue);width:17px;height:17px}.export-options{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.export-options small{font-size:.75rem;color:var(--muted)}.preview-paper{border:1px solid var(--line);box-shadow:0 4px 18px #0b1f3a08;border-radius:5px;padding:28px;background:white;overflow:auto}.preview-logo{width:160px;height:auto;display:block;margin-bottom:24px}.preview-paper h2{margin-bottom:8px}.preview-paper .meta{font-size:.8rem;color:var(--muted);margin-bottom:20px}.preview-paper table{width:100%;border-collapse:collapse;font-size:.75rem;min-width:600px;line-height:1.6}.preview-paper th{background:var(--navy);color:white;text-align:left;padding:10px;font-weight:500}.preview-paper td{padding:10px;vertical-align:top;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.preview-paper .group-row td{background:#eef2f8;color:var(--navy);font-weight:650}.preview-paper td strong{font-weight:600}.preview-paper td small{display:block;color:var(--muted);font-size:.7rem}.preview-paper .preview-note{margin-top:7px;color:#65758a;font-style:italic}.preview-footer{color:var(--muted);font-size:.7rem;padding-top:20px;display:flex;justify-content:space-between;gap:12px}#toast{position:fixed;bottom:25px;left:calc(50% + 100px);transform:translateX(-50%) translateY(20px);padding:13px 20px;background:var(--navy);color:white;border:1px solid #ffffff30;box-shadow:0 10px 40px #0b1f3a22;border-radius:9px;font-size:.875rem;max-width:calc(100vw - 40px);opacity:0;pointer-events:none;transition:.2s;z-index:99}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-menu{display:none}.muted{color:var(--muted)}.small{font-size:.8rem}.danger-text{color:var(--danger)}.template-list{display:flex;flex-direction:column;gap:10px}.template-card{border:1px solid var(--line);border-radius:9px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.template-card strong{font-size:.9rem}.template-card small{display:block;font-size:.75rem;margin-top:6px;color:var(--muted)}.template-card .actions{display:flex;gap:5px}.empty-inline{padding:20px;text-align:center;font-size:.875rem;color:var(--muted)}
@media(min-width:1500px){.content{padding-top:38px}.steps-table td{padding-top:20px;padding-bottom:20px}}
@media(max-width:1180px){.sidebar{width:220px;padding-left:14px;padding-right:14px}.main{margin-left:220px;width:calc(100% - 220px)}.content{padding:26px 24px}.topbar{padding:0 24px}.client-header{flex-wrap:wrap;gap:4px}.header-actions{margin-top:13px}.workspace-head{flex-wrap:wrap}.workspace-toolbar{flex-wrap:wrap;padding-top:18px}.filters{margin-left:auto}.stats{margin-top:20px}h1{font-size:1.75rem}}
@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:254px}.sidebar.open{transform:translateX(0);box-shadow:0 0 0 100vmax #0b1f3a50}.main{margin-left:0;width:100%}.mobile-menu{display:inline-flex}.topbar{height:65px;padding:0 16px}.breadcrumb{font-size:.8rem;gap:7px}.breadcrumb>span{display:none}.version{display:none}.content{padding:24px 16px}.client-header{gap:4px}.header-actions{width:100%;gap:7px;margin-top:16px}.header-actions .btn{padding:9px 12px}.stats{grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.stat{padding:15px;min-height:105px}.stat:first-child{grid-column:1/-1}.stat-number{font-size:1.5rem}.stat:first-child .stat-number{margin-top:5px}.workspace-head{padding:17px 15px 0;gap:10px}.workspace-title{flex-wrap:wrap}.workspace-title h2{font-size:1.1rem}.workspace-toolbar{padding:18px 15px 0;gap:7px}.filters{width:100%;margin:0;padding-bottom:13px}.filter{flex:1;max-width:50%}.stage-head{padding:14px 10px;gap:6px;flex-wrap:wrap}.stage-name{font-size:.85rem}.stage-count{display:none}.stage-actions{gap:0}.stage-actions .stage-move{display:none}.stage-add{margin-left:3px;font-size:.75rem}.footer-hint{flex-direction:column;gap:4px}.demo-notice{font-size:.75rem;align-items:flex-start}.demo-notice button{font-size:.75rem}.demo-notice span{align-items:flex-start}.demo-notice svg{flex-shrink:0;margin-top:2px}dialog .dialog-body{padding:20px}dialog .dialog-head{padding:20px}dialog .dialog-footer{padding:16px 20px;flex-wrap:wrap}.dialog-footer .btn{flex:1}.dialog-footer .left{flex:0 0 auto}.form-grid{gap:16px 12px}.export-options{align-items:flex-start;flex-direction:column}.preview-paper{padding:18px}#toast{left:50%}.top-right{gap:4px}.stage-number{width:24px;height:24px}.stage-head>.icon-btn{min-width:22px;width:22px;padding:2px}}
[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
