.login-wrap{min-height:100vh;display:grid;place-items:center;background:#f3f5fa}.login-wrap .system-panel{width:min(420px,90vw);padding:38px}#record{max-width:760px}#record label,.login-wrap label{display:grid;gap:8px;margin:18px 0}.system-panel{background:white;border:1px solid #e1e5ef;border-radius:14px;padding:24px;margin-top:20px}.system-links{display:grid;gap:6px;margin-top:25px}.system-links a{display:block;padding:12px 16px;text-decoration:none;color:#59647a;border-radius:8px}.system-links .active{background:#edeafa;color:#6150c2;font-weight:700}.system-toolbar{display:flex;gap:12px}.system-toolbar input{flex:1}.system-scroll{overflow:auto}.system-panel table{width:100%;border-collapse:collapse;margin-top:20px}.system-panel th,.system-panel td{padding:14px;text-align:left;border-bottom:1px solid #edf0f6}#message{color:#b93333;min-height:20px}.notice{color:#347846}#record input,#record select{width:100%}#record input[type=checkbox]{width:auto}@media(max-width:760px){#record .fields{grid-template-columns:1fr}.system-panel table{min-width:600px}}
#system-app .topbar{display:flex}#system-app .topbar>span:last-child{display:flex;align-items:center;gap:14px}.system-panel td small{display:inline-block;margin-left:8px;padding:3px 6px;border-radius:5px;background:#edeafa;color:#6150c2}@media(max-width:760px){#system-app .shell{display:block}#system-app .sidebar{display:block;padding:16px}#system-app .sidebar .brand{margin-bottom:12px}#system-app .system-links{display:flex;flex-wrap:wrap;gap:4px;margin-top:0}#system-app .system-links .navtitle{width:100%}#system-app .system-links a{padding:8px}#system-app .topbar{height:auto;min-height:48px;gap:12px;flex-wrap:wrap;padding:12px}#system-app .content{padding:18px}}
/* Login and system management */
.login-layout{display:grid;grid-template-columns:1.06fr 1fr;min-height:100vh;background:#fff}.login-story{background:#151526;color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;padding:48px 56px 30px;isolation:isolate}.login-story:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 78% 50%,#6150a53b,transparent 55%),radial-gradient(ellipse at 0 95%,#4b398c28,transparent 50%)}.login-story .brand{display:flex;align-items:center;gap:12px;font-size:27px;font-weight:720;letter-spacing:-1px;color:white;margin:0}.login-story .brand small{font-size:8px;font-weight:500;letter-spacing:2px;color:#777890;display:block;margin-top:5px}.story-copy{margin-top:clamp(52px,8vh,110px)}.story-eyebrow{font-size:10px;letter-spacing:2px;color:#aaa0ce;display:flex;align-items:center;gap:9px}.story-eyebrow>span{width:5px;height:5px;border-radius:50%;background:#b2f194}.story-copy h1{font-size:clamp(32px,3.2vw,49px);line-height:1.45;letter-spacing:-2px;color:#fbfaff;margin:24px 0 18px;font-weight:650}.story-copy p{font-size:14px;line-height:1.9;color:#9090aa;letter-spacing:-.3px}.flow-art{height:300px;position:relative;max-width:450px;width:100%;margin:30px auto 34px}.flow-orbit{position:absolute;border:1px solid #a69bd323;border-radius:50%;left:50%;top:49%;transform:translate(-50%,-50%) rotate(-22deg);width:360px;height:150px}.orbit-two{width:210px;height:240px;transform:translate(-50%,-50%) rotate(37deg);border-style:dashed;border-color:#a69bd31a}.flow-hub{position:absolute;left:50%;top:47%;transform:translate(-50%,-50%) rotate(-4deg);width:128px;height:136px;border-radius:26px;background:linear-gradient(145deg,#6f55bd50,#342e5080);border:1px solid #a391e746;box-shadow:0 25px 60px #09081145,inset 0 1px #ffffff0b;display:flex;flex-direction:column;align-items:center;justify-content:center;backdrop-filter:blur(12px)}.hub-mark{position:relative;width:43px;height:43px;border-radius:12px;background:#9270f3;display:grid;place-items:center;font-size:31px;font-weight:750;margin-bottom:10px;color:white}.flow-hub strong{font-size:17px;letter-spacing:-.5px}.flow-hub small{font-size:5px;letter-spacing:1.1px;color:#b4a2db;margin-top:5px}.flow-node{display:flex;align-items:center;gap:10px;position:absolute;padding:14px 16px;border:1px solid #c3b5ff20;background:#262439d9;border-radius:13px;box-shadow:0 8px 25px #0002;font-size:12px;color:#ddd8f4;backdrop-filter:blur(8px)}.flow-node>.ui-icon{width:23px;height:23px;color:#b4a3e5}.flow-node small{display:block;font-size:7px;letter-spacing:1.4px;color:#7f7a99;margin-top:5px}.flow-node>i{width:5px;height:5px;background:#b3ea9a;border-radius:50%;margin-left:8px}.node-pickup{top:44px;left:0;transform:rotate(-6deg)}.node-dispatch{right:0;top:81px;transform:rotate(5deg)}.node-delivery{left:40px;bottom:30px;transform:rotate(-3deg)}.flow-caption{position:absolute;bottom:-18px;right:0;font-size:9px;letter-spacing:.2px;color:#73708d}.flow-caption span{display:inline-block;width:18px;height:1px;background:#9184b3;margin-right:8px;vertical-align:middle}.story-footer{margin-top:auto;display:flex;justify-content:space-between;color:#64647e;font-size:9px;gap:20px}.login-entry{display:flex;flex-direction:column;padding:40px 48px 28px;min-width:0}.login-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:#9294a4}.entry-tag{border:1px solid #edeaf4;border-radius:20px;font-size:9px;padding:6px 10px;color:#8c819e}.login-form{width:100%;max-width:355px;margin:auto; padding:65px 0}.form-eyebrow{font-size:9px;font-weight:650;letter-spacing:1.7px;color:#8d76bd;display:block}.login-form h2{font-size:29px;letter-spacing:-1.4px;color:#272536;font-weight:700;margin:15px 0 12px}.login-description{font-size:12px;color:#92909f;line-height:1.8;margin:0 0 36px}.login-form label{display:block;font-size:11px;font-weight:600;color:#5c596e;margin-bottom:21px}.login-form input{width:100%;height:48px;box-sizing:border-box;padding:12px 14px;background:#fbfbfd;border:1px solid #e7e5ee;border-radius:8px;font-size:12px;margin-top:10px;outline:0;transition:border-color .2s,box-shadow .2s}.login-form input::placeholder{color:#b0acbb}.login-form input:focus{border-color:#a38acf;box-shadow:0 0 0 3px #8c6ddd0b;background:#fff}.password-wrap{position:relative}.password-wrap input{padding-right:46px}.password-wrap button{position:absolute;right:10px;top:18px;display:grid;place-items:center;padding:7px;background:transparent;border:0;color:#aaa4b7;border-radius:5px}.password-wrap button:hover{color:#765da8;background:#f0edf5}.login-form #message{font-size:11px;min-height:0;margin:0;color:#bc4356;line-height:1.6}.login-form #message:not(:empty){background:#fff3f4;border-radius:6px;padding:10px;margin:0 0 14px}.login-form .login-submit{width:100%;height:48px;display:flex;align-items:center;justify-content:center;gap:20px;background:#7753c9;border:1px solid #7753c9;border-radius:8px;color:white;font-size:12px;font-weight:650;box-shadow:0 5px 14px #7753c91c;transition:background .2s,transform .2s}.login-form .login-submit:hover{background:#6743b8;transform:translateY(-1px)}.login-form .login-submit:disabled{opacity:.65;transform:none}.login-help{font-size:10px;color:#aaa4b3;text-align:center;margin-top:22px;line-height:1.8}.login-help span{color:#777080}.secure-note{display:flex;align-items:center;justify-content:center;gap:7px;border-top:1px solid #f0eef4;margin-top:38px;padding-top:23px;color:#aaa6b4;font-size:10px}.secure-note .ui-icon{width:13px;height:13px}.login-bottom{display:flex;justify-content:space-between;gap:20px;color:#b5b0be;font-size:9px}
#system-app .system-heading{margin:3px 0 26px}#system-app .system-heading h1{margin:8px 0 7px}#system-app .system-heading>p{font-size:12px;color:#8a90a3;margin:0;line-height:1.7}.system-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:26px}.system-stats article{padding:22px 24px;border:1px solid #e6e8f0;border-radius:11px;background:#fff;position:relative;overflow:hidden}.system-stats article:first-child{background:linear-gradient(110deg,#fbfaff,#fff);border-color:#e5dff4}.system-stats article>span{display:flex;gap:8px;align-items:center;font-size:11px;color:#8b8da4}.system-stats .ui-icon{width:14px;height:14px;color:#a08fca}.system-stats strong{display:block;font-size:30px;font-weight:650;letter-spacing:-1px;color:#45415c;margin-top:13px}.system-stats strong small{font-weight:400;font-size:11px;color:#a9a4b7;letter-spacing:0;margin-left:8px}#system-app .system-panel{margin:0;padding:0;border-radius:12px;border:1px solid #e6e8f0;box-shadow:0 3px 15px #25203b02;overflow:hidden}#system-app .system-toolbar{padding:20px 24px;align-items:center;gap:12px}#system-app .table-title{font-size:13px;font-weight:650;white-space:nowrap;color:#444759;margin-right:auto}.table-title>span{display:inline-block;background:#f0edf9;color:#9781b9;border-radius:5px;font-size:10px;line-height:20px;min-width:23px;text-align:center;margin-left:6px;font-weight:500}.search-wrap{position:relative;display:flex;align-items:center;max-width:280px;width:35%}.search-wrap>.ui-icon{position:absolute;left:12px;width:15px;height:15px;color:#a5a9bb}.shell .search-wrap input{padding:10px 12px 10px 36px;width:100%;background:#fbfbfd;font-size:11px;min-width:0;height:36px}#system-app .system-toolbar .primary{font-size:11px;padding:9px 14px;height:36px;white-space:nowrap}#system-app .system-panel table{margin:0;font-size:12px}#system-app .system-panel th{background:#fafbfe;color:#9195a7;font-size:10px;font-weight:500;padding:13px 24px;border-top:1px solid #eceef4;border-bottom:1px solid #eceef4;white-space:nowrap}#system-app .system-panel td{padding:20px 24px;border-bottom:1px solid #f0f1f6;color:#6b7086;font-size:11px}#system-app .system-panel td:first-child{font-family:Consolas,monospace;color:#625687;font-size:11px}#system-app .system-panel td:nth-child(2){font-weight:600;color:#42495f}#system-app .system-panel tr:hover td{background:#fcfbff}#system-app .system-panel td button{padding:6px 9px;font-size:10px;background:#fff;border:1px solid #e9e8f0;color:#8c829f}#system-app .system-panel td button[data-delete]{border-color:transparent;color:#a1a4b4}#system-app .system-panel td button:disabled{opacity:.35}.state-pill{display:inline-flex;align-items:center;gap:5px;border-radius:5px;padding:4px 7px;font-size:9px;white-space:nowrap;font-weight:500}.state-pill i{width:4px;height:4px;border-radius:50%;background:currentColor}.is-active{background:#eff8f4;color:#61a58d}.is-inactive{background:#f1f2f5;color:#a0a5b5}.table-footer{padding:15px 24px;color:#a5a9b9;font-size:10px;background:#fff}.admin-footer{display:flex;justify-content:space-between;font-size:9px;color:#b1b4c2;margin-top:30px;letter-spacing:.2px}#system-app .notice:empty,#system-app #message:empty{display:none}#system-app .notice:not(:empty){padding:12px 16px;background:#eaf7f1;border:1px solid #d7ece2;border-radius:8px;font-size:12px;margin-bottom:18px}#system-app #message:not(:empty){padding:12px 16px;background:#fff1f2;border-radius:8px;margin-bottom:18px;font-size:12px}#system-app #record{padding:28px 32px;max-width:850px}#record h2{font-size:17px;letter-spacing:-.5px;margin-bottom:18px}#record label{font-size:11px;color:#80859b;font-weight:500}#record input,#record select{height:40px;padding:10px 12px}#record input:disabled{background:#f8f9fc;color:#a0a5b9}#record input[type=checkbox]{height:auto}#record>.primary{margin-top:14px;min-width:100px;padding:10px 20px}.edit-label{font-size:9px;letter-spacing:1.5px;color:#a292c0;padding:24px 32px 0}#system-app .edit-label+#record{padding-top:12px}
@media(min-width:1600px){.login-story{padding:55px 80px 35px}.login-form{max-width:385px}.story-copy h1{font-size:54px}.flow-art{height:330px;margin-top:50px}}
@media(max-width:1000px){.login-story{padding:36px 32px 28px}.login-entry{padding:34px 32px 26px}.story-copy h1{font-size:34px}.flow-node{padding:11px 12px}.flow-art{transform:scale(.9);transform-origin:center}.system-stats{gap:10px}.system-stats article{padding:18px}.system-toolbar .table-title{display:none}#system-app .search-wrap{width:auto;flex:1;max-width:none}#system-app .system-panel th,#system-app .system-panel td{padding:16px}}
@media(max-width:760px){.login-layout{display:flex;flex-direction:column}.login-story{padding:26px 28px 28px;min-height:0}.login-story .brand{font-size:23px}.story-copy{margin-top:32px}.story-copy h1{font-size:30px;margin:18px 0 8px}.story-copy p{font-size:11px;line-height:1.8}.story-eyebrow{font-size:8px}.flow-art,.story-footer{display:none}.login-entry{padding:26px;flex:1}.login-top{display:none}.login-form{padding:12px 0 40px;max-width:420px}.login-form h2{font-size:25px}.login-description{margin-bottom:24px}.secure-note{margin-top:25px}.login-bottom{font-size:8px}.system-stats{gap:8px;margin-bottom:18px}.system-stats article{padding:16px 12px}.system-stats article>span{font-size:10px;gap:5px}.system-stats strong{font-size:25px}#system-app .system-toolbar{padding:16px;gap:8px}#system-app #record{padding:22px}#system-app .system-scroll table{min-width:620px}#system-app .admin-footer{margin-top:20px}.system-heading .form-eyebrow{font-size:8px}#system-app .system-heading>p{font-size:11px}.sidebar-account{display:none}}
@media(min-width:761px) and (max-height:800px){.login-story{padding-top:32px;padding-bottom:24px}.story-copy{margin-top:38px}.story-copy h1{font-size:36px;margin:20px 0 12px}.story-copy p{font-size:12px}.flow-art{height:235px;margin:18px auto 30px}.flow-orbit{width:300px;height:120px}.orbit-two{width:180px;height:200px}.flow-hub{width:112px;height:120px}.node-pickup{top:20px}.node-dispatch{top:50px}.node-delivery{bottom:12px}.login-form{padding:40px 0}.login-entry{padding-top:32px;padding-bottom:24px}.login-form h2{font-size:27px}}
#system-app .system-panel td{font-size:12px}#system-app .system-panel th{font-size:11px;color:#7e8498}#system-app .system-heading>p{color:#7c8296}.system-stats article>span{color:#777d92}.login-description{color:#7d788a}.login-help{color:#888192}.secure-note{color:#888292}.login-top{color:#7d7b8d}.login-form input::placeholder{color:#9690a2}
/* Organization roles and company-owned partner forms. */
.role-picker{grid-column:1/-1;border:1px solid #e3e7f0;border-radius:12px;padding:16px;margin:0}
.role-picker legend{padding:0 6px;font-size:12px;font-weight:600;color:#4b5568}
.role-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.role-options .role-choice{display:flex;align-items:center;gap:8px;margin:0;padding:10px;border-radius:8px;background:#f7f8fc;cursor:pointer}
.role-options .role-choice input{width:16px;height:16px;margin:0;accent-color:#7560d8}
.role-picker .hint{margin:12px 0 0;line-height:1.6}
.fields [hidden]{display:none!important}
@media(max-width:640px){.role-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.password-settings{grid-column:1/-1;border-top:1px solid #dce4ec;padding:18px 0 0;margin-top:8px;min-width:0}
.password-settings h3{margin:0 0 12px}.password-settings p{font-size:12px;color:#63758a;margin:8px 0 0}
/* Developer-only, read-only account push device viewer. */
.message-device-dialog{width:min(680px,calc(100vw - 28px));max-width:680px;max-height:calc(100dvh - 36px);padding:0;border:1px solid #d1dce9;border-radius:14px;background:#fff;color:#293f59;box-shadow:0 22px 70px #132c493d;overflow:auto;box-sizing:border-box;font-size:13px;line-height:1.6}
.message-device-dialog::backdrop{background:#14283f73;backdrop-filter:blur(2px)}
.message-device-header{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:20px 22px;border-bottom:1px solid #e0e7ef;background:white}
.message-device-header h2{margin:0 0 4px;font-size:18px;font-weight:700;color:#25415f}
.message-device-header p{margin:0;color:#48637d;overflow-wrap:anywhere}
.message-device-header p span{margin-left:7px;font-size:12px;color:#7b8ba0}
.message-device-header button,.message-device-token-head button{flex-shrink:0;border:1px solid #cedbe9;border-radius:6px;padding:7px 12px;background:#fff;color:#3b5c80;font-size:12px;line-height:1.5;min-height:34px;cursor:pointer}
.message-device-header button:focus-visible,.message-device-token-head button:focus-visible{outline:2px solid #5d97dc;outline-offset:2px}
.message-device-token-head button[aria-pressed=true]{background:#edf4ff;border-color:#9bbce7;color:#255a9a}
.message-device-token-head button:disabled{opacity:.55;cursor:default}
.message-device-note{padding:13px 15px;margin:16px 22px;color:#5f7792;background:#f2f6fb;border-radius:8px;font-size:12px;line-height:1.8}
.message-device-body{padding:0 22px}
.message-device-list{display:grid;gap:14px}
.message-device-card{min-width:0;padding:16px;border:1px solid #dce5ef;border-radius:10px;background:#fff}
.message-device-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.message-device-card h3{margin:0;font-size:14px;color:#314d6e;overflow-wrap:anywhere}
.message-device-card .state-pill{font-size:11px;padding:3px 8px}
.message-device-card dl{display:grid;grid-template-columns:1fr 1fr;gap:7px 16px;margin:0 0 14px;font-size:12px}
.message-device-card dl>div{display:flex;gap:10px;min-width:0}
.message-device-card dl>div:first-child{grid-column:1/-1}
.message-device-card dt{flex-shrink:0;color:#7b8da2}
.message-device-card dd{margin:0;color:#445f7e;overflow-wrap:anywhere}
.message-device-token-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 8px;color:#6e8299;font-size:12px}
.message-device-token-head>div{display:flex;gap:6px}
.message-device-token{display:block;max-width:100%;padding:11px 12px;border:1px solid #e2e9f1;border-radius:7px;background:#f6f8fb;color:#405b77;font:12px/1.8 Consolas,'Malgun Gothic',monospace!important;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-all;user-select:text;box-sizing:border-box}
.message-device-empty{margin:0;padding:35px 15px;text-align:center;color:#71869b;font-size:13px}
.message-device-empty strong{display:block;color:#3c5775;font-size:14px;margin-bottom:8px}
.message-device-empty p{margin:0;line-height:1.9;font-size:12px}
.message-device-status{margin:14px 22px 18px;color:#31704b;overflow-wrap:anywhere;font-size:12px;line-height:1.7}
.message-device-status:empty{min-height:0;margin-top:0}
.message-device-status.is-error{color:#a8493c;background:#fff2ef;border-radius:7px;padding:10px 12px}
@media(max-width:600px){.message-device-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);border-radius:11px}.message-device-header{padding:16px}.message-device-note{margin:12px 14px}.message-device-body{padding:0 14px}.message-device-card{padding:12px}.message-device-card dl{grid-template-columns:1fr;gap:6px}.message-device-card dl>div:first-child{grid-column:auto}.message-device-status{margin:12px 14px 16px}.message-device-header p span{display:block;margin:2px 0 0}}

.login-form label.login-remember{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:flex-start;align-self:flex-start;width:fit-content;white-space:nowrap;text-align:left;align-items:center;gap:8px;margin:0 0 18px;cursor:pointer}.login-form .login-remember input[type=checkbox]{appearance:auto;-webkit-appearance:auto;width:16px!important;height:16px!important;min-width:16px;max-width:16px;min-height:0;margin:0;padding:0;flex:0 0 16px;border-radius:3px!important;accent-color:#7156a5}.login-form .login-remember input[type=checkbox]:before,.login-form .login-remember input[type=checkbox]:after{content:none;display:none}
