/* SASANDO V1.00 FINAL VISUAL POLISH & CONSISTENCY CLOSURE — DEF-UAT-POLISH-001 */
body.sis-ui-v23{
  --sis-polish-border:#e4e9f0;
  --sis-polish-border-strong:#d8e0ea;
  --sis-polish-shadow:0 1px 2px rgba(15,23,42,.035),0 8px 22px rgba(15,23,42,.035);
  --sis-polish-shadow-float:0 16px 40px rgba(15,23,42,.12);
}
body[data-theme="dark"].sis-ui-v23{
  --sis-polish-border:#25324a;
  --sis-polish-border-strong:#33415b;
  --sis-polish-shadow:0 1px 2px rgba(0,0,0,.18),0 8px 22px rgba(0,0,0,.16);
  --sis-polish-shadow-float:0 18px 44px rgba(0,0,0,.36);
}
body.sis-ui-v23 .sis-content h1,
body.sis-ui-v23 .sis-content .h1{font-weight:720;letter-spacing:-.022em}
body.sis-ui-v23 .sis-content h2,
body.sis-ui-v23 .sis-content .h2,
body.sis-ui-v23 .sis-content h3,
body.sis-ui-v23 .sis-content .h3{font-weight:680;letter-spacing:-.012em}
body.sis-ui-v23 .sis-content h4,
body.sis-ui-v23 .sis-content .h4,
body.sis-ui-v23 .sis-content h5,
body.sis-ui-v23 .sis-content .h5,
body.sis-ui-v23 .sis-content h6,
body.sis-ui-v23 .sis-content .h6{font-weight:650}
body.sis-ui-v23 .sis-content .form-label{font-weight:600}
body.sis-ui-v23 .sis-content .btn{font-weight:620;letter-spacing:0}
body.sis-ui-v23 .sis-content .badge{font-weight:620}
body.sis-ui-v23 .sis-content .table thead th{font-weight:650;color:color-mix(in srgb,var(--sis-text) 84%,var(--sis-muted));background:color-mix(in srgb,var(--sis-surface-soft) 74%,transparent)}
body.sis-ui-v23 .sis-content .card,
body.sis-ui-v23 .sis-content .sis-card,
body.sis-ui-v23 .sis-content .erp-card{border-color:var(--sis-polish-border);box-shadow:var(--sis-polish-shadow)}
body.sis-ui-v23 .sis-content .card.shadow,
body.sis-ui-v23 .sis-content .card.shadow-sm,
body.sis-ui-v23 .sis-content .sis-card.shadow,
body.sis-ui-v23 .sis-content .erp-card.shadow{box-shadow:var(--sis-polish-shadow)!important}
body.sis-ui-v23 .sis-content .border-primary{border-color:color-mix(in srgb,var(--sis-primary) 62%,var(--sis-polish-border))!important}
body.sis-ui-v23 .sis-content .border-success{border-color:color-mix(in srgb,#16a34a 50%,var(--sis-polish-border))!important}
body.sis-ui-v23 .sis-content .form-control,
body.sis-ui-v23 .sis-content .form-select,
body.sis-ui-v23 .sis-content .input-group-text{border-color:var(--sis-polish-border-strong);box-shadow:none}
body.sis-ui-v23 .sis-content .form-control:focus,
body.sis-ui-v23 .sis-content .form-select:focus{border-color:color-mix(in srgb,var(--sis-primary) 58%,var(--sis-polish-border-strong));box-shadow:0 0 0 .16rem color-mix(in srgb,var(--sis-primary) 11%,transparent)}
body.sis-ui-v23 .sis-content .btn:focus-visible,
body.sis-ui-v23 .sis-content a:focus-visible,
body.sis-ui-v23 .sis-content button:focus-visible,
body.sis-ui-v23 .sis-sidebar a:focus-visible,
body.sis-ui-v23 .sis-topbar a:focus-visible,
body.sis-ui-v23 .sis-topbar button:focus-visible{outline:2px solid color-mix(in srgb,var(--sis-primary) 78%,white);outline-offset:2px;box-shadow:none}
body.sis-ui-v23 .sis-icon-button,
body.sis-ui-v23 .ux-work-button,
body.sis-ui-v23 .sis-user-button{box-shadow:0 1px 2px rgba(15,23,42,.04);border-color:var(--sis-polish-border)}
body.sis-ui-v23 .sis-topbar{box-shadow:0 1px 0 rgba(15,23,42,.015)}
body.sis-ui-v23 .sis-page-kicker{font-weight:720;letter-spacing:.085em}
body.sis-ui-v23 .sis-topbar-context-label{font-weight:650}
body.sis-ui-v23 .sis-user-name{font-weight:680}
body.sis-ui-v23 .sis-breadcrumb a{font-weight:600}
body.sis-ui-v23 .sis-breadcrumb .breadcrumb-item.active{color:var(--sis-muted);font-weight:500}
body.sis-ui-v23 .sis-breadcrumb .breadcrumb-item + .breadcrumb-item::before{color:color-mix(in srgb,var(--sis-muted) 62%,transparent)}
body.sis-ui-v23 .sis-dropdown{width:min(340px,calc(100vw - 1rem));min-width:0;max-height:min(72vh,520px);overflow-y:auto;padding:.35rem;border-color:var(--sis-polish-border-strong);border-radius:.78rem;box-shadow:var(--sis-polish-shadow-float)}
body.sis-ui-v23 .sis-dropdown .dropdown-header{padding:.42rem .55rem;color:var(--sis-text)}
body.sis-ui-v23 .sis-dropdown .dropdown-header .fw-semibold{font-weight:650}
body.sis-ui-v23 .sis-dropdown .dropdown-divider{margin:.28rem .22rem;border-top-color:var(--sis-polish-border)}
body.sis-ui-v23 .sis-dropdown .dropdown-item{min-height:2rem;padding:.38rem .5rem;border-radius:.5rem;font-size:.78rem;line-height:1.25}
body.sis-ui-v23 .sis-dropdown .dropdown-item i{width:1rem;text-align:center}
body.sis-ui-v23 .sis-dropdown form.px-2{padding-inline:.15rem!important;margin-bottom:.08rem!important}
body.sis-ui-v23 .sis-dropdown > .px-3.pb-2.small{padding:.3rem .56rem .36rem!important;font-size:.78rem;line-height:1.32}
body.sis-ui-v23 .sis-dropdown .dropdown-item.active,
body.sis-ui-v23 .sis-dropdown .dropdown-item:active{background:var(--sis-primary);color:#fff}
body.sis-ui-v23 .sis-sidebar .sis-start-here{padding:.35rem .28rem .4rem;border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.018);box-shadow:none}
body.sis-ui-v23 .sis-sidebar .sis-start-here-links{gap:.16rem}
body.sis-ui-v23 .sis-sidebar .sis-start-here-links > a,
body.sis-ui-v23 .sis-sidebar .sis-guided-phase-actions > a{border:1px solid transparent;background:transparent;box-shadow:none}
body.sis-ui-v23 .sis-sidebar .sis-start-here-links > a:hover,
body.sis-ui-v23 .sis-sidebar .sis-guided-phase-actions > a:hover{border-color:rgba(255,255,255,.08);background:rgba(255,255,255,.055)}
body.sis-ui-v23 .sis-sidebar .sis-start-here-links > a.active,
body.sis-ui-v23 .sis-sidebar .sis-guided-phase-actions > a.active{border-color:rgba(84,173,255,.38);background:rgba(20,125,188,.24)}
body.sis-ui-v23 .sis-sidebar .sis-focus-hub,
body.sis-ui-v23 .sis-sidebar .sis-role-workflows,
body.sis-ui-v23 .sis-sidebar .sis-environment-card{box-shadow:none}
body.sis-ui-v23 .sis-sidebar .sis-focus-hub{border-color:rgba(255,255,255,.075);background:rgba(255,255,255,.03)}
body.sis-ui-v23 .sis-sidebar .sis-environment-card{border-color:rgba(255,255,255,.075);background:rgba(255,255,255,.035)}
body.sis-ui-v23 .sis-module-hero,
body.sis-ui-v23 .ux-hero,
body.sis-ui-v23 .curriculum-ops-hero,
body.sis-ui-v23 .sis-admin-hero,
body.sis-ui-v23 .employee-hero,
body.sis-ui-v23 .employee-profile-hero,
body.sis-ui-v23 .sg-hero,
body.sis-ui-v23 .teacher-learning-hero{box-shadow:var(--sis-polish-shadow);border-color:var(--sis-polish-border)}
body.sis-ui-v23 .alert{box-shadow:none}
body.sis-ui-v23 .modal-content,
body.sis-ui-v23 .offcanvas,
body.sis-ui-v23 .popover{border-color:var(--sis-polish-border-strong);box-shadow:var(--sis-polish-shadow-float)}
body.sis-ui-v23 .nav-tabs .nav-link,
body.sis-ui-v23 .nav-pills .nav-link{font-weight:580}
body.sis-ui-v23 .nav-tabs .nav-link.active,
body.sis-ui-v23 .nav-pills .nav-link.active{font-weight:650}
@media (max-width:575.98px){
  body.sis-ui-v23 .sis-dropdown{
    position:absolute!important;
    left:auto!important;
    right:0!important;
    top:calc(100% + .5rem)!important;
    bottom:auto!important;
    width:min(340px,calc(100vw - 1rem))!important;
    max-height:min(72dvh,560px);
    transform:none!important;
    border-radius:.9rem
  }
}

/* Auth: clean, balanced, brand-first rather than oversized landing-page treatment. */
body.sasando-auth-v23 .sasando-login-logo{display:block;background:#fff;border:1px solid rgba(255,255,255,.78);border-radius:.72rem;padding:.28rem .42rem;box-shadow:0 8px 24px rgba(4,20,56,.12)}
body.sasando-auth-v23 .sasando-login-mobile-brand img{background:#fff;border-radius:.62rem;padding:.22rem .34rem}
body.sasando-auth-v23 .sasando-login-heading h2{font-weight:720;letter-spacing:-.02em}
body.sasando-auth-v23 .sasando-login-brand h1{font-weight:720;letter-spacing:-.025em}
body.sasando-auth-v23 .sasando-login-eyebrow{font-weight:700;letter-spacing:.105em}
body.sasando-auth-v23 .sasando-login-card .form-label{font-weight:600}
body.sasando-auth-v23 .sasando-input-wrap .form-control{border-color:#d9e0ea;box-shadow:none}
body.sasando-auth-v23 .sasando-input-wrap .form-control:focus{border-color:#3569c8;box-shadow:0 0 0 .16rem rgba(22,99,255,.10)}
body.sasando-auth-v23 .sasando-login-submit{font-weight:650;box-shadow:0 8px 18px rgba(13,63,145,.14)}
body.sasando-auth-v23 .sasando-login-points span{border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.055);box-shadow:none}
@media (min-width:992px) and (pointer:fine){
  body.sasando-auth-v23 .sasando-login-brand-inner{transform:translateY(-1.5vh)}
  body.sasando-auth-v23 .sasando-login-panel{align-items:center}
}

/* Public verification/activation surfaces share the same quiet visual hierarchy. */
body.sasando-standalone-v23{background:#f4f7fb;color:#172033}
body.sasando-standalone-v23 .sasando-standalone-card{border:1px solid #e2e8f0;background:#fff;box-shadow:0 8px 28px rgba(15,23,42,.06)}
body.sasando-standalone-v23 .sasando-standalone-card h1{font-weight:700;letter-spacing:-.018em}
body.sasando-standalone-v23 .sasando-standalone-logo{display:block;width:112px;max-width:32vw;height:auto;padding:.16rem .24rem;border:1px solid #e5eaf1;border-radius:.52rem;background:#fff}
/*
 * SASANDO V1.00 — Project-wide Wide Workspace V27
 *
 * Purpose:
 * - Use the available desktop canvas at browser zoom 100%.
 * - Widen pages without shrinking typography or controls.
 * - Preserve narrow/form intent while giving forms more working room.
 * - Keep dense tables horizontally scrollable instead of compressing text.
 * - Leave tablet/mobile geometry unchanged.
 */

@media (min-width: 1200px) and (pointer: fine) {
    body.sis-ui-v23 {
        --sis-page-gutter: clamp(.75rem, .82vw, 1rem);
        --sis-content-standard: 2200px;
        --sis-content-narrow: 1280px;
    }

    /* Standard and explicit workspaces should consume the full ERP canvas. */
    body.sis-ui-v23 .sis-content--standard,
    body.sis-ui-v23 .sis-content--wide {
        width: 100%;
        max-width: 100%;
    }

    /* CRUD/profile pages stay focused, but are no longer unnecessarily narrow. */
    body.sis-ui-v23 .sis-content--narrow {
        width: 100%;
        max-width: min(1320px, 100%);
    }

    /* A small number of legacy internal views still introduce a Bootstrap
       .container inside the ERP shell. Do not create a second width ceiling. */
    body.sis-ui-v23 .sis-content > .container:not(.container-fluid),
    body.sis-ui-v23 .sis-content > form > .container:not(.container-fluid) {
        width: 100%;
        max-width: 100%;
    }

    /* Tables and workspace matrices should use width first and scroll only
       when the data model genuinely needs more columns. */
    body.sis-ui-v23 .sis-content .table-responsive,
    body.sis-ui-v23 .sis-content .sis-table-wrap,
    body.sis-ui-v23 .sis-content .overflow-x-auto {
        width: 100%;
        max-width: 100%;
    }

    /* Executive dashboard should not re-introduce a fixed desktop ceiling. */
    body.sis-ui-v23[data-ui-role="kepala_sekolah"] .sis-page-main {
        width: 100%;
        max-width: none;
    }
}

@media (min-width: 1600px) and (pointer: fine) {
    body.sis-ui-v23 {
        --sis-page-gutter: clamp(.7rem, .72vw, .9rem);
    }

    /* Wide screens are for more information space, not smaller text. */
    body.sis-ui-v23 .sis-content {
        padding-left: var(--sis-page-gutter);
        padding-right: var(--sis-page-gutter);
    }
}

@media (min-width: 2200px) and (pointer: fine) {
    body.sis-ui-v23 {
        --sis-page-gutter: .85rem;
    }

    /* Keep very-wide workspaces readable by letting cards/grids grow through
       their own responsive rules rather than adding a global max-width cap. */
    body.sis-ui-v23 .sis-content--standard,
    body.sis-ui-v23 .sis-content--wide {
        max-width: 100%;
    }
}

/* SASANDO V1.00 Unified Teaching Assignment Review Gate */
.teaching-review-card{scroll-margin-top:5.5rem}.teaching-review-filter{background:var(--bs-tertiary-bg)}.teaching-review-table-wrap{max-height:48rem;overflow:auto}.teaching-review-table thead th{position:sticky;top:0;z-index:2;white-space:nowrap}.teaching-review-workload>summary{cursor:pointer}@media(max-width:991.98px){.teaching-review-table{min-width:1100px}}

/* Schedule approval review closure */
.schedule-review-search{min-width:13.75rem}
@media(max-width:575.98px){.schedule-review-search{min-width:0;width:100%}}
/* UI-MOB-011: planning governance badges may wrap on narrow screens */
#planning-governance-settings .hm-strategic-settings__badges .badge {
    white-space: normal;
    max-width: 100%;
    overflow-wrap: anywhere;
}