@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{--navy:#17212e;--navy2:#202d3c;--bg:#f2f5f8;--line:#e2e8ef;--text:#253447;--muted:#7c8a9a;--blue:#2878d0;--gold:#d5a84c}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px Inter,Arial,sans-serif}a{text-decoration:none;color:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:246px;flex-shrink:0;background:var(--navy);color:#d3dce6;display:flex;flex-direction:column;min-height:100vh}.brand{height:82px;padding:17px 18px;display:flex;align-items:center;gap:11px;border-bottom:1px solid #2d3947}.brand-mark{width:42px;height:42px;border-radius:9px;background:linear-gradient(145deg,#e5c16d,#a97920);display:grid;place-items:center;color:#152130;font-size:13px;font-weight:900;letter-spacing:-1px;box-shadow:0 3px 12px #0002}.brand b{font-size:12px;letter-spacing:.8px;color:#fff;display:block}.brand small{font-size:9px;letter-spacing:2px;color:#8292a4;display:block;margin-top:5px}.side-caption{padding:25px 20px 9px;font-size:9px;letter-spacing:1.7px;font-weight:800;color:#748496}nav{padding:0 10px}nav a{height:42px;padding:0 12px;display:flex;align-items:center;gap:12px;border-radius:5px;color:#adbac8;font-size:12px;margin:2px 0;transition:.15s}nav a>span{font-size:17px;width:18px;text-align:center;color:#8d9cad}nav a:hover,nav a.active{background:#2a3b4e;color:white}nav a.active{box-shadow:inset 3px 0 #d7ad55}nav a.active>span{color:#e4c16f}nav a i{margin-left:auto;font-style:normal;font-size:10px;background:#35495d;padding:3px 7px;border-radius:9px}.sidebar-bottom{margin-top:auto;padding:15px 16px;border-top:1px solid #2d3947}.server-status{display:flex;align-items:center;gap:9px;font-size:11px;color:#d5dee8}.server-status small{display:block;color:#7f90a1;margin-top:4px;font-size:10px}.dot{width:7px;height:7px;display:inline-block;border-radius:50%;background:#37bf88;margin-right:5px}.logout{display:block;color:#aab7c5;font-size:11px;margin-top:18px;padding:8px 4px}.main-area{min-width:0;flex:1}.topbar{height:66px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px}.crumb{font-size:12px;color:#718095}.crumb span{padding:0 10px;color:#b6c0ca}.top-actions{display:flex;align-items:center;gap:11px}.env-pill,.subtle-tag{font-size:9px;font-weight:800;letter-spacing:1px;padding:6px 8px;border-radius:3px;background:#edf4fc;color:#3976b7}.avatar{width:31px;height:31px;display:grid;place-items:center;background:#263b52;color:#f3d38c;border-radius:50%;font-weight:700}.user-label{font-size:11px;font-weight:700}.user-label small{display:block;color:#8794a3;font-size:10px;font-weight:400;margin-top:4px}.content{padding:28px 32px 18px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:9px;color:#8b9aaa;letter-spacing:1.7px;font-weight:800;margin-bottom:8px}.page-heading h1{margin:0;font-size:25px;letter-spacing:-.7px;font-weight:700;color:#1e2d3d}.page-heading p{color:#8794a3;font-size:12px;margin:8px 0 0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:4px;border:1px solid transparent;font:600 11px Inter,Arial;cursor:pointer}.btn.primary{background:#2778cf;color:white;box-shadow:0 2px 4px #1c69b81f}.btn.primary:hover{background:#1f68b5}.btn.full{width:100%;margin-top:20px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:19px}.stat-card,.panel{background:#fff;border:1px solid #e4e9ef;border-radius:5px;box-shadow:0 2px 4px #21384b04}.stat-card{padding:19px 20px}.stat-top{display:flex;justify-content:space-between;align-items:center;color:#78889a;font-size:11px;font-weight:600}.stat-icon{width:34px;height:34px;border-radius:6px;display:grid;place-items:center;font-size:16px}.blue{background:#eaf3ff;color:#3984d6}.green{background:#e5f8f0;color:#2ba77c}.gold{background:#fbf3df;color:#b88a2d}.purple{background:#f0eaff;color:#8d70cc}.stat-card strong{display:block;font-size:29px;letter-spacing:-1px;margin:13px 0 4px;color:#253649}.stat-card>small{font-size:10px;color:#9aa5b2}.two-col{display:grid;grid-template-columns:1.2fr 1fr;gap:18px;margin-bottom:18px}.panel{margin-bottom:18px;overflow:hidden}.panel-head{padding:19px 21px;border-bottom:1px solid #edf0f4;display:flex;align-items:center;justify-content:space-between}.panel-head h2{font-size:13px;margin:0;color:#2a394b}.panel-head p{font-size:10px;color:#96a1ad;margin:6px 0 0}.activity-list{padding:4px 21px 12px}.activity-item{display:flex;align-items:flex-start;gap:11px;padding:13px 0;border-bottom:1px solid #f0f2f5}.activity-item:last-child{border:0}.activity-bullet{width:7px;height:7px;background:#5c9de1;border-radius:50%;margin-top:4px;flex-shrink:0}.activity-item b{font-size:11px;font-weight:600}.activity-item p{font-size:10px;color:#8d9aa8;margin:4px 0 0}.activity-item time{margin-left:auto;font-size:9px;color:#a3adb8;white-space:nowrap}.empty-state{padding:35px 15px;text-align:center;color:#8c9aa9}.empty-state>span{font-size:27px;display:block;margin-bottom:8px}.empty-state b{font-size:12px;color:#526477}.empty-state p{font-size:10px}.quick-links{padding:4px 20px 12px}.quick-links>a{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #eef1f5}.quick-links>a:last-child{border:0}.quick-icon{width:34px;height:34px;background:#eff5fc;color:#4387cb;display:grid;place-items:center;border-radius:5px;font-size:16px}.quick-links b{font-size:11px;display:block}.quick-links small{display:block;color:#98a4b0;font-size:10px;margin-top:4px}.quick-links em{font-style:normal;color:#9aa8b7;margin-left:auto}.pipeline{display:flex;align-items:center;justify-content:space-around;padding:23px 18px}.pipeline>div{text-align:center;display:flex;flex-direction:column;align-items:center;gap:6px}.pipeline>div span{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#edf4fc;color:#397fbe;font-size:11px;font-weight:800}.pipeline b{font-size:11px}.pipeline small{font-size:9px;color:#95a2b0}.pipeline>i{font-style:normal;color:#c1ccd6}.footer{padding:15px 0 4px;font-size:10px;color:#9ba6b1}.footer>span{padding:0 5px}.footer-right{float:right;color:#a9b2bc}.notice{padding:12px 15px;border:1px solid #ccebdc;background:#effaf4;color:#277b57;border-radius:4px;margin:0 0 17px;font-size:11px}.notice.error{background:#fff1f0;border-color:#f0c8c4;color:#a33d35}.notice.info{background:#edf6ff;border-color:#d1e5f8;color:#3c6d9c;line-height:1.7}.inline-form{display:flex;align-items:flex-end;gap:12px;padding:19px 21px;flex-wrap:wrap}.field{display:flex;flex-direction:column;gap:7px;flex:1;min-width:150px}.field label,.form-stack>label,.login-card label{font-size:10px;font-weight:700;color:#68788a}.field input,.field select,.form-stack input,.form-stack select,.login-card input{border:1px solid #dce3ea;background:#fff;border-radius:4px;padding:10px 11px;font:11px Inter;color:#34465a;outline:none;min-width:0}.field input:focus,.form-stack input:focus,.form-stack select:focus,.login-card input:focus{border-color:#73a9df;box-shadow:0 0 0 3px #dceeff}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;white-space:nowrap}th{font-size:9px;color:#8593a2;letter-spacing:.5px;text-transform:uppercase;background:#f9fafb;font-weight:800}td,th{padding:14px 18px;border-bottom:1px solid #edf0f4}td{font-size:11px;color:#607084}td b{color:#304155;font-size:11px}.cell-sub{display:block;font-size:9px;color:#a1acb7;margin-top:4px}.table-empty{text-align:center;color:#9aa6b3;padding:30px}.table-link{color:#2878ca;font-size:10px;font-weight:700}.status{display:inline-block;padding:5px 7px;border-radius:3px;background:#f0f2f5;color:#738195;font-size:9px}.status.ready{background:#e5f8ef;color:#21875f}.status.draft{background:#f0f2f5;color:#738195}.status.processing{background:#fff4df;color:#ad7a19}.status.error{background:#fff0ef;color:#ba5148}.button-library{padding:9px 20px 20px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 22px}.network-card{display:flex;align-items:center;gap:11px;padding:13px 0;border-bottom:1px solid #edf0f4}.network-logo{width:35px;height:35px;border-radius:6px;color:white;font-weight:800;font-size:10px;display:grid;place-items:center}.network-info b{font-size:11px;display:block}.network-info small{font-size:9px;color:#98a4b1;display:block;margin-top:4px}.network-card form{margin-left:auto}.switch{display:block;position:relative;width:31px;height:17px}.switch input{opacity:0;width:0;height:0}.switch span{position:absolute;inset:0;background:#c8d0d8;border-radius:12px;cursor:pointer;transition:.2s}.switch span:before{content:"";position:absolute;width:11px;height:11px;left:3px;top:3px;border-radius:50%;background:white;transition:.2s}.switch input:checked+span{background:#2ea879}.switch input:checked+span:before{transform:translateX(14px)}.template-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.template-card{background:white;border:1px solid #e4e9ef;border-radius:5px;overflow:hidden}.template-visual{height:125px;background:#f6f8fa;display:grid;place-items:center;border-bottom:1px solid #edf0f4}.mini-doc{height:95px;width:70px;background:white;border:1px solid #dbe2e9;border-radius:2px;position:relative;padding:15px 8px;display:flex;flex-direction:column;gap:6px}.mini-doc i{height:3px;background:#e7ecf1;border-radius:2px}.mini-doc i:first-child{width:80%;background:#b7c9da}.mini-doc em{position:absolute;font-style:normal;font-size:6px;letter-spacing:1px;color:#3282ca;white-space:nowrap}.mini-doc em.bottom{bottom:12px;left:12px}.mini-doc em.top{top:5px;left:12px}.mini-doc em.right{right:-11px;top:44px;transform:rotate(90deg)}.mini-doc em.left{left:-17px;top:44px;transform:rotate(-90deg)}.template-body{padding:15px}.template-body h3{font-size:12px;margin:0}.template-body p{font-size:10px;color:#8c99a7;min-height:26px;line-height:1.5}.template-meta{display:flex;gap:6px;margin-top:12px}.template-meta span{font-size:9px;padding:5px 7px;background:#f1f5f8;color:#718295;border-radius:3px}.form-stack{display:flex;flex-direction:column;gap:9px;padding:20px}.form-stack>label{margin-top:5px}.form-stack .btn{margin-top:8px;align-self:flex-start}.check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:3px 0 9px}.check-option{display:flex;align-items:center;gap:7px;padding:9px;border:1px solid #e5eaf0;border-radius:4px;font-size:10px;color:#637286}.check-option input{accent-color:#2878cf}.network-dot{width:8px;height:8px;border-radius:50%;display:inline-block}.pdf-preview{padding:22px;background:#f4f6f8;display:grid;place-items:center}.fake-page{width:220px;height:305px;background:white;box-shadow:0 3px 12px #27384912;padding:25px 19px;position:relative}.fake-page-label{font-size:6px;letter-spacing:1.5px;color:#b0bac4;margin-bottom:17px}.fake-title{height:9px;background:#526d85;width:78%;margin-bottom:14px}.fake-line{height:4px;background:#e7ebef;width:80%;margin:7px 0}.fake-line.long{width:100%}.fake-line.mid{width:60%}.fake-block{height:62px;background:#f1f4f7;margin:16px 0}.fake-share{position:absolute;bottom:29px;left:18px;display:flex;gap:5px}.fake-share span{width:24px;height:18px;background:#2e75b9;color:white;border-radius:2px;display:grid;place-items:center;font-size:7px;font-weight:bold}.fake-share span:nth-child(2){background:#0a66c2}.fake-share span:nth-child(3){background:#697a8d}.fake-share span:nth-child(4){background:#25a879}.fake-page-num{position:absolute;bottom:10px;right:15px;color:#b1bac4;font-size:7px}.muted{color:#8c99a7}.tiny{font-size:10px;line-height:1.6}.narrow{max-width:480px}.system-rows{padding:6px 21px 13px}.system-rows>div{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #edf0f4;font-size:11px}.system-rows>div:last-child{border:0}.system-rows span{color:#8593a2}.system-rows b{font-weight:600}.text-warning{color:#b98323!important}.login-body{min-height:100vh;display:grid;place-items:center;background:radial-gradient(circle at 15% 15%,#2c4055 0,#17212e 45%,#101821 100%);padding:20px}.login-card{width:100%;max-width:390px;background:white;border-radius:8px;padding:34px;box-shadow:0 18px 70px #0003}.login-card .brand-mark{margin:0 auto 17px}.login-card h1{text-align:center;font-size:22px;margin:0;color:#233448}.login-card>.muted{text-align:center;margin:8px 0 26px;font-size:12px}.login-card form{display:flex;flex-direction:column;gap:8px}.login-card input{padding:12px}.login-card .tiny{margin-top:22px}.login-card .btn span{margin-left:auto}.settings-panel{margin-bottom:18px}
@media(max-width:1050px){.sidebar{width:215px}.content{padding:24px 20px}.topbar{padding:0 20px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.template-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-shell{display:block}.sidebar{width:100%;min-height:auto}.brand{height:67px}.sidebar nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:12px}.side-caption{padding-top:14px}.sidebar-bottom{display:none}.topbar{height:58px;padding:0 14px}.user-label{display:none}.content{padding:20px 13px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:21px}.page-heading p{max-width:460px;line-height:1.5}.stats-grid{gap:10px}.stat-card{padding:14px}.stat-card strong{font-size:24px}.two-col{grid-template-columns:1fr}.template-grid,.button-library{grid-template-columns:1fr}.pipeline{flex-wrap:wrap;gap:14px}.pipeline>i{display:none}.footer-right{float:none;display:block;margin-top:7px}.inline-form{align-items:stretch}.inline-form .btn{width:100%}.top-actions{gap:8px}.footer{line-height:1.6}}
