:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:#1b2940;background:#f4f7fb;font-synthesis:none;--navy:#112448;--navy2:#1a3561;--blue:#246bd0;--cyan:#54b9de;--ink:#192b42;--muted:#64758e;--line:#e1e8f1;--paper:#fff;--soft:#f5f8fd;--success:#14775c;--danger:#b13e46;--shadow:0 12px 40px rgba(27,49,82,.06)}*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #64bbf0;outline-offset:2px}h1,h2,h3,p{margin:0}h1{font-size:clamp(25px,3vw,34px);line-height:1.2;letter-spacing:-.8px}h2{font-size:19px;letter-spacing:-.25px}h3{font-size:15px}.muted{color:var(--muted)}.small{font-size:12px}.text-sm{font-size:14px}.eyebrow{text-transform:uppercase;letter-spacing:1.4px;font-size:11px;font-weight:750;color:var(--blue)}.bold{font-weight:700}.logo-mark{font-size:24px;font-weight:850;letter-spacing:-1.4px;color:#fff}.logo-mark span{color:#62c9f1}.logo-mark.dark{color:var(--navy)}.loader{width:26px;height:26px;border:3px solid #cfdded;border-top-color:#2a7dd3;border-radius:50%;animation:spin .7s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.startup{min-height:100vh;display:grid;align-content:center;justify-items:center;gap:20px;color:#71809a}.startup .logo-mark{font-size:38px;color:#112448}.app-shell{display:grid;grid-template-columns:246px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(165deg,#12294f 0,#0e1c35 100%);color:#dce8fa;display:flex;flex-direction:column;padding:23px 14px;z-index:25}.sidebar-head{padding:3px 13px 24px}.sidebar-head .caption{font-size:10px;letter-spacing:2px;color:#86a4ce;margin-top:6px}.nav-group{margin-top:17px}.nav-title{padding:8px 13px;font-size:10px;letter-spacing:1.5px;text-transform:uppercase;color:#7896c1}.nav-link{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:10px;color:#bfcee3;background:transparent;text-align:left;padding:13px 14px;font-weight:600;font-size:14px}.nav-link:hover{background:#213b62}.nav-link.active{background:#28528b;color:#fff}.nav-icon{display:flex;width:21px;flex:none}.nav-icon svg{width:20px;height:20px;stroke-width:1.9}.sidebar-footer{margin-top:auto;border-top:1px solid #30476a;padding:18px 11px 5px}.user-bubble{background:#32679a;color:#fff;display:grid;place-items:center;border-radius:50%;width:34px;height:34px;font-weight:750;flex:none}.sidebar-user{display:flex;align-items:center;gap:10px}.sidebar-user .user-name{color:#fff;font-size:13px;font-weight:650}.sidebar-user small{color:#9db5d5;font-size:11px}.signout{border:0;background:transparent;color:#acc8e9;padding:13px 0 0;font-size:12px;display:flex;align-items:center;gap:7px}.main-pane{min-width:0}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);padding:0 clamp(16px,3vw,40px);display:flex;align-items:center;justify-content:space-between;gap:15px}.top-left{display:flex;align-items:center;gap:12px}.topbar-title{font-weight:750;font-size:14px}.topbar-sub{font-size:11px;color:var(--muted);margin-top:3px}.top-actions{display:flex;align-items:center;gap:11px}.avatar{width:37px;height:37px;border-radius:50%;background:#eaf0fa;color:#1c538b;display:grid;place-items:center;font-weight:800}.body-container{max-width:1470px;margin:0 auto;padding:29px clamp(16px,3vw,40px) 70px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:26px;flex-wrap:wrap}.page-heading p{color:var(--muted);margin-top:8px;font-size:14px}.section-head{display:flex;justify-content:space-between;align-items:center;gap:13px;margin-bottom:15px;flex-wrap:wrap}.section-head h2{margin:0}.section-head .muted{font-size:12px}.btn{border:1px solid transparent;padding:11px 17px;border-radius:9px;display:inline-flex;gap:9px;align-items:center;justify-content:center;font-size:13px;font-weight:700;line-height:1.3;white-space:nowrap;min-height:43px;transition:background .16s ease}.btn svg{width:17px;height:17px}.btn-primary{background:#246bd0;color:white}.btn-primary:hover{background:#1857b1}.btn-outline{border-color:#d5e0eb;background:white;color:#28476d}.btn-outline:hover{background:#f0f5fa}.btn-danger{color:#a53e46;background:#fff0f0;border-color:#f1ced1}.btn-soft{background:#edf3fc;color:#245eac}.btn-sm{min-height:36px;padding:8px 12px;font-size:12px}.btn-full{width:100%}.btn-icon{border:1px solid var(--line);width:42px;height:42px;background:white;border-radius:10px;display:inline-grid;place-items:center}.btn-icon svg{width:20px}.menu-toggle{display:none}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:11px;font-weight:750;padding:6px 10px;border-radius:99px;color:#51617c;background:#ebf0f8}.badge.active,.badge.published,.badge.approved{color:#097158;background:#def5eb}.badge.on_hold,.badge.review{color:#946321;background:#fff0d6}.badge.completed{color:#2863aa;background:#e5f0ff}.badge.archived,.badge.draft{color:#5d6c7f;background:#eff2f7}.badge.pending{color:#92611b;background:#fff0d6}.badge.suspended{color:#a64048;background:#ffeded}.badge.client{color:#315b95;background:#e8f0fc}.stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:29px}.stat-card,.card,.table-card,.feature-card{background:white;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.stat-card{padding:20px;position:relative;min-height:132px}.stat-card .stat-label{font-size:12px;color:#63768e}.stat-number{font-size:32px;font-weight:800;letter-spacing:-1px;margin-top:15px}.stat-foot{font-size:11px;color:#71839a;margin-top:7px}.stat-icon{position:absolute;right:16px;top:18px;background:#eff5fe;color:#3d73b0;padding:10px;border-radius:11px;display:flex}.stat-icon svg{height:20px;width:20px}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(275px,.9fr);gap:24px}.card{padding:22px}.feature-card{background:#12294f;color:white;padding:23px;overflow:hidden;position:relative}.feature-card:after{content:'';display:block;width:180px;height:180px;border:35px solid #254875;border-radius:50%;position:absolute;right:-110px;top:-95px;opacity:.65}.feature-card>*{position:relative;z-index:1}.feature-card h2{font-size:19px;margin:12px 0 9px}.feature-card p{color:#c5d6eb;font-size:13px;line-height:1.65}.feature-card .btn{margin-top:20px;color:#152d4e;background:white}.quick-actions{display:grid;gap:10px;margin-top:15px}.quick-action{border:1px solid var(--line);border-radius:11px;padding:13px 14px;display:flex;align-items:center;gap:12px;justify-content:space-between;background:white;cursor:pointer;text-align:left}.quick-action:hover,.project-list-row:hover{background:#f7faff}.quick-action .icon-circle{background:#eff5fc;color:#2a64ad;width:37px;height:37px;border-radius:10px;display:grid;place-items:center;flex:none}.quick-action .icon-circle svg{width:20px}.quick-action strong{font-size:13px}.quick-action small{font-size:11px;color:var(--muted)}.project-list{display:grid;gap:10px}.project-list-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;background:white;border:1px solid var(--line);border-radius:10px;text-align:left;cursor:pointer}.project-title{font-weight:750;font-size:14px}.project-sub{font-size:12px;color:var(--muted);margin-top:5px}.project-id{font-size:11px;letter-spacing:.6px;color:#4377ac;font-weight:750}.project-list-main{min-width:0}.project-list-trail{display:flex;align-items:center;gap:15px;flex:none}.data-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.project-card{background:white;border:1px solid var(--line);border-radius:13px;padding:20px;cursor:pointer;text-align:left;display:flex;flex-direction:column;gap:12px;min-height:175px}.project-card:hover{border-color:#9ebfe9;box-shadow:0 7px 22px rgba(28,88,160,.08)}.project-card h3{font-size:16px;line-height:1.35}.project-card .row{margin-top:auto}.row{display:flex;align-items:center;justify-content:space-between;gap:12px}.row.start{justify-content:flex-start}.filters{display:flex;gap:10px;margin-bottom:20px;align-items:center;flex-wrap:wrap}.search{min-width:260px;flex:1;max-width:450px}.input,select,textarea{background:#fff;border:1px solid #d7e0ed;border-radius:9px;color:#1c2d45;min-height:45px;padding:11px 12px;width:100%;font-size:14px}textarea{resize:vertical;min-height:105px;line-height:1.6}select{padding-right:20px}input:focus,textarea:focus,select:focus{border-color:#68a0e8;outline:2px solid #d9eaff;outline-offset:0}.field{display:grid;gap:7px}.field label{font-size:12px;color:#445a75;font-weight:700}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .span2{grid-column:1/-1}.toolbar-right{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.detail-meta{display:flex;gap:13px;flex-wrap:wrap;color:#61738b;font-size:13px;margin:13px 0}.detail-meta span{display:flex;gap:6px;align-items:center}.tabbar{display:flex;align-items:center;gap:3px;border-bottom:1px solid var(--line);margin-bottom:23px;overflow:auto}.tabbar button{background:transparent;border:0;border-bottom:3px solid transparent;padding:13px 17px;white-space:nowrap;color:#64758c;font-size:13px;font-weight:700}.tabbar button.active{color:#205fb2;border-bottom-color:#2671ce}.project-summary-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(275px,.9fr);gap:20px}.detail-list{display:grid;gap:15px}.detail-list div{display:grid;grid-template-columns:160px 1fr;gap:15px;font-size:13px;border-bottom:1px solid #edf1f6;padding-bottom:13px}.detail-list dt{color:#718099}.detail-list dd{margin:0;font-weight:600;overflow-wrap:anywhere}.table-card{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;min-width:650px}.data-table th{color:#61738b;background:#f7f9fc;font-size:11px;letter-spacing:.4px;padding:14px 17px;text-transform:uppercase}.data-table td{border-top:1px solid #edf1f5;padding:15px 17px;font-size:13px}.data-table tr:hover td{background:#fbfcff}.inline-link{color:#2369b9;border:0;background:transparent;text-decoration:underline;text-underline-offset:3px;font-weight:700;font-size:12px}.empty{padding:50px 24px;text-align:center;border:1px dashed #c8d6e7;border-radius:13px;background:#fff;display:grid;justify-items:center;gap:12px}.empty svg{width:34px;height:34px;color:#7595bc}.empty p{color:var(--muted);font-size:13px;max-width:440px;line-height:1.7}.empty h3{font-size:17px}.module-card{display:flex;justify-content:space-between;align-items:center;gap:14px;background:#fff;padding:18px;border:1px solid var(--line);border-radius:11px}.module-card strong{font-size:14px}.module-card small{color:var(--muted);font-size:12px;display:block;margin-top:6px}.activity-row{display:flex;align-items:flex-start;gap:12px;padding:14px 0;border-bottom:1px solid #ebf0f6;font-size:13px}.timeline-icon{width:29px;height:29px;flex:none;display:grid;place-items:center;color:#3c6d9f;background:#edf4fd;border-radius:50%}.timeline-icon svg{width:15px}.activity-row small{color:var(--muted);font-size:11px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,520px)}.auth-hero{background:linear-gradient(155deg,#0c1e3d,#1b4379);padding:64px clamp(30px,6vw,100px);display:flex;flex-direction:column;justify-content:space-between;color:white}.auth-hero h1{font-size:clamp(34px,5vw,55px);line-height:1.1;max-width:520px;margin:50px 0 20px}.auth-hero p{font-size:16px;color:#bbd2ed;max-width:490px;line-height:1.8}.auth-hero .outline-squares{margin-top:45px;display:grid;grid-template-columns:repeat(3,1fr);gap:13px;max-width:540px}.hero-square{border:1px solid #3b5c87;border-radius:12px;min-height:104px;padding:18px;display:grid;align-content:space-between;font-size:12px;color:#bcd4ec}.hero-square svg{width:27px;height:27px;color:#66c6e9}.auth-side{display:flex;align-items:center;justify-content:center;background:#f7f9fc;padding:35px}.auth-card{width:min(100%,390px)}.auth-card h2{font-size:28px;letter-spacing:-.6px;margin:0 0 8px}.auth-card>p{color:var(--muted);font-size:13px;line-height:1.7;margin-bottom:25px}.auth-form{display:grid;gap:17px}.auth-form .btn{margin-top:5px;min-height:49px}.auth-links{display:flex;justify-content:space-between;gap:12px;margin-top:20px}.auth-links button{background:transparent;border:0;color:#276aba;font-size:12px;font-weight:700;padding:4px 0}.notice{background:#e9f4ff;border:1px solid #cbe4fa;color:#254d72;border-radius:10px;padding:14px;line-height:1.6;font-size:12px}.notice.warning{background:#fff5e9;border-color:#f2ddb9;color:#7e531b}.notice.success{background:#e8f7ef;border-color:#ccefdc;color:#126e4b}.notice.error{background:#fff0f0;border-color:#f4ced0;color:#933c45}.notice strong{display:block;margin-bottom:3px}.pending-wrap{max-width:560px;margin:9vh auto;padding:20px}.pending-card{padding:32px;background:white;border:1px solid var(--line);border-radius:18px;text-align:center;display:grid;justify-items:center;gap:18px}.pending-card svg{width:50px;height:50px;color:#4d7da9}.pending-card h1{font-size:26px}.pending-card p{line-height:1.7;color:var(--muted);font-size:14px}.overlay{position:fixed;inset:0;background:rgba(9,24,44,.55);z-index:60;display:flex;align-items:center;justify-content:center;padding:18px}.modal{background:white;border-radius:16px;width:min(100%,630px);max-height:calc(100dvh - 36px);overflow:auto;box-shadow:0 30px 80px rgba(0,20,49,.25)}.modal-head{display:flex;align-items:start;justify-content:space-between;gap:13px;padding:24px 26px 18px;border-bottom:1px solid var(--line)}.modal-head h2{font-size:20px}.modal-head p{font-size:12px;color:var(--muted);margin-top:5px}.modal-body{padding:24px 26px}.modal-footer{display:flex;justify-content:flex-end;gap:10px;border-top:1px solid var(--line);padding:16px 26px}.code-output{text-align:center;font-size:43px;letter-spacing:9px;font-weight:850;color:#152e59;background:#f3f7fd;padding:20px 10px;border-radius:12px;margin:15px 0}.code-input{font-size:25px;letter-spacing:9px;text-align:center;font-weight:750;font-variant-numeric:tabular-nums}.report-sheet{background:white;color:#222;width:100%;padding:24px;border:1px solid #e0e5eb;border-radius:10px}.report-sheet header{border-bottom:3px solid #1b4f91;padding-bottom:16px;display:flex;align-items:center;justify-content:space-between}.report-sheet h2{font-size:18px;margin:25px 0 12px;color:#18477e}.report-sheet p{line-height:1.7;font-size:13px}.report-sheet table{width:100%;border-collapse:collapse;font-size:12px;margin:13px 0}.report-sheet th,.report-sheet td{padding:10px 9px;text-align:left;border:1px solid #dce3eb}.report-sheet th{background:#f0f4f9}.report-title{font-size:19px!important;font-weight:800;margin:25px 0 10px}.report-watermark{font-size:11px;color:#8c631d;background:#fff4dd;padding:6px 10px;border-radius:5px;display:inline-block}.report-summary{white-space:pre-wrap;overflow-wrap:break-word}.toast{position:fixed;right:20px;bottom:20px;background:#142b4c;color:#fff;padding:15px 19px;border-radius:10px;box-shadow:0 20px 50px rgba(0,0,0,.18);max-width:min(430px,calc(100vw - 40px));font-size:13px;z-index:90;line-height:1.5}.toast.error{background:#9f3443}.toast.success{background:#176950}.demo-banner{background:#fff4d9;color:#80581a;padding:10px 16px;text-align:center;font-size:12px}.mobile-backdrop{display:none}.text-block{line-height:1.75;color:#53677f;font-size:13px}.separator{height:1px;background:var(--line);margin:20px 0}.status-dot{width:8px;height:8px;border-radius:100%;background:#2ba98c;display:inline-block}.pill{display:inline-flex;gap:6px;background:#f0f6ff;color:#2b5792;padding:7px 10px;border-radius:40px;font-size:11px;font-weight:700}.link-card{background:#edf5ff;padding:17px;border-radius:12px;border:1px solid #d7e9fd;line-height:1.65}.mobile-only{display:none}.code-value{font-weight:750;font-size:14px;letter-spacing:.5px}#print-sheet{display:none}
@media(max-width:1150px){.stat-grid{grid-template-columns:repeat(2,1fr)}.data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-grid{grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:900px){.app-shell{grid-template-columns:1fr}.sidebar{position:fixed;left:0;top:0;bottom:0;width:270px;transform:translateX(-101%);transition:transform .2s ease;box-shadow:0 10px 30px #122a4a50}.sidebar.open{transform:translateX(0)}.mobile-backdrop.visible{display:block;position:fixed;inset:0;z-index:24;background:#07152680}.menu-toggle{display:grid}.topbar{height:65px}.body-container{padding-top:24px}.auth-shell{grid-template-columns:1fr}.auth-hero{display:none}.auth-side{min-height:100vh}.dashboard-grid,.project-summary-grid{grid-template-columns:1fr}}
@media(max-width:600px){.body-container{padding:20px 14px 80px}.page-heading{align-items:start;margin-bottom:21px}.page-heading .btn-primary{width:100%}.topbar{padding:0 14px}.topbar-title{font-size:13px}.topbar-sub{display:none}.top-actions .btn-outline{display:none}.stat-grid{gap:9px;margin-bottom:20px}.stat-card{min-height:113px;padding:14px}.stat-number{font-size:26px;margin-top:15px}.stat-label{font-size:11px;padding-right:27px}.stat-icon{padding:6px;right:10px;top:11px}.stat-icon svg{width:15px;height:15px}.data-grid{grid-template-columns:1fr;gap:11px}.dashboard-grid{gap:20px}.card{padding:18px}.feature-card{padding:20px}.filters{display:grid;grid-template-columns:1fr 1fr}.filters .search{grid-column:1/-1;min-width:0;max-width:none}.filters .btn{width:100%}.project-list-row{padding:15px;align-items:start}.project-list-trail{display:grid;gap:7px;justify-items:end}.form-grid{grid-template-columns:1fr}.form-grid .span2{grid-column:1}.detail-list div{grid-template-columns:1fr;gap:5px}.toolbar-right{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.toolbar-right .btn{width:100%}.modal-head,.modal-body,.modal-footer{padding-left:17px;padding-right:17px}.report-sheet{padding:15px}.report-sheet header .logo-mark{font-size:19px}.code-output{font-size:35px;letter-spacing:6px}.tabbar button{padding:12px 13px}.mobile-only{display:block}.auth-side{padding:20px}.auth-card h2{font-size:25px}.project-sub{max-width:200px}}
@media print{body{background:white!important}#app,#toast-area{display:none!important}#print-sheet{display:block!important;position:static!important;width:100%;padding:0}#print-sheet .report-sheet{border:0;padding:0;max-width:none}.report-sheet{break-inside:auto}.report-sheet header{break-inside:avoid} @page{size:A4;margin:14mm}}
