@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--navy:#0d203a;--navy2:#152c4e;--ink:#1b2b43;--muted:#738098;--line:#e7eaf0;--bg:#f7f8fb;--primary:#145fac;--light:#eaf2fd;--accent:#e7a355;--white:#fff;--success:#0c9467;--shadow:0 10px 28px rgba(20,36,69,.045);font-family:'DM Sans',sans-serif;color:var(--ink);font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:var(--bg)}button,input,a{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}.hidden{display:none!important}.app{display:flex;min-height:100vh}.sidebar{width:265px;flex-shrink:0;background:var(--navy);color:#fff;display:flex;flex-direction:column;position:sticky;top:0;height:100vh}.brand{display:flex;gap:11px;align-items:center;padding:31px 23px 26px}.brand-icon{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,#3b8dd3,#17416d);color:#f6c58d;font-size:24px}.brand-name{font:800 17px Manrope,sans-serif;letter-spacing:1.15px;line-height:1.1}.dot{color:var(--accent)}.brand-subtitle{letter-spacing:4px;font-weight:700;font-size:9px;color:#b0c6dd;padding-top:6px}.sidebar-content{flex:1;padding:16px 12px}.nav-caption{font-size:10px;letter-spacing:1.7px;color:#7290b1;font-weight:800;padding:0 15px 13px}.nav-item{border:0;background:transparent;color:#a9bed5;width:100%;padding:14px 15px;border-radius:9px;text-align:left;display:flex;align-items:center;gap:13px;font-size:13px;font-weight:700;margin-bottom:4px}.nav-item:hover,.nav-item.active{background:#233b5b;color:#fff}.nav-icon{font-size:21px;display:inline-grid;place-items:center;width:24px;font-weight:400}.sidebar-note{margin:33px 9px 0;padding:17px;border:1px solid #324762;border-radius:12px;background:#152943}.note-label{font-size:10px;font-weight:800;letter-spacing:1px;color:#dbebfc}.status-dot{width:7px;height:7px;display:inline-block;background:#70cfae;border-radius:99px;margin-right:6px}.sidebar-note p{font-size:12px;line-height:1.65;color:#adc0d8;margin-bottom:0}.sidebar-footer{padding:16px;border-top:1px solid #2b405c;display:flex;gap:10px;align-items:center}.user-avatar{width:34px;height:34px;background:#346295;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:800;flex-shrink:0}.user-data{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}.user-data strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-data span{font-size:10px;color:#9eb3ca;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.icon-btn{border:0;background:transparent;font-size:20px;color:inherit;line-height:1;padding:7px}.main{min-width:0;min-height:100vh;flex:1;display:flex;flex-direction:column}.topbar{height:77px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 42px}.breadcrumb{font-weight:700;font-size:12px;color:#6d7d90}.breadcrumb span{color:#ccd5df;padding:0 10px}.breadcrumb b{color:var(--ink)}.top-actions{display:flex;gap:17px;align-items:center}.top-badge{padding:8px 12px;border:1px solid #e8edf5;color:#758ba5;border-radius:5px;letter-spacing:1.5px;font-weight:800;font-size:9px}.connection{font-size:11px;font-weight:700;color:#b27b29}.connection.connected{color:#158269}.content{width:100%;max-width:1350px;padding:46px 46px 36px;margin:0 auto;flex:1}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:800;color:var(--primary);margin-bottom:11px}h1,h2,h3{font-family:Manrope,sans-serif;letter-spacing:-1.2px}h1{font-size:clamp(28px,3vw,39px);margin:0 0 12px;font-weight:800;color:#142a49;line-height:1.23}h1 em{color:var(--primary);font-style:normal}h2{font-size:17px;letter-spacing:-.6px;margin:2px 0 0;font-weight:800}p{line-height:1.65}.lead{font-size:16px;color:var(--muted);max-width:620px}.page-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin:0 0 31px}.page-heading p{margin:0;color:var(--muted);font-size:13px}.date-pill{font-size:12px;padding:10px 15px;background:#fff;border:1px solid var(--line);border-radius:8px;white-space:nowrap;color:#5d738e}.main-grid{display:grid;grid-template-columns:1.16fr 1fr;gap:20px;align-items:start}.right-col{display:flex;flex-direction:column;gap:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:var(--shadow);overflow:hidden}.panel-head{padding:24px 25px 21px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px}.step{font-size:10px;letter-spacing:1.65px;font-weight:800;color:#8e9bae}.panel-body{padding:25px}.text-button{background:transparent;border:0;color:var(--primary);font-weight:800;font-size:12px}.templates{padding:12px;max-height:690px;overflow:auto}.template{width:100%;text-align:left;border:1px solid transparent;background:#fff;border-radius:11px;padding:15px 15px;display:flex;align-items:flex-start;gap:13px;margin-bottom:3px;transition:all .16s}.template:hover{background:#f9fbfd}.template.selected{background:#edf5ff;border-color:#9fc8ee}.template-icon{width:41px;height:41px;border-radius:10px;background:#f0f4fa;color:#356087;flex-shrink:0;display:grid;place-items:center;font-size:17px;font-weight:800}.template.selected .template-icon{background:#dcecff;color:#145fac}.template-text{display:flex;flex-direction:column;gap:7px;flex:1;min-width:0}.template-text strong{font-size:13px;color:#20344e;font-weight:800}.template-sub{font-size:11px;color:#8090a5}.template-count{font-size:10px;padding:5px 8px;background:#f1f4f9;border-radius:5px;color:#58738f;font-weight:700;white-space:nowrap}.template.selected .template-count{background:#d7e9fc}.panel-body label{font-size:11px;font-weight:800;display:block;color:#596a80;margin:0 0 9px}.panel-body input{width:100%;height:45px;background:#fff;border:1px solid #dfe5ec;border-radius:8px;padding:10px 13px;color:var(--ink);font-weight:700;font-size:13px;outline:none}.panel-body input:focus{border-color:#68a8df;box-shadow:0 0 0 3px #dceffd}.panel-body input[readonly]{background:#f8fafc;color:#77879c}.two-inputs{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-top:19px}.hint{font-size:10px;color:#93a0b2;margin-top:14px}.summary-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:11px 0;border-bottom:1px dashed #ecedf0}.summary-row span{font-size:11px;color:#8290a2}.summary-row strong{font-size:11px;text-align:right;max-width:60%;color:#2b4360}.callout{margin:22px 0;background:#f1f6fc;color:#52708d;padding:13px 14px;border-radius:7px;font-size:11px;line-height:1.6;display:flex;align-items:flex-start;gap:10px}.callout span{font-size:17px;color:#2c7dbc}.btn{min-height:41px;border-radius:8px;font-weight:800;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:14px;padding:11px 16px;transition:all .16s;white-space:nowrap}.btn.primary{border:1px solid var(--primary);background:var(--primary);color:#fff}.btn.primary:hover:not(:disabled){background:#104d8d}.btn.outlined{border:1px solid #d9e0e9;background:#fff;color:#30516f}.btn.outlined:hover{background:#f7faff}.btn:disabled{opacity:.45;cursor:not-allowed}.btn.full{width:100%}.btn.large{min-height:47px}.success-panel{margin-top:20px;background:#effaf5;border:1px solid #bee8d5;border-radius:13px;padding:20px;display:flex;gap:16px}.success-symbol{background:#148b68;color:#fff;border-radius:50%;height:40px;width:40px;display:grid;place-items:center;font-size:23px;flex-shrink:0}.success-panel h2{color:#14694f}.success-panel p{font-size:12px;color:#527364;margin:8px 0 14px}.success-actions{display:flex;flex-wrap:wrap;gap:8px}.success-actions .btn{min-height:35px;font-size:11px}.history-list{padding:15px}.history-row{padding:16px;display:flex;gap:15px;align-items:center;border-bottom:1px solid #f0f2f6}.history-row:last-child{border:0}.history-date{width:65px;text-align:center;border:1px solid #e6eaf0;border-radius:9px;padding:8px;color:#4c6e92;flex-shrink:0}.history-date b{display:block;font:800 20px Manrope}.history-date span{font-size:10px;text-transform:uppercase}.history-info{flex:1;min-width:0}.history-info strong{font-size:13px}.history-info p{font-size:11px;color:#8b98a8;margin:5px 0 0}.history-acts{display:flex;gap:8px;flex-wrap:wrap}.history-acts a{font-size:11px;font-weight:800;color:var(--primary);padding:8px}.access-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:20px}.access-card{padding:21px;background:#fff;border:1px solid var(--line);border-radius:12px;display:flex;gap:13px;align-items:center}.access-avatar{width:44px;height:44px;background:#eaf2fc;color:#245b95;border-radius:13px;display:grid;place-items:center;font-size:13px;font-weight:800;flex-shrink:0}.access-details{min-width:0}.access-details h3{font-size:13px;letter-spacing:0;margin:0 0 5px}.access-details p{font-size:11px;color:#8a9aad;margin:0;overflow-wrap:anywhere}.access-role{margin-left:auto;align-self:flex-start;font-size:10px;font-weight:800;color:#3f7c9f}.info-panel p{font-size:13px;color:#718097}.placeholder{text-align:center;color:#8e9cb0;padding:46px 15px;font-size:13px;line-height:1.6}.footer{display:flex;justify-content:space-between;padding:18px 46px;border-top:1px solid #e8eaf0;color:#93a1b1;font-size:10px;gap:10px}.login-card{border:1px solid var(--line);background:white;display:flex;align-items:center;gap:20px;max-width:850px;padding:25px;border-radius:14px;margin-top:44px;flex-wrap:wrap}.login-card h2{margin:0 0 5px}.login-card p{font-size:12px;color:var(--muted);margin:0}.login-logo{width:50px;height:50px;display:grid;place-items:center;color:#4387f3;font:800 24px Manrope;background:#f1f5fb;border-radius:12px}.login-card>div:nth-child(2){flex:1;min-width:200px}.feature-grid{max-width:850px;display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-top:48px}.feature-grid span{font-size:11px;display:block;color:#d6a066;font-weight:800;margin-bottom:14px}.feature-grid strong{font-size:13px;color:#25405f}.feature-grid p{font-size:11px;color:#8191a6}.small{font-size:11px}.muted{color:var(--muted)}.modal-layer{position:fixed;inset:0;z-index:30;background:rgba(9,27,48,.57);display:flex;align-items:center;justify-content:center;padding:15px}.modal{width:100%;max-width:600px;max-height:90vh;background:white;border-radius:15px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 28px 80px rgba(0,0,0,.2)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 26px;border-bottom:1px solid var(--line)}.modal-body{overflow:auto;padding:20px 26px}.modal-body>p{font-size:13px;color:#687c94;margin-top:0}.recipient-heading{display:flex;justify-content:space-between;font-size:11px;letter-spacing:1px;font-weight:800;color:#647d9c;margin-bottom:10px}.recipients{display:flex;flex-wrap:wrap;gap:7px;max-height:190px;overflow:auto}.recipient{padding:6px 9px;font-size:10px;background:#f1f5fa;border-radius:5px;color:#4b6078;overflow-wrap:anywhere;max-width:100%}.modal-actions{display:flex;justify-content:flex-end;gap:10px;padding:16px 26px;border-top:1px solid var(--line)}.toast{position:fixed;right:22px;bottom:22px;z-index:40;background:#183856;color:white;border-radius:9px;padding:14px 18px;max-width:440px;box-shadow:0 10px 30px #0002;font-size:12px;line-height:1.6}@media(max-width:1050px){.sidebar{width:220px}.content{padding:34px 26px}.main-grid{grid-template-columns:1fr}.templates{max-height:450px}.topbar{padding:0 26px}.footer{padding:20px 26px}}@media(max-width:700px){.app{display:block}.sidebar{width:100%;height:auto;position:static}.brand{padding:18px}.sidebar-content{padding:0 8px 10px}.sidebar-content nav{display:flex;gap:4px;overflow:auto}.nav-caption,.sidebar-note{display:none}.nav-item{font-size:11px;flex:1;min-width:max-content;justify-content:center;padding:11px 8px}.nav-icon{font-size:16px;width:auto}.sidebar-footer{padding:8px 16px}.topbar{height:55px;padding:0 17px}.top-badge{display:none}.content{padding:28px 16px 38px}.page-heading{display:block}.date-pill{display:inline-block;margin-top:15px}.panel-head{padding:20px}.panel-body{padding:20px}.access-grid{grid-template-columns:1fr}.footer{padding:15px;flex-wrap:wrap}.feature-grid{grid-template-columns:1fr;gap:12px}.login-card{margin-top:28px}.login-card .btn{width:100%}.modal-actions{flex-wrap:wrap}.modal-actions>.btn{flex:1}.history-row{flex-wrap:wrap}.history-acts{width:100%;justify-content:flex-end}}
