:root{color-scheme:dark;--bg:#0d1122;--panel:#161d32;--input:#101629;--line:#303850;--text:#eef0f8;--muted:#acb4ca;--pink:#ff88b8;--green:#8de5cc;--ink:#d4daec;--faint:#8994b1;--peony:#fc8ebc;--ring:#ed85b6;--corner:12px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;background:var(--bg);color:var(--text);scrollbar-color:#424b68 #12182a}
*{box-sizing:border-box}html,body{min-height:100%;margin:0}body{background:radial-gradient(ellipse at 92% 0%,#31233955,transparent 48%),var(--bg);font-family:inherit;color:var(--text)}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--ring);outline-offset:3px}a,button{-webkit-tap-highlight-color:transparent}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[hidden]{display:none!important}button:not(:disabled),select:not(:disabled){cursor:pointer}input:-webkit-autofill,input:-webkit-autofill:hover,input:-webkit-autofill:focus{-webkit-text-fill-color:var(--text);box-shadow:0 0 0 1000px #161d34 inset;caret-color:var(--text)}
::-webkit-scrollbar{width:9px;height:9px}::-webkit-scrollbar-track,::-webkit-scrollbar-corner{background:#13192b}::-webkit-scrollbar-thumb{background:#46516c;border:2px solid #13192b;border-radius:14px}
.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:#f8f4fa;line-height:1}.mi-sign{display:inline-block;font:750 46px/.9 "Segoe UI",Arial,sans-serif;letter-spacing:-5px}.mi-sign>span{color:#ff81b4;font-size:.65em;vertical-align:top;margin-left:1px;line-height:1.52}.mi-word{font-size:10px;letter-spacing:1.5px;font-weight:750;line-height:1.18}.kicker,.eyebrow,.workspace-label{font-weight:600;letter-spacing:.15em}.kicker{font-size:10px;color:#edaccc;display:flex;align-items:center;gap:8px}.kicker i,.visual-mark:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--pink);display:inline-block}.muted,.access-note{color:var(--muted)}
/* Sign-in: one editorial spread; the drawing stays subordinate to the controls. */
.signin{min-height:100svh;padding:clamp(24px,6vh,70px) clamp(20px,5vw,70px);display:grid;place-items:center;background:radial-gradient(ellipse at 9% 100%,#35203e55 0,transparent 42%),#0c1020;font:15px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.signin-layout{width:min(1120px,100%);min-height:min(690px,84svh);margin:0;display:grid;grid-template-columns:1.03fr 1fr;isolation:isolate;overflow:hidden;border:1px solid #37394f;border-radius:22px;background:#11162a;box-shadow:0 24px 72px #04061355}
.signin-visual{isolation:isolate;position:relative;display:flex;flex-direction:column;justify-content:space-between;min-height:580px;padding:42px clamp(28px,4.2vw,68px);overflow:hidden;background:radial-gradient(ellipse at 62% 109%,#aa467e7d 0,transparent 39%),radial-gradient(ellipse at 88% 38%,#49407980,transparent 66%),linear-gradient(145deg,#151d38,#201d3f 64%,#382142);border-right:1px solid #3b3850}
.signin-visual .brand{padding:0}.hero-copy{position:relative;z-index:2;margin:62px 0 auto}.hero-copy .kicker{font-size:9px;color:#d9b9d6}.hero-copy h1{font-weight:540;letter-spacing:-.065em;font-size:clamp(50px,5.5vw,84px);line-height:.99;margin:17px 0 20px}.hero-copy h1 em{font-weight:460;font-style:normal;color:#ffafce}.hero-copy p{font-size:16px;line-height:1.55;margin:0;color:#d5cce0}.ribbon{position:absolute;bottom:0;left:0;z-index:-1;width:100%;height:45%;opacity:.86;pointer-events:none}.visual-mark{font-size:9px;letter-spacing:.17em;color:#e3c9dd;display:flex;align-items:center;gap:9px;margin-top:48px}
.signin-form{padding:42px clamp(28px,5vw,72px);display:flex;align-items:center;justify-content:center;background:linear-gradient(155deg,#191d33,#111629 70%)}.signin-box{width:100%;max-width:360px}.signin-box h2{font-size:clamp(28px,3vw,40px);line-height:1.14;font-weight:590;letter-spacing:-.045em;margin:17px 0 10px}.form-intro{font-size:15px;line-height:1.55;color:#b1bad0;margin:0 0 28px}.signin-box label{font-size:13px;font-weight:550;display:block;color:#dce1ef;margin:18px 0 8px}.signin-box select,.signin-box input:not([type=hidden]){width:100%;background:#10162a;color:var(--text);border:1px solid #454d68;border-radius:8px;min-height:47px;padding:11px 13px;font-size:15px}.signin-box select:focus,.signin-box input:focus{border-color:#d888b7}.pw-wrap{position:relative}.signin-box .pw-wrap input{padding-right:46px}.pw-wrap button{display:grid;place-items:center;border:0;border-radius:5px;background:transparent;color:#aab4ca;position:absolute;right:4px;top:4px;bottom:4px;width:38px}.pw-wrap button:hover{color:#ffbad6}.signin-error:empty{display:none}.signin-error{margin:15px 0 0;color:#ffc2d3;font-size:13px;background:#3a2437;border:1px solid #77405d;padding:10px 12px;border-radius:7px}
.signin-submit{display:flex;align-items:center;justify-content:space-between;margin-top:23px;width:100%;min-height:47px;border:0;border-radius:8px;background:#ff95bf;color:#281322;line-height:1.2;font-family:inherit;font-weight:650;font-size:15px;padding:10px 17px}.signin-submit:not(:disabled):hover{background:#ffacca}.signin-submit:disabled{opacity:.42;cursor:not-allowed}.signin-submit span{font-size:21px}.signin-muted,.alternative{font-size:12px;line-height:1.6;color:#abb4cb}.signin-muted{margin:15px 0 0}.alternative{margin-top:26px;padding-top:17px;border-top:1px solid #34394e}.alternative a{color:#dbbfd5;text-underline-offset:4px}.alternative a:hover{color:white}
/* Workspace surface, with a single quiet utility bar. */
.work{padding-bottom:36px}.sidebar{background:linear-gradient(165deg,#13192e,#15192f 59%,#201b34);border-right-color:#34354b}.sidebar .brand{padding-top:3px}.workspace-label{font-size:9px;margin:45px 10px 15px;color:#a8afc7}.sidebar nav a{min-height:42px;font-weight:500}.sidebar nav svg{flex:none}.sidebar nav a.active{background:#ff83b515;box-shadow:inset 2px 0 #ff8ab9}.sidebar-foot{margin-top:auto;padding:20px 8px 0}.identity{margin-top:12px;min-width:0}.identity>div:last-child{min-width:0;overflow-wrap:anywhere}.identity strong{font-weight:600}.identity small{margin-top:4px;font-size:11px}.identity .avatar{flex:none}.admin-nav{display:block;font-size:12px;color:#f3b6d2;text-decoration:none;margin:8px 0 14px}.admin-nav:hover{text-decoration:underline}.workbar{min-height:61px;border-bottom:1px solid #2f3349;gap:12px;display:flex;align-items:center;background:transparent}.bar-tools{display:flex;align-items:center;gap:8px}.logout{margin:0}.bar-button{background:transparent;border:1px solid transparent;border-radius:7px;color:#bbc2d5;padding:7px 9px;display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.4;text-decoration:none}.bar-button:hover:not(:disabled){background:#222940;color:#f3e7f1}.bar-button svg{width:15px;height:15px}.card-trail{display:flex;align-items:center;justify-content:space-between;margin-bottom:15px}.card-trail .back-link{margin:0}.copy-link{font-size:11px}.page-title,.project-top{margin-top:26px}.eyebrow{color:#eeaed0}.stat{background:linear-gradient(138deg,#1c2440,#161c31);border-radius:11px}.stat strong{letter-spacing:-.035em}.stat .pending{white-space:normal}.project-info,.table-wrap,.panel{background:var(--panel);border-color:var(--line)}th{background:#1d253c}tbody tr:hover{background:#24283b6b}dialog{background:#191f36;color:#eef1fa;border-color:#42485f;box-shadow:0 22px 70px #040716a0}dialog::backdrop{background:#060916bd;backdrop-filter:blur(3px)}.primary{background:#fa91bb}.primary:hover:not(:disabled){background:#ffa6c8}.secondary{background:#20283f;border-color:#404760}.table-wrap,dialog{scrollbar-color:#45506c #151a2c}#storage-warning a{text-decoration:underline}
/* Developer desk */
.access-filter{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:20px 0}.access-filter label{flex:1;max-width:380px}.access-filter #sync-time,.access-note,#effect,.policy{font-size:12px;line-height:1.6;color:#a7b2c8}.access-note{margin:16px 0}.access-table td{padding:12px 15px}.access-table .person{gap:12px}.access-table .person small,.chosen-employee small{display:block;color:#a7afc6;font-size:12px}.access-table .person strong{font-size:14px}.access-table .avatar{flex:none;width:30px;height:30px}.row-actions{display:flex;gap:5px;align-items:center;justify-content:end;flex-wrap:wrap}.access-table td:last-child{text-align:right}.access-table .bar-button{font-size:12px;color:#e1c0d2}.access-table .badge{font-size:11px}.control-page #access-modal{width:min(430px,94vw)}.chosen-employee{border-left:2px solid #f09abb;padding:3px 12px;margin:0 0 14px}.chosen-employee strong{font-size:15px}.chosen-employee small:empty{display:none}#passwords label{margin:12px 0}#passwords input{min-height:42px}.policy{margin-bottom:14px}#effect{margin-top:12px}.control-page .dialog-foot{justify-content:flex-end;gap:10px}.control-page .dialog-head{margin-bottom:18px}.access-table .row-actions button:focus-visible{outline-offset:1px}
@media(max-width:800px){.sidebar{border-right:0;border-bottom:1px solid #33364b}.sidebar-foot{display:none}.workbar{min-height:49px}.bar-tools{gap:0}.mi-sign{font-size:34px}.mi-word{font-size:9px}.sidebar nav svg{width:15px;height:15px}.sidebar nav a.active{box-shadow:inset 0 -2px #ff8ab9}.access-filter{align-items:flex-start;flex-direction:column;gap:8px}.access-filter label{width:100%}.access-table td{padding:10px}.signin{padding:20px}.signin-layout{grid-template-columns:.9fr 1.1fr}.signin-visual{padding:29px;min-height:515px}.signin-form{padding:25px}.hero-copy h1{font-size:50px}.work .stat strong{white-space:normal;overflow-wrap:anywhere}}
@media(max-width:620px){.signin{display:block;padding:14px}.signin-layout{display:block;min-height:0}.signin-visual{min-height:130px;padding:20px 24px;border:0;border-bottom:1px solid #423950}.signin-visual .mi-sign{font-size:34px}.hero-copy{margin:19px 0 0}.hero-copy h1{font-size:23px;letter-spacing:-.045em;margin:0}.hero-copy h1 br{display:none}.hero-copy h1 em:before{content:" "}.hero-copy .kicker,.hero-copy p,.visual-mark{display:none}.ribbon{left:auto;right:-5%;width:60%;height:100%;opacity:.48}.signin-form{padding:27px 24px 28px}.signin-box{max-width:none}.signin-box h2{font-size:30px}.form-intro{margin-bottom:18px}.access-table{overflow-x:auto}.access-table table{min-width:500px}.workbar .breadcrumbs{min-width:0}.bar-button{padding:6px}.stat{padding:12px}.project-info{gap:10px}.project-heading .button-row{gap:7px}.card-trail{gap:8px}.copy-link{font-size:11px}}

.mobile-access{display:none}@media(max-width:800px){.mobile-access:not(:empty){display:inline-flex}.mobile-access .admin-nav{margin:0 6px;font-size:11px}}

/* MI_REGISTER_V2 */
.fr-table{width:100%;min-width:680px;table-layout:fixed;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}
.fr-c1{width:24%}.fr-c2{width:15%}.fr-c3{width:20%}.fr-c4{width:21%}.fr-c5{width:20%}
.fr-table th,.fr-table td{padding:13px clamp(8px,1.05vw,17px);white-space:normal;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.fr-table thead th{color:#bfc7dc;font-size:11px;text-transform:none;letter-spacing:.01em;font-weight:600;line-height:1.4;background:#21283e}
.fr-table thead th span{color:#a099b2;font-size:10px;white-space:nowrap}
.fr-table tbody th{font-size:13px;letter-spacing:normal;text-transform:none;background:transparent;font-weight:400}
.fr-table tbody td,.fr-table tbody th{border:0}.fr-project{background:#1a2135}.fr-table tbody.fr-group:not(:first-of-type) th,.fr-table tbody.fr-group:not(:first-of-type) td{border-top:1px solid #46516a}
.fr-project-link,.fr-line-link{color:#f3f3fc;text-decoration:none;font-weight:630}.fr-project-link{font-size:14px;line-height:1.3}.fr-project-link:hover,.fr-line-link:hover{text-decoration:underline;color:#ffc0da}
.fr-client,.fr-period,.fr-note,.fr-muted,.fr-vendor{display:block;line-height:1.35}.fr-client,.fr-period,.fr-note{color:#abb7d0;font-size:11px}.fr-client{margin:4px 0}.fr-period{color:#a6b6d3}.fr-note:not(:last-child),.fr-vendor:not(:last-child){margin-bottom:5px}
.fr-vendor{font-size:11px;font-weight:600;color:#ded5eb}.fr-muted,.fr-status{color:#aeb7ca;font-size:12px}.fr-status{display:inline-block;color:#f4ce9e;margin-bottom:3px}
.fr-amount{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;line-height:1.45;color:#edf0fa}.fr-amount+.fr-amount{margin-top:3px}.fr-number{font-size:13px;font-weight:580;letter-spacing:-.018em}.fr-amount small{color:#a3adc6;font-size:10px;text-transform:none;letter-spacing:0;white-space:normal}
.fr-key .fr-number{color:#83dfc4;font-weight:650}.fr-loss .fr-number{color:#ff9bb6}.fr-last{border-left:1px solid #303951!important}
.fr-toggle{display:inline-flex;align-items:center;gap:5px;color:#f2b4d0;background:transparent;border:0;font-size:11px;padding:4px 0;margin-top:5px}.fr-toggle:hover{color:#ffd4e6;text-decoration:underline}
.fr-detail{background:#151c2f}.fr-detail.fr-first td,.fr-detail.fr-first th{border-top:1px solid #2b3349}.fr-detail .fr-indent{padding-left:clamp(18px,2.3vw,38px)}.fr-line-link{font-size:12px;color:#c3cde2}
.fr-continue .fr-line-link,.fr-continue .fr-period{display:none}.fr-details[hidden]{display:none!important}
.fr-toolsnote{color:#b3bfd5;font-size:12px;line-height:1.55;margin:10px 0 16px}.fr-toolsnote strong{color:#e5e5f0;font-weight:600}
.fr-help{margin:12px 0 4px;color:#abb8d2;max-width:820px;line-height:1.55;font-size:12px}.fr-help summary{color:#e8bed3;cursor:pointer;width:fit-content}.fr-help p{margin:6px 0}
.fr-sr{position:absolute;width:1px;height:1px;overflow:hidden;padding:0;border:0;clip-path:inset(50%);white-space:nowrap}.fr-cell-title{display:none}
.fr-wrap:focus-visible,.fr-project-link:focus-visible,.fr-toggle:focus-visible,.fr-line-link:focus-visible{outline:2px solid #ffa8d0;outline-offset:-2px}
@media(max-width:720px){
 .fr-wrap{overflow:visible;border:0;background:transparent}.fr-table,.fr-table tbody{display:block;min-width:0}.fr-table colgroup{display:none}
 .fr-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .fr-table tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border:1px solid #354059;border-radius:9px;gap:6px 10px;padding:12px}.fr-table tbody.fr-group:not(:first-of-type) td,.fr-table tbody.fr-group:not(:first-of-type) th{border:0}
 .fr-group{margin-top:12px}.fr-details{padding-left:9px;margin:0 0 8px 4px;border-left:1px solid #47506a}
 .fr-table .fr-detail{margin-top:5px;border-color:#2d354e;border-radius:6px}.fr-table .fr-detail.fr-first td,.fr-table .fr-detail.fr-first th{border:0}
 .fr-table td,.fr-table tbody th,.fr-detail .fr-indent{padding:3px 2px}.fr-table tbody th{grid-column:1/-1}.fr-last{border:0!important}.fr-line-link{font-size:13px}
 .fr-table .fr-void{display:none}.fr-cell-title{display:block;font-size:11px;color:#d6c2d4;font-weight:600;margin:0 0 4px}.fr-continue .fr-line-link,.fr-continue .fr-period{display:inline}.fr-continue .fr-period{margin-left:6px}
 .fr-number{font-size:13px}.fr-project-link{font-size:15px}.fr-client{margin:3px 0}.fr-note,.fr-muted{font-size:11px}.fr-toolsnote{margin:8px 0 12px}
}
