.auth-page{min-height:100vh;display:grid;grid-template-columns:minmax(290px,.8fr) minmax(380px,1.2fr);background:#f3f6fa}.auth-brand{position:relative;overflow:hidden;background:linear-gradient(150deg,#12365c,#1d5585);color:#fff;padding:clamp(32px,7vw,90px);display:flex;flex-direction:column;justify-content:center;min-height:100vh}.auth-brand:after{content:"";position:absolute;width:390px;height:390px;border:1px solid #ffffff20;border-radius:50%;left:-140px;bottom:-160px;box-shadow:0 0 0 45px #ffffff0b,0 0 0 95px #ffffff08}.brand-mark{width:70px;height:70px;display:grid;place-items:center;background:#ffffff1c;border:1px solid #ffffff35;border-radius:22px;font-size:38px;font-weight:800}.brand-name{font-size:38px;font-weight:800;margin-top:25px}.brand-en{font-size:12px;letter-spacing:4px;color:#b8d4ed;margin-top:2px}.auth-brand p{max-width:370px;line-height:2;color:#e0edf8;font-size:17px;margin-top:25px}.auth-brand-foot{font-size:12px;color:#b8d4ed;margin-top:70px}.auth-panel{display:grid;place-items:center;padding:30px}.auth-card{background:white;width:min(100%,480px);border:1px solid #e2e9f0;border-radius:20px;padding:clamp(24px,4vw,42px);box-shadow:0 18px 60px #173f6b0d}.auth-card-heading{margin-bottom:28px}.auth-card-heading h1{font-size:28px;margin:9px 0 5px;color:#173f6b}.auth-card-heading p{margin:0;color:#7a899a;font-size:14px}.auth-card form{display:grid;gap:10px}.auth-card label{font-size:13px;font-weight:700;color:#344b63;margin-top:8px}.auth-card input{height:48px;border:1px solid #dce5ee;border-radius:10px;padding:0 14px;font:inherit;outline:none;background:#fbfcfe}.auth-card input:focus{border-color:#397eaf;box-shadow:0 0 0 3px #397eaf19}.primary-button,.secondary-button,.logout-button{border:0;border-radius:10px;font:inherit;font-weight:700;cursor:pointer}.primary-button{margin-top:16px;height:49px;background:#17466f;color:#fff}.primary-button:disabled{opacity:.65;cursor:wait}.auth-message{border-radius:10px;margin-top:16px;padding:12px 14px;background:#fff5e8;color:#87551c;font-size:13px;line-height:1.7}.auth-message.is-error{background:#fff0f0;color:#a33b42}.device-panel{margin-top:14px;border:1px solid #f0d9b2;background:#fffaf1;border-radius:12px;padding:14px}.device-panel-title{font-weight:800;color:#86551b}.device-panel p{font-size:13px;color:#785c38;line-height:1.8}.device-panel code{display:block;direction:ltr;text-align:left;overflow-wrap:anywhere;background:#fff;border:1px solid #f0e4d0;border-radius:7px;padding:9px;font-size:12px;color:#5b472d}.secondary-button{background:#f1e2c9;color:#75501e;padding:9px 13px;margin-top:9px}.auth-card-foot{margin-top:25px;border-top:1px solid #edf1f5;padding-top:16px;color:#91a0af;font-size:11px}.workspace{min-height:100vh;background:#f4f7fb}.workspace-header{height:76px;background:#fff;border-bottom:1px solid #e2e8ef;padding:0 clamp(18px,4vw,55px);display:flex;align-items:center;justify-content:space-between}.workspace-logo{display:flex;align-items:center;gap:10px}.workspace-logo>span{width:40px;height:40px;border-radius:12px;background:#173f6b;color:#fff;display:grid;place-items:center;font-size:23px;font-weight:800}.workspace-logo b,.workspace-logo small{display:block}.workspace-logo b{font-size:17px;color:#173f6b}.workspace-logo small{font-size:9px;color:#8d9cac;letter-spacing:1.5px}.workspace-actions{display:flex;align-items:center;gap:18px}.account-chip{display:flex;align-items:center;gap:8px;font-size:13px;color:#43576b}.account-dot{width:8px;height:8px;border-radius:50%;background:#36a27a}.logout-button{background:#f1f5f8;color:#52667a;padding:10px 15px;font-size:12px}.workspace-body{max-width:1120px;margin:0 auto;padding:35px 24px 60px}.welcome-card{background:linear-gradient(110deg,#153e66,#28618f);color:#fff;border-radius:18px;padding:27px 32px;display:flex;align-items:center;justify-content:space-between;box-shadow:0 12px 30px #173f6b19}.welcome-card h1{color:#fff;font-size:27px;margin:8px 0}.welcome-card p{color:#d6e6f4;margin:0;font-size:14px}.welcome-symbol{width:76px;height:76px;border-radius:23px;background:#ffffff18;border:1px solid #ffffff38;display:grid;place-items:center;font-size:42px;font-weight:800}.identity-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:18px}.identity-card{border:1px solid #e2e8ef;background:#fff;border-radius:13px;padding:17px;min-width:0}.identity-card span,.identity-card b{display:block}.identity-card span{font-size:12px;color:#8b99a8;margin-bottom:8px}.identity-card b{font-size:14px;color:#2e4760;overflow-wrap:anywhere}.access-section{background:#fff;border:1px solid #e2e8ef;border-radius:15px;padding:22px 24px;margin-top:18px}.section-heading{display:flex;align-items:center;justify-content:space-between}.section-heading h2{font-size:20px;color:#173f6b;margin:6px 0}.status-pill{border-radius:30px;padding:7px 12px;background:#eaf7f1;color:#267652;font-size:11px;font-weight:700}.access-description{font-size:13px;color:#75879a;line-height:1.9}.permission-area{border-top:1px solid #edf1f5;margin-top:16px;padding-top:16px}.permission-area>b{font-size:13px;color:#42576b}.permission-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.permission-tag{background:#f1f5f9;border:1px solid #e5ebf1;border-radius:7px;padding:6px 10px;color:#526a80;font-size:11px}.workspace-note{color:#91a0ae;text-align:center;font-size:11px;margin-top:28px}
@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:26px 24px 22px}.brand-mark{width:52px;height:52px;border-radius:16px;font-size:29px}.brand-name{font-size:26px;margin-top:12px}.auth-brand p{font-size:13px;margin:9px 0 0}.auth-brand-foot{display:none}.auth-panel{padding:18px 14px 28px}.auth-card{border-radius:15px;padding:24px 19px}.workspace-header{height:65px;padding:0 14px}.workspace-actions{gap:9px}.account-chip{font-size:11px;max-width:130px;overflow:hidden}.logout-button{padding:9px 10px}.workspace-body{padding:20px 13px 35px}.welcome-card{padding:21px 18px}.welcome-card h1{font-size:22px}.welcome-card p{font-size:12px;line-height:1.8}.welcome-symbol{width:53px;height:53px;border-radius:16px;font-size:30px}.identity-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.identity-card{padding:13px}.access-section{padding:18px 15px}.section-heading h2{font-size:18px}}


.workspace-frame{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 76px)}.workspace-nav{background:#fff;border-left:1px solid #e2e8ef;padding:21px 13px;display:flex;flex-direction:column;gap:6px}.nav-caption{font-size:10px;color:#9aa8b7;font-weight:800;padding:4px 10px 10px}.nav-item{border:0;background:transparent;text-align:right;border-radius:9px;padding:11px 12px;font:inherit;font-size:13px;color:#53677d;cursor:pointer}.nav-item:hover{background:#f1f6fa;color:#17466f}.nav-item.is-active{background:#eaf2f9;color:#17466f;font-weight:800}.nav-foot{margin-top:auto;border-top:1px solid #edf1f5;padding:15px 8px 0;color:#9aa8b7;font-size:10px}.workspace-content{min-width:0;max-width:1250px;width:100%;padding:27px clamp(15px,3vw,36px) 50px;margin:0 auto}.page-view{min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:3px 0 19px}.page-heading h1{font-size:26px;color:#173f6b;margin:7px 0 3px}.page-heading p{color:#8291a1;font-size:12px;margin:0;line-height:1.8}.action-button{border:0;border-radius:9px;background:#17466f;color:#fff;font:inherit;font-weight:700;font-size:12px;padding:11px 16px;cursor:pointer;white-space:nowrap}.action-button:hover{background:#245f91}.quiet-button{border:1px solid #e0e8ef;background:#fff;color:#597086;border-radius:8px;padding:8px 12px;font:inherit;font-size:11px;cursor:pointer}.table-card,.editor-form{background:#fff;border:1px solid #e2e8ef;border-radius:13px;padding:17px 18px;margin-top:14px;min-width:0}.table-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px}.table-head b,.editor-form h3{font-size:14px;color:#304a63;margin:0}.table-wrap{overflow:auto;width:100%}table{border-collapse:collapse;width:100%;min-width:600px;font-size:12px;text-align:right}th{color:#8292a3;font-weight:700;background:#f8fafc}td,th{padding:12px 11px;border-bottom:1px solid #edf1f5;white-space:nowrap}td{color:#425970}tr:last-child td{border-bottom:0}.row-actions{display:flex;gap:6px}.row-action{border:1px solid #dce6ef;background:#f8fafc;color:#46637e;border-radius:7px;padding:6px 9px;font:inherit;font-size:10px;cursor:pointer}.row-action.is-danger{background:#fff4f3;border-color:#f3d9d6;color:#a04b45}.row-action.is-success{background:#eef9f3;border-color:#d6eddf;color:#26734f}.status-tag{display:inline-block;border-radius:20px;padding:5px 9px;font-size:10px;font-weight:700}.status-tag.PENDING{background:#fff4e5;color:#8c5b21}.status-tag.APPROVED{background:#eaf7f0;color:#25734e}.status-tag.REVOKED,.status-tag.INACTIVE{background:#fdf0ef;color:#a54d49}.status-tag.ACTIVE{background:#eaf7f0;color:#25734e}.editor-form[hidden],.page-view[hidden],.workspace[hidden],.auth-page[hidden]{display:none!important}.editor-form h3{margin-bottom:15px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}.editor-form label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#667b8f;font-weight:700}.editor-form input,.editor-form select{width:100%;height:39px;padding:0 10px;border:1px solid #dce5ed;border-radius:8px;background:#fbfcfe;color:#2e465e;font:inherit;font-size:12px;outline:none}.editor-form input:focus,.editor-form select:focus{border-color:#4384b1;box-shadow:0 0 0 2px #4384b11a}.editor-form select[multiple]{height:80px}.wide-field{grid-column:1/-1}.form-actions{display:flex;gap:8px;margin-top:15px}.panel-alert{margin:0 0 14px;padding:10px 13px;background:#fff5e8;border-radius:9px;color:#815a2c;font-size:12px;line-height:1.7}.panel-alert.is-error{background:#fff0f0;color:#a33b42}.permission-editor-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.permission-check-group{border:1px solid #e7edf3;border-radius:10px;padding:11px}.permission-check-group h4{margin:0 0 9px;color:#36516b;font-size:12px}.permission-check{display:flex!important;align-items:center;flex-direction:row!important;gap:7px!important;padding:5px 0;color:#607589!important;font-size:11px!important;font-weight:500!important}.permission-check input{width:15px;height:15px;margin:0;accent-color:#1c5a88}.geo-tree{padding:10px 0}.geo-item{border-bottom:1px solid #edf1f5;padding:10px 8px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:#425a70}.geo-item small{color:#91a0af;font-size:10px}.geo-children{padding-right:20px;border-right:1px solid #e5ebf1;margin-right:8px}.tree-empty{padding:18px;color:#91a0af;text-align:center;font-size:12px}.muted-cell{color:#9aa8b5;font-size:11px}.table-empty{padding:18px;text-align:center;color:#9aa8b5;font-size:12px}
@media(max-width:900px){.workspace-frame{grid-template-columns:1fr}.workspace-nav{border-left:0;border-bottom:1px solid #e2e8ef;flex-direction:row;overflow:auto;gap:5px;padding:9px 11px}.nav-caption,.nav-foot{display:none}.nav-item{white-space:nowrap;font-size:11px;padding:9px 11px}.workspace-content{padding-top:19px}.permission-editor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.page-heading{align-items:flex-start;flex-direction:column}.page-heading h1{font-size:23px}.form-grid{grid-template-columns:1fr}.wide-field{grid-column:auto}.permission-editor-grid{grid-template-columns:1fr}.table-card,.editor-form{padding:14px 12px}.workspace-body{padding-top:15px}}
