@font-face{font-family:AtireiUI;src:url('/assets/fonts/sora-400.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:AtireiUI;src:url('/assets/fonts/sora-500.ttf') format('truetype');font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:AtireiUI;src:url('/assets/fonts/sora-600.ttf') format('truetype');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:AtireiUI;src:url('/assets/fonts/sora-700.ttf') format('truetype');font-weight:700;font-style:normal;font-display:swap}
*{box-sizing:border-box}html{font-size:16px}body{margin:0;font-family:AtireiUI,system-ui,sans-serif;color:#171a20;background:#f5f6f8;line-height:1.5}button,input,select,textarea{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b28b09;outline-offset:3px}button:disabled{opacity:.5;cursor:wait}h1,h2,h3,p{margin-top:0}h1{font-size:1.8rem;letter-spacing:-.055em;line-height:1.15}h2{font-size:1.12rem;letter-spacing:-.03em}h3{font-size:1rem}small,.muted{color:#69717d}small{font-size:.8rem}.icon{width:21px;height:21px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.btn{min-height:44px;padding:10px 17px;display:inline-flex;gap:9px;align-items:center;justify-content:center;border:1px solid #dce0e6;border-radius:9px;background:#fff;color:#1a1d22;text-decoration:none;font-weight:600;font-size:.9rem}.btn.primary{background:#f6c945;border-color:#f6c945;color:#111315}.btn.dark{background:#171a20;color:white;border-color:#171a20}.btn.ghost{border-color:transparent;background:transparent}.btn.danger{color:#9c2636;border-color:#edccd1}.icon-btn{padding:10px;min-width:44px}.row{display:flex;align-items:center;gap:12px}.between{justify-content:space-between}.wrap{flex-wrap:wrap}.stack{display:grid;gap:16px}.boot{height:100vh;display:grid;place-content:center;text-align:center}.loader{width:30px;height:30px;border:3px solid #d7dbe1;border-top-color:#b28b09;border-radius:50%;animation:spin 1s linear infinite;justify-self:center}@keyframes spin{to{transform:rotate(360deg)}}.brand-image{display:block;width:204px;max-width:100%;flex-shrink:0}.brand-image img{display:block;width:100%;height:auto;object-fit:contain}.sidebar{position:fixed;inset:0 auto 0 0;width:244px;background:#111315;color:#c2c6cd;padding:24px 18px;display:flex;flex-direction:column;z-index:20}.brand-link{display:block;margin:0 0 28px 0}.sidebar nav{display:grid;gap:5px}.nav-label{font-size:.73rem;letter-spacing:.1em;text-transform:uppercase;color:#808690;margin:20px 12px 8px}.nav-item{border:0;display:flex;align-items:center;gap:12px;background:none;color:inherit;padding:12px 14px;text-align:left;border-radius:9px;font-size:.92rem;width:100%;min-height:46px}.nav-item:hover{background:#20242a;color:#fff}.nav-item.active{background:#f6c945;color:#111315;font-weight:650}.nav-footer{margin-top:auto;padding-top:18px;border-top:1px solid #2c3036}.avatar{height:38px;width:38px;border-radius:50%;background:#303640;color:#fff;display:grid;place-items:center;flex-shrink:0;font-weight:600}.nav-footer small{color:#959ba4}.workspace{margin-left:244px}.topbar{height:84px;background:rgba(255,255,255,.92);border-bottom:1px solid #e4e7eb;padding:0 36px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:10;backdrop-filter:blur(12px)}.crumb{font-size:.87rem;color:#777e89}.topbar-title{font-weight:600}.topbar .badge{margin-left:8px}.notification-button{position:relative}.notification-button .counter{position:absolute;top:3px;right:2px;font-size:.66rem;padding:0 4px;background:#f6c945;color:#111315;border-radius:10px;min-width:15px}.content{max-width:1480px;margin:auto;padding:34px 36px 60px}.page-head{margin-bottom:27px;display:flex;justify-content:space-between;align-items:center;gap:20px}.page-head p{margin:8px 0 0;font-size:.93rem;color:#737b87}.eyebrow{font-size:.76rem;letter-spacing:.09em;text-transform:uppercase;color:#8b6b05;font-weight:650;display:block;margin-bottom:10px}.card{background:white;border:1px solid #e2e6eb;border-radius:13px;padding:23px;box-shadow:0 2px 3px #1f243004}.grid{display:grid;gap:20px}.grid.stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:23px}.stat .stat-label{font-size:.88rem;color:#737b87}.stat .stat-value{font-size:2rem;font-weight:650;letter-spacing:-.06em;line-height:1.4;margin:9px 0}.stat .stat-icon{background:#f4f5f7;border-radius:9px;padding:9px;display:grid}.stat.highlight .stat-icon{background:#fff5cf;color:#856406}.stat p{font-size:.81rem;margin:0;color:#737b87}.grid.columns{grid-template-columns:minmax(0,1.45fr) minmax(280px,1fr)}.grid.half{grid-template-columns:repeat(2,minmax(0,1fr))}.card-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.card-title h2{margin:0}.card-title small{font-size:.8rem}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;font-size:.76rem;line-height:1.4;padding:4px 8px;border-radius:6px;background:#f1f3f6;color:#586270;font-weight:550}.badge.yellow{background:#fff2bf;color:#866400}.badge.red{background:#fdebee;color:#a32a3c}.badge.green{background:#e9f4ee;color:#286344}.badge.dark{background:#22272f;color:#fff}.list{display:grid;gap:0}.list-item{padding:16px 0;display:flex;gap:13px;align-items:center;border-bottom:1px solid #edf0f3}.list-item:last-child{border-bottom:0;padding-bottom:0}.list-item:first-child{padding-top:0}.file-icon{width:42px;height:46px;display:grid;place-items:center;border:1px solid #e1e5eb;border-radius:8px;color:#747d89;background:#f9fafb;flex-shrink:0}.grow{flex:1;min-width:0}.list-item strong{display:block;font-size:.92rem;word-break:break-word}.list-item small{display:block;margin-top:4px}.empty{text-align:center;padding:35px 18px;color:#77808c}.empty .icon{height:34px;width:34px;margin-bottom:12px;color:#929aa5}.empty h3{color:#363d48;margin-bottom:8px}.empty p{font-size:.9rem;max-width:350px;margin:0 auto 18px}.quick-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.quick-action{min-height:95px;display:grid;justify-items:start;align-content:center;gap:10px;border:1px solid #e4e7ec;background:#fff;border-radius:9px;padding:17px;text-align:left;font-size:.9rem;font-weight:600}.quick-action:hover{border-color:#e6bd3c;background:#fffdf5}.note{padding:14px 16px;border:1px solid #e5e1d1;background:#fffdf4;border-radius:9px;color:#746447;font-size:.85rem;line-height:1.6}.note.neutral{border-color:#e1e5eb;background:#f7f8fa;color:#64707e}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.toolbar input{max-width:380px;flex:1;min-width:160px}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;text-align:left;font-size:.88rem}.table th{font-size:.77rem;color:#7b838e;text-transform:uppercase;letter-spacing:.04em;padding:14px 12px;background:#f8f9fb;border-bottom:1px solid #e4e8ee;font-weight:550}.table td{padding:17px 12px;border-bottom:1px solid #edf0f3;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table td strong{display:block}.table small{display:block;margin-top:4px}.table .actions{display:flex;gap:5px}.actions .btn{padding:7px;min-height:36px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.field{display:grid;gap:6px;font-size:.88rem}.field.full{grid-column:1/-1}.field label{font-weight:550;color:#39414e}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.chat input{width:100%;min-height:44px;border:1px solid #dce1e8;border-radius:8px;padding:11px 13px;background:#fff;color:#1a1e25;font-size:.93rem}.field textarea{min-height:95px;resize:vertical}.field small{font-weight:400}.check{display:flex;gap:10px;align-items:flex-start;font-size:.9rem}.check input{width:18px;height:18px;margin-top:3px;accent-color:#171a20;flex-shrink:0}.form-error{color:#a52c3d;background:#fff0f2;padding:12px;border-radius:8px;font-size:.88rem;margin-top:14px}.form-error:empty{display:none}dialog{width:min(660px,calc(100vw - 30px));max-height:90vh;overflow:auto;border:1px solid #dbe0e7;border-radius:15px;padding:27px;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#12182180;backdrop-filter:blur(3px)}.dialog-head{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:25px}.dialog-head h2{font-size:1.25rem;margin-bottom:5px}.dialog-head p{font-size:.9rem;margin:0;color:#727b88}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px;padding-top:18px;border-top:1px solid #eceff3}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:13px 20px;border-radius:10px;background:#171a20;color:#fff;z-index:100;box-shadow:0 8px 30px #0003;font-size:.9rem;max-width:90vw;display:none}#toast.visible{display:block}.auth{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.auth-brand{background:#111315;padding:50px 70px;display:flex;flex-direction:column;justify-content:space-between;color:#fff}.auth-brand .brand-image{width:280px}.auth-brand h1{font-size:3rem;line-height:1.08;max-width:450px;margin-bottom:20px;letter-spacing:-.06em}.auth-brand h1 span{color:#f6c945}.auth-brand p{max-width:400px;color:#aeb4bf;font-size:1rem}.auth-brand .features{display:grid;gap:15px;margin-top:34px}.auth-brand .features .row{font-size:.94rem;color:#d4d8de}.auth-brand .features .icon{color:#f6c945}.auth-form-area{display:grid;place-items:center;padding:50px 30px;background:#fff}.auth-form{width:min(420px,100%)}.auth-form h2{font-size:1.7rem}.auth-form .field{margin-bottom:16px}.auth-form .btn.primary{width:100%;margin-top:12px}.auth-switch{text-align:center;font-size:.9rem;margin-top:22px}.link-button{border:0;background:none;padding:0;color:#77600f;text-decoration:underline;font-size:inherit}.legal{font-size:.83rem;color:#818996;margin-top:28px}.account-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:24px}.account-tabs button.active{background:#171a20;color:#fff}.privacy-grid{display:grid;gap:20px}.chat{max-width:850px;margin:auto}.messages{display:grid;gap:16px;margin-bottom:25px}.message{max-width:85%;padding:17px 20px;border-radius:12px;background:white;border:1px solid #e1e5eb;white-space:pre-wrap;font-size:.95rem}.message.user{justify-self:end;background:#171a20;color:white;border:0}.chat form{display:flex;gap:10px}.chat input{flex:1}.chat-suggestions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.calendar{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid #e6e9ee;border-left:1px solid #e6e9ee}.calendar-label{font-size:.78rem;color:#7b838e;padding:10px;text-align:center}.calendar-cell{min-height:110px;border-right:1px solid #e6e9ee;border-bottom:1px solid #e6e9ee;padding:10px;font-size:.85rem}.calendar-cell.today{background:#fff9df}.calendar-cell span{display:block}.calendar-event{font-size:.72rem;background:#fff1bc;padding:3px 5px;border-radius:4px;margin-top:5px;word-break:break-word}.calendar-event.activity{background:#edf0f5}.partner-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.partner-grid .card{display:flex;flex-direction:column;gap:12px}.partner-grid p{font-size:.9rem;color:#69727f;margin:0}.price{font-size:2.6rem;letter-spacing:-.07em;font-weight:700}.mobile-menu{display:none}.sidebar-overlay{display:none}.file-version{padding:12px 0;border-bottom:1px solid #eceff3}.progress{height:7px;background:#eceff3;border-radius:8px;overflow:hidden;margin-top:18px}.progress span{display:block;height:100%;background:#f6c945}.offline{padding:12px;background:#fff2c6;text-align:center;font-size:.9rem}.partner-address{font-size:.85rem}.split-list{display:grid;gap:12px}.setting-row{padding:16px 0;border-bottom:1px solid #eceff3}.setting-row:last-child{border-bottom:0}.session-box{margin:14px 0}.numbers{font-variant-numeric:tabular-nums}.text-link{font-size:.87rem;color:#7e650d;font-weight:600}.welcome-strip{background:#171a20;color:white;border-radius:13px;padding:24px 26px;margin-bottom:23px;display:flex;justify-content:space-between;align-items:center;gap:20px}.welcome-strip h2{margin:0 0 7px;font-size:1.25rem}.welcome-strip p{margin:0;color:#b8bec8;font-size:.92rem}.welcome-strip .btn{flex-shrink:0}.chart-bars{display:flex;height:125px;align-items:end;gap:14px;border-bottom:1px solid #e8ebef;margin:20px 0 8px}.chart-bar{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:end;height:100%;gap:6px}.chart-bar i{display:block;width:100%;max-width:26px;background:#f6c945;border-radius:4px 4px 0 0;min-height:2px}.chart-bar small{font-size:.72rem}.security-secret{overflow-wrap:anywhere;padding:14px;background:#f4f5f7;border-radius:8px;font-family:monospace;font-size:.88rem}.notice-bottom{font-size:.79rem;color:#9299a2;margin-top:25px}.hidden{display:none!important}@media(min-width:1600px){.content{padding-top:40px}}@media(max-width:1100px){.sidebar{width:218px;padding:20px 13px}.workspace{margin-left:218px}.topbar{padding:0 24px}.content{padding:26px 24px}.grid.stats{grid-template-columns:repeat(2,1fr)}.grid.columns{grid-template-columns:1fr}.partner-grid{grid-template-columns:repeat(2,1fr)}.auth-brand{padding:42px}.auth-brand h1{font-size:2.5rem}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;width:245px}.sidebar.open{transform:translateX(0)}.sidebar-overlay.open{display:block;position:fixed;inset:0;background:#0008;z-index:15}.workspace{margin-left:0}.mobile-menu{display:inline-flex}.topbar{height:72px;padding:0 16px;gap:8px}.content{padding:24px 16px 40px}.topbar .crumb,.topbar .date-label{display:none}.page-head{align-items:flex-start;gap:12px}.page-head h1{font-size:1.55rem}.page-head p{font-size:.86rem}.page-head .btn span{display:none}.grid.stats{gap:12px}.stat{padding:17px}.stat .stat-value{font-size:1.7rem}.grid.half{grid-template-columns:1fr}.card{padding:19px}.welcome-strip{padding:22px;flex-direction:column;align-items:start}.welcome-strip .btn{width:100%}.partner-grid{grid-template-columns:1fr}.auth{grid-template-columns:1fr}.auth-brand{padding:22px 28px;min-height:auto}.auth-brand .brand-image{width:210px}.auth-brand .brand-copy,.auth-brand .legal{display:none}.auth-form-area{padding:34px 22px}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.calendar-cell{min-height:80px;padding:5px}.calendar-event{font-size:.65rem;padding:2px}.calendar-label{padding:5px;font-size:.7rem}.message{max-width:96%}.chat form{flex-wrap:wrap}.chat form input{min-width:200px}.quick-actions{gap:8px}.quick-action{padding:14px}.dialog-actions .btn{flex:1}dialog{padding:22px}.list-item{gap:10px}.list-item .badge{font-size:.68rem}.table{min-width:680px}.notice-bottom{line-height:1.6}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* Keep the approved wordmark fully visible and navigation reachable on short screens. */
.sidebar nav{overflow-y:auto;min-height:0;flex:1;scrollbar-width:thin;scrollbar-color:#444a55 transparent}.brand-link{flex-shrink:0;margin-bottom:16px}.nav-footer{flex-shrink:0}.note{overflow-wrap:anywhere}.security-secret{user-select:all}

.nav-footer .grow{min-width:0}.nav-footer strong,.nav-footer small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar .btn.ghost{color:#c2c6cd}

.demo-banner{padding:9px 20px;background:#fff4ca;color:#795e07;font-size:.8rem;text-align:center;border-bottom:1px solid #efdf9f}

.notice-bottom,.legal,.crumb{color:#68717d}.stat .stat-label,.stat p,.page-head p{color:#656e7b}.auth-brand .legal{color:#aeb4bf}

/* Sora: regular for reading, medium for controls, semibold for hierarchy. */
body{font-weight:400;font-size:.9rem;line-height:1.65;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,strong,b{font-weight:600}
h1{font-size:1.8rem;letter-spacing:-.035em;line-height:1.3}
h2{font-size:1.06rem;letter-spacing:-.025em;line-height:1.45}
h3{font-size:.94rem;letter-spacing:-.015em;line-height:1.5}
.btn,.quick-action,.topbar-title,.nav-item.active,.field label{font-weight:500}
.btn{font-size:.8rem;border-radius:10px;padding:11px 16px;transition:background .18s,box-shadow .18s,border-color .18s}
.nav-item{font-size:.79rem;gap:11px;padding:11px 13px}
.nav-label,.eyebrow{font-size:.65rem;letter-spacing:.12em;font-weight:500}
.page-head p,.welcome-strip p{font-size:.83rem;line-height:1.75}
.stat .stat-label{font-size:.77rem}.stat .stat-value{font-size:1.9rem;font-weight:500;letter-spacing:-.045em}.stat p{font-size:.72rem;line-height:1.65}
.field,.list-item strong,.table{font-size:.81rem}.field input,.field select,.field textarea,.toolbar input,.toolbar select,.chat input{font-size:.85rem}
.badge{font-size:.68rem;font-weight:500}.auth-brand h1{font-size:2.85rem;line-height:1.23;letter-spacing:-.045em;font-weight:500}
.auth-brand p,.auth-brand .features .row{font-size:.87rem}.auth-form h2{font-size:1.6rem;font-weight:500}.auth-switch{font-size:.79rem}.price{font-weight:500;letter-spacing:-.04em}
/* Glow has its own scroll gutter so its rounded halo is not cut at the menu edges. */
.sidebar nav{padding:12px;margin-inline:-12px;overflow-x:hidden}
.sidebar .affiliate-nav{margin:6px 0;border-radius:12px;background:radial-gradient(ellipse at 50% 50%,#ffe9a04d,transparent 80%),linear-gradient(180deg,#f4ce68,#e8b940);border:1px solid #f4d77d;color:#302408;font-weight:600;box-shadow:0 0 5px 0 #f6c94529,0 0 12px 0 #f6c9451c,inset 0 0 0 1px #fff5cf30,inset 0 0 12px #fff2bc25;transition:box-shadow .25s ease,border-color .25s ease;background-clip:padding-box}
.sidebar .affiliate-nav:hover,.sidebar .affiliate-nav.active{background:radial-gradient(ellipse at 50% 50%,#fff1bb55,transparent 80%),linear-gradient(180deg,#f8d77d,#efc34e);border-color:#ffe29a;color:#261b02;box-shadow:0 0 6px 0 #f6c94538,0 0 12px 0 #f6c94529,inset 0 0 0 1px #fff7da40,inset 0 0 14px #fff2bc30}
.affiliate-nav-spark{margin-left:auto;color:#795509;font-size:1.1rem;line-height:1}
.btn.gold{background:linear-gradient(115deg,#e7b438,#ffe294);border-color:#f4d171;color:#302408;box-shadow:0 3px 15px #e8b43824,inset 0 1px 0 #fff4c1;font-weight:500}
.btn.gold:hover{background:linear-gradient(115deg,#f4c750,#ffe9ad);box-shadow:0 4px 20px #e8b43840}
.affiliate-hero{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(245px,1fr);gap:38px;padding:38px;border-radius:19px;color:#fff;background:radial-gradient(ellipse at 95% 0,#99712440,transparent 62%),linear-gradient(120deg,#151719,#22221c);border:1px solid #36372c;box-shadow:0 14px 30px #1517190b;margin-bottom:24px}
.affiliate-hero .eyebrow{color:#edcc77}.affiliate-hero h2{font-size:clamp(1.5rem,2.5vw,2rem);line-height:1.35;letter-spacing:-.04em;font-weight:500;margin:18px 0}
.affiliate-intro>p{color:#b9bcb7;font-size:.82rem;line-height:1.9;max-width:430px;margin-bottom:24px}
.affiliate-rules-link{border:0;background:transparent;color:#f4dda0;display:inline-flex;align-items:center;gap:8px;font-size:.76rem;padding:11px 0;min-height:44px}
.affiliate-rules-link .icon{width:15px;height:15px}.affiliate-coming{font-size:.74rem;color:#f4d779;border:1px solid #8f773c;padding:11px 14px;border-radius:9px;background:#f5c64709}
.affiliate-offer{padding:25px;border:1px solid #e6c56e30;border-radius:14px;background:#fff9da06;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0}
.affiliate-medallion{height:42px;width:42px;display:grid;place-items:center;border:1px solid #c6a55650;background:#f1c65510;border-radius:12px;color:#f6d981;margin-bottom:22px}
.affiliate-offer>.eyebrow{font-size:.59rem;margin-bottom:9px}.affiliate-offer>strong{font-size:1.4rem;color:#ffe6a3;line-height:1.4;font-weight:500;letter-spacing:-.035em}
.affiliate-offer p{font-size:.73rem;color:#c6c8bd;line-height:1.9;margin:12px 0 19px}.affiliate-status-dot{display:flex;align-items:center;gap:8px;font-size:.64rem;color:#d4d1c1}.affiliate-status-dot:before{content:'';height:5px;width:5px;flex-shrink:0;border-radius:50%;background:#f6c945}
.affiliate-metrics .highlight{background:#fffcf2;border-color:#ecddae}.affiliate-link-card,.affiliate-status-card,.affiliate-history,.affiliate-regulation{margin:24px 0}
.affiliate-link-card{border-color:#e6d497;padding:28px}.affiliate-link-card p{font-size:.8rem}.affiliate-status-card{display:flex;gap:18px;align-items:center}.affiliate-status-card h2{margin:0 0 5px}.affiliate-status-card p{margin:0;font-size:.8rem}
.affiliate-pending-icon{width:43px;height:43px;display:grid;place-items:center;background:#fff2c8;color:#97721a;border-radius:12px;flex-shrink:0}
.affiliate-section-head{margin:32px 0 20px}.affiliate-section-head h2{font-size:1.3rem;font-weight:500}.affiliate-how,.affiliate-link-card{scroll-margin-top:108px}
.affiliate-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.affiliate-steps .card{padding:24px}.step-number{display:block;color:#a67b1b;font-size:.76rem;font-weight:500;letter-spacing:.06em;margin-bottom:24px}
.affiliate-steps h3{font-size:.85rem;margin-bottom:10px}.affiliate-steps p{font-size:.77rem;line-height:1.85;color:#67717a;margin:0}
.affiliate-regulation{padding:28px}.affiliate-regulation .card-title{gap:16px;flex-wrap:wrap}.affiliate-regulation details{border-top:1px solid #e9ebed;padding:17px 0}.affiliate-regulation details:last-child{padding-bottom:0}
.affiliate-regulation summary{font-size:.82rem;font-weight:500;cursor:pointer;line-height:1.65;min-height:28px}.affiliate-regulation details p{font-size:.79rem;line-height:1.9;color:#66707a;max-width:850px;margin:13px 0 0;padding-right:12px}.affiliate-terms-text{white-space:pre-wrap;overflow-wrap:anywhere}
.affiliate-history .card-title{flex-wrap:wrap;gap:14px}
.admin-pagination{margin-top:20px;flex-wrap:wrap}.admin-tabs{margin-top:8px}.admin-tabs .btn{flex-shrink:0}.admin-person{padding:18px;background:#f8f9fb;border:1px solid #e4e7eb;border-radius:12px;margin-bottom:18px}.admin-person p:last-child{margin:10px 0 0}.admin-adjustment{color:#a52c3d!important}.admin-person p{overflow-wrap:anywhere}#admin-search select{max-width:220px}.admin-pagination small{font-size:.72rem}#modal-form details{padding:14px 0}#modal-form details summary{cursor:pointer;font-weight:500}
@media(max-width:1100px){.affiliate-hero{padding:28px;gap:25px}.affiliate-steps{gap:12px}.affiliate-steps .card{padding:20px}}
@media(max-width:760px){.affiliate-hero{grid-template-columns:1fr;padding:25px;gap:26px}.affiliate-hero h2{font-size:1.65rem}.affiliate-offer{padding:21px}.affiliate-medallion{margin-bottom:16px}.affiliate-steps{grid-template-columns:1fr}.affiliate-steps .card{padding:23px}.step-number{margin-bottom:14px}.affiliate-section-head h2{font-size:1.2rem}.affiliate-regulation,.affiliate-link-card{padding:22px}.stat .stat-value{font-size:1.6rem}.affiliate-coming{font-size:.68rem}.affiliate-history .badge{white-space:normal}.auth-brand h1{font-size:2rem}.affiliate-how{scroll-margin-top:92px}.affiliate-hero .row{gap:14px}.affiliate-status-card{align-items:flex-start}}

/* Shared identity inputs and accessible password reveal. */
.field{align-content:start}.field-hint{display:block;color:#69727c;font-size:.7rem;line-height:1.7;margin-top:2px;font-weight:400}
.password-control{position:relative;width:100%}.password-control input{padding-right:54px;width:100%}
.password-toggle{position:absolute;right:3px;top:50%;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:9px;background:transparent;color:#737b84;display:grid;place-items:center;cursor:pointer}
.password-toggle:hover{background:#f6f2e7;color:#292e34}.password-toggle:focus-visible{outline:2px solid #bd922b;outline-offset:-3px}.password-toggle[aria-pressed=true]{color:#9c751b}

/* Approved mark: only the cylinder rotates; the wordmark remains stationary. */
.auth-brand-mark{display:flex;align-items:center;gap:6px;width:280px;max-width:100%;padding:0;border:0;background:transparent;color:inherit;cursor:pointer;text-align:left;opacity:1}
.auth-cylinder{display:block;width:86px;height:90px;flex-shrink:0;overflow:visible}
.auth-cylinder img{display:block;width:100%;height:auto;animation:atirei-cylinder-turn 18s linear infinite;transform-origin:49.59% 52.39%;will-change:transform}
.auth-wordmark{display:block;flex:1;min-width:0;overflow:hidden}.auth-wordmark img{display:block;width:113.24%;max-width:none;height:auto;transform:translateX(-9.95%)}
.auth-brand-mark.is-paused .auth-cylinder img{animation-play-state:paused}.auth-brand-mark:disabled{opacity:1;cursor:default}
.auth-brand-mark:focus-visible{outline:2px solid #f6c945;outline-offset:8px;border-radius:5px}
@keyframes atirei-cylinder-turn{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
.auth-brand .brand-copy{padding:36px 0}.auth-brand .brand-copy p{max-width:440px;line-height:1.8}.auth-brand .features{gap:17px}.auth-brand .features .row{line-height:1.6}
@media(max-width:760px){.auth-brand-mark{width:210px;gap:4px}.auth-cylinder{width:64px;height:67px}.auth-brand .brand-copy{display:none}}
@media(prefers-reduced-motion:reduce){.auth-cylinder img{animation:none;will-change:auto}}

/* Mobile access: centered animated symbol above the form. */
@media(max-width:760px){
 .auth{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;min-height:100svh}
 .auth-brand{padding:24px 22px 18px;align-items:center;justify-content:center}
 .auth-brand-mark{width:100px;max-width:100%;min-height:96px;gap:0;justify-content:center}
 .auth-cylinder{width:88px;height:92px}
 .auth-wordmark,.auth-brand .brand-copy,.auth-brand .legal{display:none}
 .auth-form-area{padding:28px 22px 36px;align-items:start}
 .auth-form{width:min(420px,100%)}
}


/* Authenticated mobile layout: compact proportions with comfortable touch targets. */
@media(max-width:760px){
 .workspace{min-width:0}
 .workspace .content{padding:22px 16px 36px}
 .workspace .content>*{min-width:0}
 .workspace .topbar{height:64px;padding:0 12px;gap:8px}
 .workspace .topbar>.row{gap:6px;min-width:0}
 .workspace .topbar>.row>div{min-width:0}
 .workspace .topbar-title{display:block;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
 .workspace .topbar .badge{margin-left:0;font-size:.62rem;padding:3px 6px}
 .workspace .icon{width:19px;height:19px}
 .workspace .btn{min-height:44px;padding:10px 12px;font-size:.77rem;gap:7px;max-width:100%;white-space:normal}
 .workspace .icon-btn{min-width:44px;padding:10px;flex-shrink:0}
 .workspace .page-head{flex-wrap:wrap;gap:12px;margin-bottom:20px;align-items:center}
 .workspace .page-head>div:first-child{flex:1 1 190px;min-width:0}
 .workspace .page-head h1{font-size:1.4rem;line-height:1.3;margin-bottom:0;overflow-wrap:anywhere}
 .workspace .page-head p{font-size:.79rem;line-height:1.7;margin-top:7px}
 .workspace .page-head .btn span{display:inline}
 .workspace .card{padding:16px;border-radius:12px;min-width:0}
 .workspace .grid{gap:14px}
 .workspace .grid.stats{gap:10px;margin-bottom:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .workspace .stat{padding:14px}
 .workspace .stat .row{gap:6px;align-items:flex-start}
 .workspace .stat .stat-label{font-size:.7rem;line-height:1.55}
 .workspace .stat .stat-icon{padding:6px;border-radius:7px}
 .workspace .stat .stat-icon .icon{width:17px;height:17px}
 .workspace .stat .stat-value{font-size:1.55rem;line-height:1.3;margin:10px 0 7px}
 .workspace .stat p{font-size:.69rem;line-height:1.6}
 .workspace .card-title{gap:10px;flex-wrap:wrap;margin-bottom:16px}
 .workspace .card-title h2{font-size:.95rem;line-height:1.5}
 .workspace .card-title .link-button{min-height:44px;display:inline-flex;align-items:center;font-size:.74rem}
 .workspace .welcome-strip{padding:18px;margin-bottom:18px;gap:14px}
 .workspace .welcome-strip h2{font-size:1.05rem;line-height:1.5}
 .workspace .welcome-strip p{font-size:.79rem;line-height:1.7}
 .workspace .quick-action{padding:13px;min-height:88px;font-size:.76rem;line-height:1.6;gap:8px}
 .workspace .account-tabs{flex-wrap:nowrap;gap:7px;overflow-x:auto;max-width:100%;padding:4px 3px 10px;margin:0 -3px 16px;scrollbar-width:thin}
 .workspace .account-tabs .btn{flex:0 0 auto;white-space:nowrap}
 .workspace .toolbar{gap:10px}
 .workspace .toolbar input{flex:1 1 100%;min-width:0;max-width:none}
 .workspace .toolbar select{min-width:0;max-width:100%}
 .workspace #admin-search select{flex:1;max-width:none}
 .workspace .form-grid{gap:15px}
 .workspace .field input,.workspace .field select,.workspace .field textarea,.workspace .toolbar input,.workspace .toolbar select,.workspace .chat input{font-size:16px;min-width:0;max-width:100%;padding:11px 12px}
 .workspace .field{font-size:.78rem}
 .workspace .field-hint{font-size:.7rem}
 .workspace .table-wrap{width:100%;max-width:100%;min-width:0;overscroll-behavior-x:contain}
 .workspace .table{font-size:.78rem;min-width:600px}
 .workspace .table th{padding:12px 10px;font-size:.68rem}
 .workspace .table td{padding:13px 10px}
 .workspace .table .actions{gap:6px}
 .workspace .actions .btn{min-height:44px;min-width:44px;padding:10px}
 .workspace .list-item:has(>.file-icon){display:grid;grid-template-columns:34px minmax(0,1fr) auto;column-gap:9px;row-gap:5px;padding:13px 0}
 .workspace .list-item>.file-icon{width:34px;height:39px;grid-column:1;grid-row:1 / span 2}
 .workspace .list-item>.grow{grid-column:2;grid-row:1}
 .workspace .list-item>.badge{grid-column:2;grid-row:2;justify-self:start;white-space:normal}
 .workspace .list-item>.btn{grid-column:3;grid-row:1 / span 2}
 .workspace .list-item strong{font-size:.78rem;line-height:1.6}
 .workspace .list-item small{font-size:.7rem;line-height:1.6;margin-top:3px}
 .workspace .agenda-controls{gap:6px;flex-wrap:wrap}
 .workspace .agenda-controls .btn{padding:9px 11px;font-size:.73rem}
 .workspace .calendar{grid-template-columns:repeat(7,minmax(0,1fr))}
 .workspace .calendar-cell{min-width:0;min-height:74px;font-size:.75rem;padding:5px 3px}
 .workspace .calendar-label{font-size:.67rem;padding:6px 2px}
 .workspace .calendar-event{font-size:.65rem;line-height:1.5;padding:3px 2px;overflow-wrap:anywhere}
 .workspace .chat form{flex-wrap:nowrap;gap:8px;align-items:start}
 .workspace .chat form input{min-width:0;width:0;flex:1}
 .workspace .chat form .btn{flex-shrink:0}
 .workspace .message{padding:13px 15px;font-size:.82rem;overflow-wrap:anywhere}
 .workspace .chat-suggestions{gap:7px}
 .workspace .affiliate-hero{padding:20px;gap:20px;margin-bottom:18px;border-radius:14px}
 .workspace .affiliate-hero h2{font-size:1.4rem;line-height:1.45;margin:14px 0}
 .workspace .affiliate-offer{padding:18px}
 .workspace .affiliate-offer>strong{font-size:1.25rem}
 .workspace .affiliate-steps{gap:12px}
 .workspace .affiliate-steps .card,.workspace .affiliate-regulation,.workspace .affiliate-link-card{padding:18px}
 .workspace .affiliate-section-head{margin:25px 0 16px}
 .workspace .affiliate-section-head h2{font-size:1.1rem}
 .workspace .affiliate-regulation summary{min-height:44px;padding:9px 0}
 .workspace .affiliate-link-card input{min-width:0;max-width:100%}
 .workspace .partner-grid{gap:14px}
 .workspace .price{font-size:2.1rem;line-height:1.4}
 .workspace .admin-pagination{gap:8px}
 .workspace .admin-person{padding:14px}
 .sidebar{width:min(280px,86vw);padding:18px 14px;height:100dvh}
 .sidebar .brand-image{width:190px}
 .sidebar .nav-item{min-height:44px;padding:10px 12px;font-size:.78rem;gap:10px}
 .sidebar .nav-item .icon{width:19px;height:19px}
 .sidebar nav{gap:3px;overscroll-behavior-y:contain}
 .sidebar .nav-label{margin-top:16px}
 dialog{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:18px;border-radius:13px}
 dialog .dialog-head{gap:12px;margin-bottom:20px}
 dialog .dialog-head h2{font-size:1.08rem}
 dialog .dialog-head p{font-size:.8rem;line-height:1.7}
 dialog .field input,dialog .field select,dialog .field textarea{font-size:16px;min-width:0}
 dialog .btn{min-height:44px;font-size:.77rem;padding:10px 12px}
 dialog .icon-btn{min-width:44px}
 dialog .dialog-actions{flex-wrap:wrap;gap:8px;margin-top:20px}
 dialog .dialog-actions .btn{flex:1 1 110px}
}
@media(max-width:380px){
 .workspace .content{padding-left:12px;padding-right:12px}
 .workspace .stat{padding:12px}
 .workspace .stat .stat-icon{padding:4px}
 .workspace .agenda-controls{width:100%}
 .workspace .agenda-controls .btn{flex:1}
 .workspace .topbar .badge{font-size:.58rem}
}


/* Annual subscription and clear payment choices. */
.subscription-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;align-items:start}
.subscription-plan{background:radial-gradient(ellipse at 100% 0,#f6c94519,transparent 65%),#171a20;color:#fff;padding:30px}
.subscription-plan .eyebrow{color:#f6d674}.subscription-plan h2{font-size:1.5rem;margin:12px 0}
.subscription-price{font-size:2.8rem;font-weight:600;letter-spacing:-.05em;line-height:1.4}.subscription-price span{font-size:.8rem;font-weight:400;letter-spacing:0;color:#c3c7ce;margin-left:8px}
.subscription-plan .muted,.subscription-plan .notice-bottom{color:#b8bec8}.subscription-features{display:grid;gap:15px;margin:28px 0;font-size:.82rem}.subscription-features>div{display:flex;gap:10px;align-items:center}.subscription-features .icon{color:#f6d674}
.subscription-trial{display:flex;gap:12px;padding:18px;border:1px solid #eac85833;border-radius:12px;background:#f6c94509}.subscription-trial>.icon{color:#f6d674}.subscription-trial strong{font-size:.82rem}.subscription-trial p{font-size:.75rem;line-height:1.8;color:#c4c8cf;margin:8px 0 0}
.payment-choices{display:grid;gap:10px;margin:18px 0;border:0;padding:0;min-width:0}.payment-choice{display:flex;align-items:center;gap:12px;border:1px solid #e0e4e9;border-radius:12px;padding:15px;cursor:pointer;transition:border-color .2s,background .2s}
.payment-choice:has(input:checked){border-color:#d8b24e;background:#fffaf0;box-shadow:inset 0 0 0 1px #edce7326}.payment-choice:has(input:focus-visible){outline:3px solid #b28b09;outline-offset:3px}
.payment-choice input{width:18px;height:18px;flex-shrink:0;accent-color:#9f791b;margin:0}.payment-choice-icon{color:#957221;display:flex}.payment-choice strong{display:block;font-size:.81rem}.payment-choice small{display:block;font-size:.72rem;line-height:1.7;margin-top:4px}
.subscription-submit{width:100%;margin-top:14px}.subscription-consent{font-size:.73rem;color:#65707b;line-height:1.8;margin:14px 0}.subscription-status p{font-size:.8rem;line-height:1.8}.subscription-history{margin-top:24px}.subscription-history .list-item{flex-wrap:wrap}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.subscription-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:760px){.workspace .subscription-plan{padding:20px}.subscription-layout{gap:16px}.subscription-plan h2{font-size:1.25rem}.subscription-price{font-size:2.25rem}.subscription-features{gap:12px;margin:22px 0;font-size:.77rem}.subscription-trial{padding:14px}.payment-choice{gap:9px;padding:13px}.payment-choice-icon .icon{width:18px;height:18px}.subscription-history{margin-top:18px}}

.form-grid .full{grid-column:1 / -1}.form-section{margin:12px 0 0}.postal-lookup-action{align-content:end}.postal-lookup-action .btn{justify-self:start}.document-title{border:0;padding:8px 0;background:transparent;color:#252c36;text-align:left;font-weight:600;min-height:44px;font-size:inherit;cursor:pointer}.document-title:hover{color:#927018;text-decoration:underline}.attachment-picker{padding:18px;border:1px dashed #d9dfe6;border-radius:12px;background:#fafbfd}.attachment-picker input[type=file]{width:100%;min-width:0;font-size:.82rem;padding:9px}.attachment-picker input::file-selector-button{border:1px solid #d3d9e1;border-radius:7px;background:#fff;color:#303842;padding:9px 12px;margin-right:10px;cursor:pointer}.document-summary{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:18px;border:1px solid #e1e6ec;border-radius:12px;background:#f8f9fb;margin-bottom:18px}.document-summary small,.document-summary strong{display:block}.document-summary strong{font-size:.85rem;overflow-wrap:anywhere;margin-top:5px}.document-summary .badge{margin-top:7px}.document-notes{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.81rem}.file-version strong{overflow-wrap:anywhere;font-size:.83rem}.file-version small{display:block;font-size:.72rem}.file-version-actions{margin-top:12px;gap:8px}
@media(max-width:760px){.document-summary{padding:14px;gap:12px}.attachment-picker{padding:14px}.attachment-picker input[type=file]{font-size:16px;padding:8px 0}.file-version-actions .btn{min-height:44px;padding:10px 11px}.postal-lookup-action .btn{min-height:44px}.form-grid .full{grid-column:1 / -1}}

/* CRAF and acervo share one armament record. */
#modal-form [hidden]{display:none!important}
.craf-weapon-fields{min-width:0;margin:0;padding:18px;border:1px solid var(--border,#e3e4e8);border-radius:14px;background:var(--surface,#fff)}
.craf-weapon-fields legend{padding:0 8px;font-weight:600;font-size:1rem}
.craf-weapon-fields>p{margin:0 0 16px;color:var(--muted,#687078);font-size:.85rem;line-height:1.65}
.craf-weapon-fields .note{margin:0;font-size:.8rem}
.asset-document-links{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.asset-document-links .document-title{display:flex;flex-wrap:wrap;gap:8px;align-items:center;text-align:left}
.linked-weapon-label{max-width:350px;white-space:normal}
.weapon-summary{margin-bottom:8px}
@media(max-width:600px){.craf-weapon-fields{padding:12px}.craf-weapon-fields .form-grid{gap:12px}.craf-weapon-fields legend{font-size:.9rem}.asset-document-links .document-title{font-size:.8rem}}

/* Affiliate identity and Pix declaration. */
.affiliate-application-section{margin:0 0 22px;min-width:0}.affiliate-application-section h3{font-size:1rem;margin:0 0 14px}.affiliate-application-section .note{margin:0 0 16px;line-height:1.65}.affiliate-application-section input[readonly]{background:#f5f6f8;color:#47505b}.affiliate-application-section .check{align-items:flex-start;line-height:1.6}.affiliate-pix-card{margin:24px 0}.affiliate-pix-summary{padding:16px;border:1px solid #e1e6ec;border-radius:12px;background:#f8f9fb;margin:18px 0;min-width:0}.affiliate-pix-summary h3{margin:0 0 10px;font-size:.95rem}.affiliate-pix-summary p{line-height:1.7;overflow-wrap:anywhere}.affiliate-pix-summary small{display:block;margin-top:12px;color:var(--muted)}.pix-key-value{overflow-wrap:anywhere;word-break:break-word}.affiliate-pix-card .card-title{flex-wrap:wrap;gap:12px}
@media(max-width:600px){.affiliate-application-section{margin-bottom:18px}.affiliate-application-section .form-grid{grid-template-columns:1fr;gap:12px}.affiliate-pix-summary{padding:13px}.affiliate-pix-card{margin:18px 0}.affiliate-application-section .check{font-size:.82rem}}
