/* Settings use their own spacing scale; shared app controls remain unchanged. */
body.dense-ui.ui-refresh .screen-pengaturan{--settings-gap:28px;max-width:1440px;margin-inline:auto;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{display:grid;grid-template-columns:184px minmax(0,1fr);gap:32px;align-items:start;margin-top:30px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{display:flex;flex-direction:column;gap:6px;padding:0;border:0;background:transparent;overflow:visible;position:sticky;top:100px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{display:flex;justify-content:flex-start;align-items:center;gap:12px;width:100%;height:44px!important;min-height:44px!important;padding:0 14px!important;margin:0;border:0!important;border-radius:8px!important;background:transparent!important;color:var(--ui-secondary)!important;font-size:14px!important;font-weight:500!important;letter-spacing:0!important;text-transform:none!important;white-space:nowrap;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button[aria-pressed="true"]{background:var(--ui-accent-soft,#f5e9ee)!important;color:var(--ui-accent,#8f1232)!important;font-weight:600!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button:hover{background:var(--ui-soft)!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid iconify-icon{width:18px;height:18px;font-size:18px;flex-shrink:0;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{display:flex;flex-direction:column;gap:28px;min-width:0;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas>*{margin-block:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-tab-section{display:flex;flex-direction:column;gap:28px;min-width:0;}
body.dense-ui.ui-refresh .screen-pengaturan :is(.settings-panel,.settings-field-section){padding:30px!important;border:0!important;border-radius:12px!important;background:var(--ui-surface)!important;box-shadow:0 3px 16px #25212605!important;min-width:0;text-align:left;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-tab-section>.settings-panel{margin:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-panel>.settings-panel{padding:22px!important;box-shadow:none!important;background:var(--ui-soft)!important;}
body.dense-ui.ui-refresh .screen-pengaturan :is(h3,h4,label,th,button){letter-spacing:0!important;text-transform:none!important;}
body.dense-ui.ui-refresh .screen-pengaturan h3{font-size:19px!important;line-height:1.4!important;font-weight:650!important;margin:0 0 26px!important;}
body.dense-ui.ui-refresh .screen-pengaturan h4{font-size:15px!important;line-height:1.5!important;font-weight:600!important;margin:0 0 18px!important;}
body.dense-ui.ui-refresh .screen-pengaturan :is(header,.flex.justify-between)>h3{margin:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan :is(.ui-field,.settings-field)>label{display:block;margin:0 0 10px;font-size:13px!important;font-weight:500!important;line-height:1.5;color:var(--ui-text,#323638);}
body.dense-ui.ui-refresh .screen-pengaturan :is(input:not([type="checkbox"]):not([type="radio"]),select){height:40px!important;min-height:40px!important;padding:8px 12px!important;border-radius:7px!important;font-size:13px!important;font-weight:400!important;max-width:100%;min-width:0;}
body.dense-ui.ui-refresh .screen-pengaturan input[type="file"]{height:auto!important;min-height:44px!important;padding:10px!important;}
body.dense-ui.ui-refresh .screen-pengaturan :is(input,textarea)[readonly]{background:var(--ui-soft)!important;color:var(--ui-secondary)!important;}
body.dense-ui.ui-refresh .screen-pengaturan textarea{font-size:14px!important;font-weight:400!important;line-height:1.65!important;padding:12px!important;min-height:104px;border-radius:7px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-form-grid,body.dense-ui.ui-refresh .screen-pengaturan .settings-section-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:26px 28px!important;align-items:start;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-field-section{display:block;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-section-context{margin-bottom:26px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-section-context h3{margin-bottom:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-folder-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-save-bar{position:static;display:flex;justify-content:flex-end;background:transparent!important;padding:0!important;border:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:0;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav button{padding:0 16px;height:40px;border-radius:7px;border:0;background:var(--ui-surface);color:var(--ui-secondary);font-size:13px;font-weight:500;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav button[aria-pressed="true"]{color:var(--ui-accent);background:var(--ui-accent-soft);}
body.dense-ui.ui-refresh .screen-pengaturan .settings-number-preview{display:block;padding:14px 18px;margin-top:24px;border-radius:7px;background:var(--ui-soft);font-size:20px;font-variant-numeric:tabular-nums;}
body.dense-ui.ui-refresh .screen-pengaturan .ui-table-wrap{border:0!important;box-shadow:none!important;margin-block:20px;max-width:100%;}
body.dense-ui.ui-refresh .screen-pengaturan table{min-width:560px;}
body.dense-ui.ui-refresh .screen-pengaturan :is(th,td){padding:16px 14px!important;vertical-align:middle;line-height:1.5;font-size:13px!important;}
body.dense-ui.ui-refresh .screen-pengaturan th{font-weight:600!important;white-space:nowrap;}
body.dense-ui.ui-refresh .screen-pengaturan table input{min-width:72px!important;}
body.dense-ui.ui-refresh .screen-pengaturan table td.record-primary input{min-width:180px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .record-table[data-table-sort="pengaturan-4"]{table-layout:auto;}
body.dense-ui.ui-refresh .screen-pengaturan .record-table[data-table-sort="pengaturan-4"] td:nth-child(2){max-width:200px;overflow:hidden;text-overflow:ellipsis;}
body.dense-ui.ui-refresh .screen-pengaturan .role-manager-grid{display:flex;flex-direction:column;gap:28px;}
body.dense-ui.ui-refresh .screen-pengaturan .role-list-panel{position:static;width:100%;max-height:none!important;}
body.dense-ui.ui-refresh .screen-pengaturan .role-list-scroll{display:flex;flex-wrap:wrap;gap:8px;max-height:none;overflow:visible;}
body.dense-ui.ui-refresh .screen-pengaturan .role-list-scroll>button{width:auto!important;flex:1 1 160px;min-height:64px!important;height:auto!important;margin:0!important;padding:14px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .role-list-scroll p{margin:0;line-height:1.5;}
body.dense-ui.ui-refresh .screen-pengaturan .role-item-name{font-size:13px!important;font-weight:600!important;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel [v-cloak]{display:none;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .sm\:grid-cols-2{grid-template-columns:minmax(0,1fr)!important;gap:16px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .sm\:grid-cols-2>div{padding:18px!important;border:0!important;background:var(--ui-soft)!important;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-grid{gap:28px;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-grid article{padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;display:flex;flex-direction:column;gap:14px;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-preview{aspect-ratio:16/9;min-height:0!important;height:auto!important;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-settings>.primary-action{margin-top:28px;}
body.dense-ui.ui-refresh :is(.screen-pengaturan,.settings-template-dialog,.settings-user-dialog) button:focus-visible{outline:2px solid var(--ui-accent,#8f1232)!important;outline-offset:3px;}
body.dense-ui.ui-refresh :is(.screen-pengaturan,.settings-template-dialog,.settings-user-dialog) button:active:not(:disabled){transform:translateY(1px);}
.template-tag-reference{padding:28px;background:var(--ui-surface,#fff);border-radius:12px;min-width:0;}
.template-tag-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;}
body.dense-ui.ui-refresh .template-tag-toolbar h3{font-size:18px!important;font-weight:600!important;margin:0!important;letter-spacing:0;text-transform:none;}
.template-tag-toolbar button,.template-tag-content button{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:40px;padding:0 14px;border:0;border-radius:7px;background:var(--ui-soft,#f5f5f5);color:var(--ui-text,#323638);font-size:13px;font-weight:500;}
.template-tag-content{margin-top:24px;}
.template-tag-filters{display:grid;grid-template-columns:minmax(0,1fr) 160px 130px;gap:12px;margin-bottom:20px;}
.template-tag-filters :is(input,select){width:100%;height:40px;padding:8px 12px;border:1px solid var(--ui-line,#dedede);border-radius:7px;background:var(--ui-surface,#fff);font-size:13px;}
.template-tag-table{overflow:auto;max-height:480px;}
body.dense-ui.ui-refresh .template-tag-table table{border-collapse:collapse;width:100%;min-width:480px;}
body.dense-ui.ui-refresh .template-tag-table :is(td,th){padding:13px 14px!important;text-align:left;font-size:13px!important;line-height:1.5!important;}
.template-tag-table th{background:var(--ui-soft,#f5f5f5);position:sticky;top:0;z-index:1;}
.template-tag-table td{border-bottom:1px solid var(--ui-line,#ededed);}
.template-tag-table code{font-size:12px;white-space:nowrap;}
.template-tag-table td:last-child{width:80px;}
.template-tag-reference.is-compact{padding:18px;background:var(--ui-soft,#f5f5f5);}
.template-tag-reference.is-compact .template-tag-filters{grid-template-columns:minmax(0,1fr) 130px;}
.template-tag-reference.is-compact .template-tag-filters input{grid-column:1/-1;}
body.dense-ui.ui-refresh .settings-template-dialog{max-width:760px!important;}
body.dense-ui.ui-refresh .settings-template-dialog label{font-size:13px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important;}
body.dense-ui.ui-refresh .settings-template-dialog>.custom-scroll{padding:28px!important;}
@media(min-width:1600px){body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:1150px){body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{grid-template-columns:minmax(0,1fr);gap:24px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{flex-direction:row;overflow:auto;position:static;gap:6px;padding-bottom:6px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{width:auto;flex-shrink:0;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button span{white-space:nowrap;}}
@media(max-width:700px){body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{margin-top:22px;}body.dense-ui.ui-refresh .screen-pengaturan :is(.settings-panel,.settings-field-section){padding:22px 18px!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-form-grid,body.dense-ui.ui-refresh .screen-pengaturan .settings-section-fields{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-form-grid>*{grid-column:auto!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav{gap:6px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav button{flex:1 1 auto;min-height:44px;height:auto;padding:10px;}body.dense-ui.ui-refresh .screen-pengaturan :is(h3,h4){text-wrap:balance;}body.dense-ui.ui-refresh .screen-pengaturan .settings-panel>.flex.justify-between{flex-wrap:wrap;gap:18px;}body.dense-ui.ui-refresh .screen-pengaturan .login-background-grid{grid-template-columns:minmax(0,1fr);}body.dense-ui.ui-refresh .screen-pengaturan .role-list-scroll>button{flex-basis:130px;} .template-tag-reference{padding:22px 18px;}.template-tag-filters{grid-template-columns:repeat(2,minmax(0,1fr));}.template-tag-filters input{grid-column:1/-1;}}
@media(prefers-reduced-motion:reduce){.screen-pengaturan *{animation:none!important;transition:none!important;}}
.settings-identity-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--ui-accent);padding:8px 0;}
.settings-kop-preview{background:var(--ui-soft);border-radius:8px;padding:16px 20px;}
.settings-kop-preview>summary{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:500;cursor:pointer;list-style:none;}
.settings-kop-preview[open]>summary{margin-bottom:20px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-kop-preview :is(h3,h4){margin:0!important;text-transform:uppercase!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-kop-preview .ui-panel{padding:24px!important;box-shadow:none!important;}
body.dense-ui.ui-refresh .screen-pengaturan input[type="file"]::file-selector-button{font:inherit;font-weight:500;border:0;border-radius:6px;background:var(--ui-soft);color:var(--ui-text);padding:9px 12px;margin-right:10px;cursor:pointer;}
body.dense-ui.ui-refresh .screen-pengaturan input[type="file"]{padding:0!important;border:0!important;background:transparent!important;line-height:40px;}
body.dense-ui.ui-refresh .screen-pengaturan .role-manager-grid{align-items:stretch;}
body.dense-ui.ui-refresh .screen-pengaturan .role-manager-grid>.settings-panel{width:100%;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .font-mono{font-family:inherit!important;font-variant-numeric:tabular-nums;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .text-\[10px\]{font-size:12px!important;line-height:1.5;}
body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .text-\[11px\],body.dense-ui.ui-refresh .screen-pengaturan .role-tab-panel .text-xs{font-size:13px!important;line-height:1.5;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-role-editor{scroll-margin-top:24px;}
.settings-template-link{display:inline-flex;align-items:center;gap:6px;color:var(--ui-accent);white-space:nowrap;}
body.dense-ui.ui-refresh .settings-template-dialog .ui-input{font-size:13px!important;font-weight:400!important;border-radius:7px!important;min-height:40px;}

body.dense-ui.ui-refresh .settings-user-dialog{max-width:680px!important;}
body.dense-ui.ui-refresh .settings-user-dialog label{font-size:13px!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important;}
body.dense-ui.ui-refresh .settings-user-dialog .ui-input{font-size:13px!important;font-weight:400!important;min-height:40px;border-radius:7px!important;}
/* Owning modules now hold their own settings; top-level settings use tabs. */
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading{position:sticky;top:0;z-index:25;min-height:72px;padding-block:12px!important;margin:0!important;background:var(--ui-bg,#f8f8f8);}
body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{display:flex;flex-direction:column;gap:24px;margin-top:12px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{position:sticky;top:72px;z-index:24;display:flex;flex-direction:row;flex-wrap:nowrap;width:100%;overflow-x:auto;gap:6px;background:var(--ui-bg,#f8f8f8);padding:6px 0 12px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{width:auto;flex-shrink:0;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{width:100%;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-nim-codes{min-width:360px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-nim-codes td:last-child{width:180px;}
.program-study-master{padding:28px!important;}
.program-master-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;}
.program-master-toolbar h2{font-size:20px;font-weight:600;}
.program-master-toolbar button{padding:0 16px;min-height:40px;border-radius:7px;}
.program-study-master .settings-subnav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;}
.program-study-master .settings-subnav button{padding:0 16px;height:40px;border:0;border-radius:7px;background:var(--ui-soft);font-size:13px;}
.program-study-master .settings-subnav button[aria-pressed="true"]{background:var(--ui-accent-soft);color:var(--ui-accent);}
.program-master-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 28px;border:0;padding:0;margin-bottom:28px;}
.program-master-fields label{display:flex;flex-direction:column;gap:10px;font-size:13px;font-weight:500;}
.program-master-fields .ui-input{width:100%;height:40px;padding:8px 12px;border:1px solid var(--ui-line);border-radius:7px;background:var(--ui-surface);font-size:14px;font-weight:400;}
.program-study-master footer{margin:0;}
.academic-preferences{max-width:1120px;}
.academic-preferences fieldset{border:0;min-width:0;}
body.dense-ui.ui-refresh .academic-preferences .settings-panel{padding:28px!important;border:0!important;border-radius:12px;background:var(--ui-surface);}
.academic-preferences h3{font-size:20px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;}
.academic-preferences h4{font-size:15px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;}
.academic-preferences label{font-size:13px!important;letter-spacing:0!important;text-transform:none!important;}
.academic-preferences table{min-width:540px;}
.academic-preferences :is(th,td){padding:16px 14px!important;font-size:13px!important;}
.academic-preferences .ui-input{min-height:40px;padding:8px 12px!important;border-radius:7px!important;font-size:13px!important;font-weight:400!important;}
@media(max-width:700px){.program-master-fields{grid-template-columns:minmax(0,1fr);}.program-study-master{padding:22px 18px!important;}.program-master-toolbar{flex-wrap:wrap;}.program-master-toolbar h2{font-size:18px;}.academic-preferences .settings-panel{padding:22px 18px!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{top:72px;}}
.academic-preferences>.settings-subnav{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px;}
.academic-preferences>.settings-subnav button{padding:0 16px;height:40px;border:0;border-radius:7px;background:var(--ui-surface);color:var(--ui-secondary);}
.academic-preferences>.settings-subnav button[aria-pressed="true"]{background:var(--ui-accent-soft);color:var(--ui-accent);}
.academic-preferences>.settings-panel{margin:0;}
@media(max-width:700px){body.dense-ui.ui-refresh .workspace-context-nav{display:flex;overflow-x:auto;gap:8px;}body.dense-ui.ui-refresh .workspace-context-nav>button{flex:0 0 auto!important;min-width:max-content!important;white-space:nowrap!important;padding-inline:12px!important;}}
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading{flex-direction:row!important;align-items:center!important;gap:16px;}
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading .module-page-intro{width:auto;min-width:0;flex:1;}
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading .module-page-actions{width:auto;flex:none;margin:0;}
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading h1{white-space:nowrap;}
body.dense-ui.ui-refresh .screen-pengaturan input[type="file"]{line-height:normal!important;height:44px!important;}
body.dense-ui.ui-refresh .screen-pengaturan input[type="file"]::file-selector-button{line-height:20px;padding:10px 12px;}
@media(max-width:700px){body.dense-ui.ui-refresh .screen-pengaturan .settings-identity-link{font-size:11px;gap:4px;}body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading h1{font-size:26px!important;}}
/* Primary categories remain vertical; only the selected category has tabs. */
body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{display:grid;grid-template-columns:172px minmax(0,1fr);align-items:start;gap:28px;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{display:flex;flex-direction:column;flex-wrap:nowrap;position:sticky;top:88px;width:100%;z-index:20;background:transparent;gap:6px;padding:0;overflow-x:hidden;overflow-y:auto;max-height:calc(100dvh - 180px);}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{width:100%;justify-content:flex-start;min-height:44px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-grid{grid-template-columns:minmax(0,1fr)!important;}
body.dense-ui.ui-refresh .screen-pengaturan .login-background-preview{max-width:680px;}
@media(max-width:1000px){body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{grid-template-columns:144px minmax(0,1fr);gap:20px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{padding-inline:10px!important;gap:10px;font-size:13px!important;}}
@media(max-width:600px){body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{grid-template-columns:48px minmax(0,1fr);gap:12px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{width:44px;height:44px!important;padding:0!important;justify-content:center;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;}body.dense-ui.ui-refresh .screen-pengaturan .settings-subnav button{font-size:12px;flex:1 1 auto;}body.dense-ui.ui-refresh .screen-pengaturan .settings-panel{padding:20px 14px!important;}}
/* The form scrolls below the heading, so no field passes behind its surface. */
body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{min-height:0;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{max-height:calc(100dvh - 250px);overflow-y:auto;overscroll-behavior:contain;scroll-padding-block:16px;scrollbar-width:thin;padding:4px 8px 20px 0;}
body.dense-ui.ui-refresh .screen-pengaturan .module-page-heading{z-index:10;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{z-index:5;}
@media(max-width:600px){body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{max-height:calc(100dvh - 230px);padding-right:3px;}}
/* Heading belongs to the navigation column, never above the form canvas. */
body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation{position:sticky;top:16px;min-width:0;align-self:start;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-heading{position:static;min-height:0;padding:0 10px 20px!important;display:block!important;background:transparent;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-heading h1{font-size:24px!important;line-height:1.3;white-space:normal;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-actions{margin-top:12px!important;}
body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid{position:static;max-height:calc(100dvh - 220px);}
body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{max-height:calc(100dvh - 165px);}
body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{margin-top:0;}
@media(max-width:600px){body.dense-ui.ui-refresh .screen-pengaturan .settings-page-layout{grid-template-columns:82px minmax(0,1fr);gap:10px;}body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-heading{padding-inline:0!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-heading h1{font-size:14px!important;}body.dense-ui.ui-refresh .screen-pengaturan .settings-navigation .module-page-actions{display:none;}body.dense-ui.ui-refresh .screen-pengaturan .settings-category-grid>button{width:44px;margin-inline:auto;}body.dense-ui.ui-refresh .screen-pengaturan .settings-canvas{max-height:calc(100dvh - 125px);}}
.fixed-role-assignments{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 24px;padding:20px;background:var(--ui-soft);border-radius:8px;font-size:13px;}
.fixed-role-assignments dt{font-weight:600;}.fixed-role-assignments dd{margin:0;}.fixed-role-all{padding:20px;background:var(--ui-soft);border-radius:8px;}

/* Staff accounts share the existing account editor without a second settings rail. */
body.dense-ui.ui-refresh .staff-accounts-embedded .settings-page-layout{display:block!important;}
body.dense-ui.ui-refresh .staff-accounts-embedded .settings-canvas{max-height:none!important;overflow:visible!important;padding:0!important;}
body.dense-ui.ui-refresh .screen-pengaturan .role-manager-grid{display:block!important;}
.role-table-row{cursor:pointer;}.role-table-row:hover{background:var(--ui-soft,#f5f5f5);}
.role-name-button{font-weight:600;text-align:left;color:inherit;}
.role-dialog-overlay{position:fixed;inset:0;z-index:10000;background:rgba(24,24,27,.4);display:flex;align-items:center;justify-content:center;padding:24px;}
.role-dialog{width:min(820px,100%);max-height:88dvh;overflow:auto;background:var(--ui-surface,#fff);color:var(--ui-text,#27272a);border-radius:16px;box-shadow:0 16px 60px #0002;}
.role-dialog-header{display:flex;align-items:center;justify-content:space-between;padding:16px 24px;border-bottom:1px solid var(--ui-border,#eee);position:sticky;top:0;background:var(--ui-surface,#fff);z-index:1;}
.role-dialog .settings-role-editor{padding:24px!important;box-shadow:none!important;border:0!important;}
.currency-entry{display:flex;align-items:center;gap:10px;padding:10px 12px;background:var(--ui-surface,#fff);border:1px solid var(--ui-border,#ddd);border-radius:12px;}
.currency-entry>span{color:#71717a;font-size:13px;}.currency-entry>input{width:100%;min-width:0;background:transparent;border:0;outline:none;box-shadow:none;font-size:13px;color:inherit;}
@media(max-width:600px){.role-dialog-overlay{padding:12px;}.role-dialog .settings-role-editor{padding:16px!important;}.fixed-role-assignments{gap:12px;padding:12px;}}

.student-actions-menu{position:relative;flex-shrink:0;}.student-actions-trigger{width:36px!important;padding:0!important;}.student-actions-dropdown{position:absolute;right:0;top:calc(100% + 8px);width:248px;padding:6px;background:var(--ui-surface,#fff);border-radius:10px;box-shadow:0 8px 28px #18181b25;z-index:60;}.student-actions-dropdown>button{display:flex!important;align-items:center;justify-content:flex-start!important;gap:10px;width:100%;padding:11px 12px!important;background:transparent!important;border:0!important;border-radius:6px!important;color:var(--ui-text,#3f3f46)!important;font-size:13px!important;text-align:left;white-space:normal;}.student-actions-dropdown>button:hover{background:var(--ui-soft,#f4f4f5)!important;}.student-actions-dropdown .student-actions-delete{color:var(--ui-secondary,#71717a)!important;}.screen-mahasiswa-detail .detail-page-heading{overflow:visible!important;}

.staff-document-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;}.staff-document-row{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:0;padding:18px 0;border-bottom:1px solid var(--ui-border,#eee);}.staff-document-row>div:first-child{min-width:0;}.staff-document-row strong{font-size:13px;font-weight:600;}.staff-document-row p{font-size:12px;color:var(--ui-secondary,#71717a);margin:5px 0 0;overflow-wrap:anywhere;}.staff-document-actions{display:flex;align-items:center;gap:6px;flex-shrink:0;}.staff-document-actions label{cursor:pointer;}.staff-document-actions label:focus-visible{outline:2px solid #960e30;outline-offset:3px;}@media(max-width:1100px){.staff-document-list{grid-template-columns:1fr;}}@media(max-width:600px){.staff-document-row{align-items:flex-start;flex-direction:column;}.student-actions-dropdown{width:230px;}}
