:root{--ink:#392322;--muted:#866f69;--red:#b92b2e;--orange:#ef773a;--orange-soft:#fff0e6;--line:#efdcd4;--bg:#fff9f5;--white:#fff;--shadow:0 22px 70px rgba(124,47,37,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:radial-gradient(circle at 91% 14%,#ffe6d6 0,transparent 35%),radial-gradient(circle at 4% 90%,#fff0e7 0,transparent 40%),var(--bg);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.5;min-height:100vh}a{color:var(--red);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea{font:inherit}button{cursor:pointer}.page-grid{min-height:100vh;display:flex;flex-direction:column}.container{width:min(1170px,calc(100% - 48px));margin-inline:auto}.site-header{background:rgba(255,250,247,.85);backdrop-filter:blur(14px);border-bottom:1px solid #f2e0d8;position:relative;z-index:2}.header-inner{min-height:84px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:inline-flex;align-items:center;gap:13px;color:#362222;font-size:21px;letter-spacing:-.7px;font-weight:800}.brand:hover{text-decoration:none}.brand-mark{display:grid;place-items:center;background:linear-gradient(140deg,#a7212d,#f08737);color:#fff;width:42px;height:42px;border-radius:13px;box-shadow:0 6px 18px #d450372f;font-size:29px;font-weight:800;line-height:1}.brand-dot{color:#ffd4a5}.brand-accent{color:var(--red)}.header-actions{display:flex;align-items:center;gap:25px}.header-user{font-weight:700;font-size:13px;background:#fff0e7;color:#9e4530;padding:9px 12px;border-radius:10px;max-width:220px;overflow:hidden;text-overflow:ellipsis}.nav-link{color:#6f5b56;font-size:14px;font-weight:650}.nav-button{border:0;background:none;padding:0}.inline-form{display:inline}.main-content{flex:1;padding-top:53px;padding-bottom:86px}.site-footer{border-top:1px solid var(--line);color:#9b817b;font-size:13px;background:#fffaf7}.footer-inner{display:flex;justify-content:space-between;padding:23px 0}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:15px;border-radius:12px;padding:14px 22px;font-size:14px;font-weight:750;min-height:50px;transition:background .15s,transform .15s,box-shadow .15s;text-decoration:none!important;white-space:nowrap}.btn:hover{transform:translateY(-1px)}.btn-primary{color:white;background:linear-gradient(105deg,#af252e,#e75c30 78%,#f18435);box-shadow:0 9px 25px #d44c3541}.btn-primary:hover{background:linear-gradient(105deg,#9d1d27,#da4d29,#e97729);color:#fff}.btn-primary:disabled{opacity:.65;cursor:wait}.btn-secondary{color:#8c342d;border-color:#f1d6cc;background:#fff}.btn-secondary:hover{background:#fff2e9}.btn-ghost{border-color:#eac6bb;color:#a63c33;background:transparent}.btn-small{padding:9px 15px;min-height:38px;font-size:13px}.btn-block{width:100%;justify-content:space-between}.card{background:#fff;border:1px solid #f0dbd1;border-radius:20px;box-shadow:var(--shadow)}.eyebrow{color:#a85336;font-size:11px;font-weight:800;letter-spacing:2.1px;text-transform:uppercase;display:inline-flex;align-items:center;gap:10px}.eyebrow-line{width:28px;height:2px;border-radius:4px;background:var(--orange)}.gradient-text{background:linear-gradient(100deg,#b32b30,#f08337);background-clip:text;-webkit-background-clip:text;color:transparent}.period,.required{color:var(--orange)}.auth-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,475px);gap:85px;align-items:center;padding:26px 0 38px;min-height:620px}.auth-intro{position:relative;min-height:450px;padding:47px 0}.auth-intro h1{font-size:clamp(45px,5.2vw,67px);letter-spacing:-3.5px;line-height:1.12;margin:31px 0 24px;font-weight:820}.lead{color:#79665f;font-size:17px;max-width:500px;line-height:1.75}.feature-list{margin-top:47px;max-width:460px}.feature-item{display:flex;align-items:center;gap:17px;padding:13px 0;border-bottom:1px solid #ebd9d1;color:#6d5550;font-size:14px;font-weight:600}.feature-no{color:#d75b35;font-size:12px;letter-spacing:1px;font-weight:800}.auth-decoration{position:absolute;right:9px;bottom:-31px;width:140px;height:120px;pointer-events:none;opacity:.7}.decoration-ring{display:block;width:118px;height:118px;border:19px solid #f2ae87;border-radius:50%;transform:rotate(-24deg)}.decoration-card{position:absolute;top:23px;right:-5px;display:flex;justify-content:space-between;align-items:end;flex-direction:column;background:#b43330;color:#fff;border-radius:8px;width:65px;height:65px;padding:8px;font-size:23px;font-weight:700;transform:rotate(13deg)}.decoration-card span{font-size:9px}.auth-card{padding:40px 43px 35px}.card-heading{margin-bottom:29px}.pill{font-size:11px;letter-spacing:.5px;font-weight:800;border:1px solid #f3d1c3;border-radius:25px;padding:7px 11px;color:#c35035;background:#fff5ed}.card-heading h2{font-size:30px;letter-spacing:-1.1px;margin:18px 0 6px}.card-heading p{color:var(--muted);font-size:13px;margin:0}.form-stack{display:flex;flex-direction:column;gap:19px}.form-field{display:flex;flex-direction:column;gap:7px}.form-field label{font-size:13px;font-weight:750;color:#59403b}.form-field input:not([type=file]):not([type=hidden]),.form-field textarea{width:100%;background:#fffdfa;border:1px solid #e9d8cf;color:#3e2926;border-radius:10px;padding:13px 14px;outline:none;min-height:47px;transition:border-color .15s,box-shadow .15s}.form-field textarea{resize:vertical;line-height:1.6}.form-field input:focus,.form-field textarea:focus{border-color:#e46c45!important;box-shadow:0 0 0 3px #f7ad872f}.form-field input::placeholder,.form-field textarea::placeholder{color:#b09c96}.field-hint{color:#947b74;line-height:1.5;font-size:11px}.field-error{color:#b6282f;font-size:12px}.form-alert,.flash{border-radius:10px;padding:13px 16px;font-size:13px}.form-alert,.flash-error{background:#ffedef;border:1px solid #f9c8ca;color:#a6222c}.flash-stack{display:grid;gap:10px;margin-bottom:23px}.flash-success{background:#ecf8ed;border:1px solid #cde9ce;color:#2b7433}.flash-info{background:#fff2e4;border:1px solid #f4d9b9;color:#986138}.auth-switch{font-size:13px;color:#87706a;text-align:center;margin:23px 0 0}.auth-switch a{font-weight:750}.register-layout .auth-intro{min-height:430px}.approval-note{display:flex;align-items:center;gap:14px;background:#fff0e6;padding:17px 20px;border-radius:12px;color:#8f533a;margin-top:40px;font-size:13px;line-height:1.55;max-width:480px}.approval-icon{width:28px;height:28px;flex:0 0 28px;display:grid;place-items:center;background:#e66a38;color:#fff;border-radius:8px;font-weight:900}.page-header{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:7px 0 36px}.page-title{font-size:clamp(34px,4vw,53px);letter-spacing:-2.1px;margin:11px 0 8px;line-height:1.14}.page-subtitle{color:var(--muted);font-size:15px;margin:0}.btn-plus{font-size:24px;font-weight:300;line-height:15px}.dashboard{padding-top:5px}.overview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:30px}.overview-card{border-radius:18px;padding:25px 26px;min-height:188px}.overview-accent{background:linear-gradient(132deg,#a91f2d 0%,#d44831 56%,#f17d36 100%);color:#fff;box-shadow:0 18px 35px #b8383226}.overview-white{background:#fff;border:1px solid var(--line)}.overview-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;font-weight:650;opacity:.8}.overview-symbol{font-size:24px;line-height:1}.overview-card h2{font-size:26px;letter-spacing:-.8px;line-height:1.15;margin:26px 0 8px}.overview-card p{font-size:12px;margin:0;opacity:.76;line-height:1.5}.overview-card .stat-number{font-size:45px;margin-top:14px}.overview-card .stat-text{font-size:25px}.history{padding:30px 32px;min-height:315px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:27px}.section-eyebrow{font-size:11px;color:#c35937;font-weight:800;letter-spacing:1.4px;text-transform:uppercase}.section-heading h2{margin:4px 0 0;font-size:25px;letter-spacing:-.65px}.count-chip{font-size:12px;color:#a44d37;background:#fff2ea;padding:8px 12px;border-radius:30px;font-weight:700}.table-scroll{overflow-x:auto}.applications-table{border-collapse:collapse;width:100%;font-size:13px;table-layout:fixed}.applications-table th{text-align:left;padding:15px 16px;border-bottom:1px solid #ecd9d1;color:#a0847b;font-size:11px;text-transform:uppercase;letter-spacing:1px}.applications-table td{padding:18px 16px;border-bottom:1px solid #f4e7e1;vertical-align:middle;color:#5d4942}.applications-table th:first-child{width:50%}.id-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#95463d;font-size:12px;overflow-wrap:anywhere}.status-chip{display:inline-flex;padding:6px 9px;border-radius:7px;font-size:11px;font-weight:800;white-space:nowrap;background:#f6ece8;color:#795b50}.status-sent{background:#eaf6eb;color:#26753b}.status-sending{background:#fff2dc;color:#956421}.status-failed,.status-rejected{background:#ffebeb;color:#af282c}.status-in_progress{background:#e8f1ff;color:#355fac}.status-completed{background:#ecf8ed;color:#247d45}.empty-state{text-align:center;padding:22px 18px 43px}.empty-icon{width:68px;height:68px;display:grid;place-items:center;border-radius:18px;background:#ffebdf;color:#d95b33;font-size:36px;margin:0 auto 14px}.empty-state h3{font-size:20px;margin:0 0 7px}.empty-state p{color:var(--muted);font-size:13px;margin:0 auto 23px;max-width:380px}.table-footnote{color:var(--muted);font-size:12px}.breadcrumbs{display:flex;gap:11px;align-items:center;font-size:12px;color:#a18982;margin-bottom:20px}.breadcrumbs a{color:#9c6b5b}.breadcrumbs strong{font-weight:700;color:#5d403c}.form-header{margin-bottom:28px}.form-columns{display:grid;grid-template-columns:minmax(0,1fr) 305px;gap:22px;align-items:start}.application-form-card{padding:35px 36px}.application-form-card .form-stack{gap:23px}.upload-area{border:1.5px dashed #e8bba8;border-radius:12px;background:#fff8f3;padding:18px;display:flex;flex-direction:column;gap:8px}.upload-symbol{font-size:29px;color:#d75838;line-height:1}.upload-main{font-size:13px;font-weight:760}.upload-area small{color:#93756b;font-size:11px;line-height:1.5}.upload-area input[type=file]{font-size:12px;max-width:100%;padding-top:7px}.upload-area input::file-selector-button{border:1px solid #e5bda9;background:white;color:#a64a34;border-radius:8px;padding:9px 12px;margin-right:13px;font-weight:700;cursor:pointer}.file-list{color:#a14d35;font-size:12px;overflow-wrap:anywhere}.form-bottom{border-top:1px solid #f0e0d8;padding-top:24px;display:flex;align-items:center;justify-content:space-between;gap:15px}.form-aside{border:1px solid #f0dccf;background:linear-gradient(160deg,#fff7f1,#ffeadb);border-radius:18px;padding:28px 24px}.aside-top{font-size:11px;color:#b05b3d;letter-spacing:1.6px;font-weight:850;margin-bottom:24px}.aside-step{display:flex;align-items:flex-start;gap:13px;margin-bottom:28px}.aside-step>span{background:#fff;color:#bd5236;border:1px solid #f0d1c0;flex:0 0 33px;height:33px;display:grid;place-items:center;border-radius:9px;font-size:11px;font-weight:900}.aside-step strong{font-size:13px}.aside-step p{color:#926f62;font-size:12px;line-height:1.55;margin:6px 0 0}.aside-note{padding-top:20px;border-top:1px solid #efcdbc;font-size:12px;color:#9a6d5b;line-height:1.65}
@media(max-width:980px){.auth-layout{gap:30px;grid-template-columns:minmax(0,1fr) 430px}.overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.overview-card:last-child{grid-column:span 2;min-height:140px}.form-columns{grid-template-columns:1fr}.form-aside{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.aside-top,.aside-note{grid-column:1/-1}.aside-step{margin-bottom:0}.form-aside{padding:20px}}
@media(max-width:760px){.container{width:min(100% - 32px,540px)}.header-inner{min-height:72px}.main-content{padding-top:26px;padding-bottom:50px}.header-actions{gap:13px}.header-user{max-width:112px}.brand{font-size:18px;gap:8px}.brand-mark{width:37px;height:37px}.auth-layout{grid-template-columns:1fr;gap:20px;padding:0;min-height:auto}.auth-intro{min-height:0;padding:12px 0}.auth-intro h1{font-size:45px;margin:20px 0 14px;letter-spacing:-2px}.lead{font-size:14px}.feature-list,.auth-decoration{display:none}.auth-card{padding:28px 23px}.register-layout .auth-intro{min-height:0}.approval-note{margin-top:18px}.page-header{align-items:flex-start;flex-direction:column;margin-bottom:23px;gap:20px}.page-title{font-size:38px}.page-subtitle{font-size:13px}.overview-grid{grid-template-columns:1fr;gap:12px}.overview-card{min-height:143px;padding:20px}.overview-card:last-child{grid-column:auto}.overview-card h2{margin-top:15px}.history{padding:21px 16px}.applications-table{min-width:630px}.applications-table th:first-child{width:55%}.section-heading h2{font-size:22px}.form-header{margin-top:0}.application-form-card{padding:24px 17px}.form-aside{display:block}.aside-step{margin-bottom:20px}.btn-create{width:100%}.form-bottom .btn{padding:13px 11px;font-size:12px;gap:8px}.footer-inner{font-size:11px}}
@media(max-width:370px){.header-user{display:none}.header-actions{gap:9px}.brand{font-size:17px}.auth-intro h1{font-size:39px}.form-bottom{flex-wrap:wrap}.form-bottom .btn{width:100%}}
.error-card{max-width:680px;margin:70px auto;padding:52px}.error-card h1{font-size:42px;letter-spacing:-2px;margin:16px 0}.error-card p{color:var(--muted);margin-bottom:25px}@media(max-width:760px){.error-card{margin:25px auto;padding:28px}.error-card h1{font-size:32px}}
