/* Shared presentation: GetDesign Apple reference, adapted for a dense Korean ledger. */
@font-face{font-family:Pretendard;font-display:swap;font-weight:100 900;src:url('/fonts/PretendardVariable.woff2')}
:root{--canvas:#f5f5f7;--surface:#fff;--ink:#1d1d1f;--secondary:#6e6e73;--hairline:#d2d2d7;--divider:#ebebed;--action:#0066cc;--radius:20px;color-scheme:light}
body{background:var(--canvas);color:var(--ink);font-family:Pretendard,-apple-system,BlinkMacSystemFont,system-ui,sans-serif;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font-family:inherit}
h1,h2,h3,strong{font-weight:600}h1{letter-spacing:-.8px}h2,h3{letter-spacing:-.3px}
body.team-layout>main{max-width:none;width:100%;padding:32px 32px 40px}
body.team-layout main>header h1{font-size:28px;font-weight:600;line-height:1.3;margin-bottom:7px}
body.team-layout main>header{margin-bottom:22px}
body.team-layout small,.muted,footer{color:var(--secondary)}
a,summary{color:var(--action)}
button{color:var(--ink);transition:background-color .16s,border-color .16s;min-height:40px}
button:hover:not(:disabled){border-color:#a1a1a6}button:disabled{opacity:.5;cursor:not-allowed}
input,select,textarea{border-color:var(--hairline);border-radius:12px;color:var(--ink);accent-color:var(--action)}
input::placeholder,textarea::placeholder{color:var(--secondary);opacity:1}
:is(a,button,input,textarea,select,summary):focus-visible,body #detail :focus-visible{outline:3px solid var(--action);outline-offset:3px}
section,article,.org-stat,.school-stat,.stat{border-color:var(--divider);box-shadow:none}
button.primary,.org-panel form button,.detail-content .save{background:var(--ink);border-color:var(--ink);color:white;border-radius:999px;padding-inline:20px}
button.primary:hover:not(:disabled),.org-panel form button:hover:not(:disabled){background:#333336}
/* Quiet sidebar and one consistent selection treatment on every page. */
#team-sidebar{background:#fafafc;border-color:var(--divider);color:var(--ink);padding-top:30px}
#team-sidebar nav a{color:#424245;border-radius:12px;min-height:44px;padding:12px 14px}
#team-sidebar nav a:hover{background:#ebebed}
#team-sidebar nav a[aria-current]{background:#e4e4e8;color:var(--ink);font-weight:600}
#team-sidebar .team-caption{color:var(--secondary);line-height:1.6;margin-bottom:28px}
#team-sidebar .team-name{font-weight:600;font-size:17px;letter-spacing:-.4px}
.team-bottom button{background:transparent;border-color:var(--hairline);color:#424245;border-radius:999px;min-height:40px}
.team-toggle{background:#fafafcf5;color:var(--ink);border-color:var(--hairline);min-height:44px}
.school-views,.partner-views{gap:6px}
.school-views button,.partner-views button,.org-tabs button{border-color:transparent;background:#ebebed;color:#424245;border-radius:999px;font-weight:600}
.school-views button[aria-pressed=true],.partner-views button[aria-pressed=true],.org-tabs button[aria-selected=true],.tabs button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
/* Tables remain wide and compact. Color is reserved for operational statuses. */
table{font-variant-numeric:tabular-nums}th,.instructor-table thead th,.ledger-table th,.stock-summary-table th{background:#fafafc;color:var(--secondary);font-weight:600;border-color:var(--divider)}
td{border-color:var(--divider)}tbody tr:hover,.instructor-row:hover td,.instructor-row:hover th,.instructor-row:focus-within td,.instructor-row:focus-within th{background:#f5f5f7}
.org-name,td button.school-name{color:var(--ink)}
.instructor-open,.org-name{min-height:44px}
.partner-grade{background:#ebebed;color:var(--ink);border-radius:10px}
.partner-price{color:var(--ink)}
.org-pill.active,.payment-tag:not(.needs-review),.profile-chips span{background:#f0f0f2;color:#424245}
.org-caption,.partner-micro,.partner-details-intro,.partner-section-note,.profile-caption,.profile-fields dt,.profile-evidence,.org-stat span,.school-stat span{color:var(--secondary)}
.directory-page .toolbar{border-radius:18px;padding:16px}
.instructor-table-wrap,.org-list,.list-panel,.map-panel{border-radius:20px;border-color:var(--divider)}
.org-toolbar,.school-filters{border-radius:18px}
.org-stat,.school-stat,.tablets-page .stat{border-radius:20px}
.org-stat strong,.school-stat strong,.tablets-page .stat strong{letter-spacing:-.7px;font-weight:600}
.notice{background:#f0f0f2}
/* Sheets: explicit hierarchy, stable panels and neutral modal backdrop. */
dialog,.directory-page #detail,.school-page dialog{border:1px solid var(--divider);border-radius:28px;color:var(--ink);box-shadow:0 24px 80px #00000026}
dialog::backdrop,.directory-page #detail::backdrop,.school-page dialog::backdrop{background:#00000040;backdrop-filter:blur(5px)}
.profile-header h2{font-weight:600;letter-spacing:-.7px}
.profile-tabs button[aria-selected=true]{color:var(--ink);border-bottom-color:var(--ink)}
.profile-tabs button:hover{background:var(--canvas)}
.profile-card{box-shadow:none;border-color:var(--divider)}
.profile-contact,.profile-header h2 span,.profile-empty,.memo-entry time{color:var(--secondary)}
.org-detail-head,.detail-header{border-bottom-color:var(--divider)}
.org-tabs{padding-top:18px;padding-bottom:18px;gap:6px}
.org-detail-head>button,.detail-header>button{align-self:flex-start;flex-shrink:0}
#org-detail[open],#partner-detail[open]{height:min(900px,calc(100dvh - 40px));overflow:hidden}
#org-content,#partner-content{height:100%;display:flex;flex-direction:column;min-height:0}
#org-content>.org-detail-head,#partner-content>.org-detail-head{position:static;flex-shrink:0}
#org-content>.org-tabs,#partner-content>.org-tabs{flex-shrink:0;flex-wrap:nowrap;overflow-x:auto}
.org-tabs button{white-space:nowrap;flex-shrink:0}
#org-content>.org-panel,#partner-content>.org-panel{overflow-y:auto;flex:1;min-height:0;overscroll-behavior:contain;padding-bottom:30px}
.org-detail-head button,.detail-header>button,dialog>.close{border-radius:999px;background:#f0f0f2;color:var(--ink);border-color:transparent;min-height:44px}
.org-detail-table{border-color:var(--divider)}
.org-panel textarea,.partner-form textarea{line-height:1.7}
.school-page th button.active{background:#e4e4e8;color:var(--ink)}
/* Semantic map markers must still match the map legend. */
.our{background:#2a71b5}.map-cluster.has-orders{border-color:#2a71b5;color:#21659c;background:#fff}.region-map-label span{color:#21659c}
.login-page{min-height:100dvh;background:var(--canvas);color:var(--ink)}
.login-page main,.login-page .card{background:#fff;border:1px solid var(--divider);border-radius:28px;box-shadow:none}
.login-page main{background:transparent;border:0;padding-top:30px}
.login-page header{background:transparent;border-bottom:1px solid var(--divider)}
.login-page p{color:var(--secondary)}
.login-page .card{text-align:left}.login-page .card h1,.login-page .card h1+p{text-align:center}.login-page .card input{text-align:left}
.login-page input{font-family:inherit;background:#fff;color:var(--ink);border:1px solid var(--hairline);border-radius:12px;min-height:48px}
.login-page button[type=submit],.login-page form button{background:var(--ink);color:white;border:0;border-radius:999px;min-height:48px}
@media(min-width:801px){body.team-layout{padding-left:248px}body #team-sidebar{width:248px;padding-left:16px;padding-right:16px}}
@media(max-width:800px){body.team-layout>main{padding:20px 14px 32px}body.team-layout main>header h1{font-size:25px}input,select,textarea{font-size:16px}button{min-height:44px}.org-stat,.school-stat{padding:12px}.org-stat strong,.school-stat strong{font-size:20px}dialog,.directory-page #detail,.school-page dialog{border-radius:22px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

/* Management overview: rounded equal-cell summary, approved option 2. */
.directory-page #stats,#org-stats,#partner-stats{display:block;margin:22px 0 24px}
.management-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #dddeda;border-radius:18px;overflow:hidden;padding:0;min-height:196px;align-items:stretch}
.management-overview.without-focus{grid-template-columns:repeat(3,minmax(0,1fr))}
.overview-item{min-width:0;padding:25px 26px;display:flex;flex-direction:column;align-items:flex-start}
.overview-item+.overview-item{border-left:1px solid #dddeda}
.management-overview h2{font-size:14px;font-weight:550;line-height:1.5;color:#262724;margin:0 0 20px;display:flex;align-items:center;gap:9px}
.overview-number{display:flex;align-items:baseline;gap:7px;line-height:1.1}
.overview-number strong{font-size:44px;font-weight:620;letter-spacing:-1.6px;color:#262724;font-variant-numeric:tabular-nums}
.overview-number span{font-size:14px;color:#74776f}.overview-item.needs-attention{background:#f7f2e9}.management-overview h2::before{content:"";width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#788b70}.management-overview .needs-attention h2::before{background:#b18038}
.management-overview p{font-size:12px;line-height:1.6;color:#74776f;margin:9px 0 0}
.overview-item a{display:inline-flex;align-items:center;min-height:44px;color:#76551f;font-size:12px;text-underline-offset:3px}
@media(max-width:1100px){.overview-item{padding-inline:18px}.management-overview h2{font-size:13px}}
@media(max-width:700px){.management-overview,.management-overview.without-focus{grid-template-columns:repeat(2,minmax(0,1fr));padding:0;min-height:0}.overview-item,.overview-item:first-child{padding:20px 16px}.overview-item:nth-child(odd){border-left:0}.overview-item:nth-child(n+3){border-top:1px solid #dddeda}.overview-number strong{font-size:32px}.management-overview h2{margin-bottom:10px}.management-overview.without-focus .overview-item:last-child{grid-column:1/-1}}

/* Tablet ledger: availability, asset composition and actionable recovery queue. */
.tablets-page #stats{display:block;margin:22px 0 18px}.tablet-dashboard{display:grid;grid-template-columns:minmax(190px,.75fr) minmax(350px,1.3fr) minmax(340px,1.2fr);border:1px solid #e5e3df;border-radius:18px;overflow:hidden;background:#fff;min-height:196px}
.tablet-dashboard>section{border:0;border-radius:0;margin:0;padding:18px 22px;box-shadow:none;background:transparent;min-width:0}.tablet-dashboard>section+section{border-left:1px solid #e8e6e3}.tablet-dashboard h2{margin:0;font-size:15px;font-weight:600;color:#37352f}.tablet-dashboard p{margin:6px 0;font-size:12px;line-height:1.6;color:#78746d}
.tablet-dashboard .tablet-ready{background:#f4f7f3;display:flex;flex-direction:column;align-items:flex-start}.tablet-eyebrow{font-size:14px;font-weight:600;color:#3d624c}.tablet-main-number{display:flex;align-items:baseline;gap:9px;margin:8px 0 0}.tablet-main-number strong{font-size:44px;font-weight:620;line-height:1.1;letter-spacing:-1.6px;color:#294b37;font-variant-numeric:tabular-nums}.tablet-main-number>span{font-size:16px;color:#617968}.tablet-ready button{margin-top:auto;padding:8px 0;border:0;border-radius:0;background:transparent;color:#315640;text-decoration:underline;text-underline-offset:4px;font-size:12px;min-height:36px}.tablet-ready button span{margin-left:12px}
.tablet-dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.tablet-dashboard-heading>span{font-size:11px;white-space:nowrap;color:#78746d}.tablet-stack{display:flex;gap:3px;height:8px;border-radius:4px;overflow:hidden;margin:12px 0 8px}.tablet-stack span{min-width:2px}.segment-ready{background:#33865b}.segment-held{background:#757d89}.segment-out{background:#3478cc}.segment-unknown{background:#d88a24}.tablet-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.tablet-legend button{display:flex;align-items:center;gap:6px;min-width:0;width:100%;min-height:34px;padding:4px 0;border:0;border-radius:3px;background:transparent;text-align:left;color:#57544d;font-size:12px}.tablet-legend button:hover{background:#f5f4f1}.tablet-legend i{width:10px;height:10px;border-radius:2px;flex-shrink:0}.tablet-legend button>strong{margin-left:auto;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;color:#37352f}.tablet-legend small,.tablet-followup-item small{font-weight:400;font-size:11px;margin-left:4px;color:#78746d}.tablet-legend button>span:last-child{font-size:11px;color:#99948b}.tablet-dashboard .tablet-scope-note{font-size:11px;line-height:1.6;margin:7px 0 0;color:#78746d}
.tablet-followup #followup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin-top:8px}.tablet-followup .tablet-scope-note{grid-column:1/-1}.tablet-followup-item{display:flex;align-items:center;gap:6px;width:100%;min-height:44px;padding:9px 0;border:0;border-bottom:1px solid #eceae7;border-radius:0;background:none;text-align:left;font-size:12px;color:#4d4943}.tablet-followup-item strong{margin-left:auto;font-size:18px;font-weight:600;font-variant-numeric:tabular-nums}.tablet-followup-item>span:last-child{color:#969087}.tablet-followup-item.danger strong{color:#a83f36}.tablet-followup-item.warn strong{color:#996622}.tablet-followup-item.soon strong{color:#607a59}.tablet-followup-item.zero strong{color:#969087}.tablet-followup-item:hover{background:#f6f5f2}.tablets-page .inventory-overview{display:block;margin-bottom:18px}.tablets-page .stock-summary{padding:16px 22px}.tablets-page .stock-summary .section-heading{margin-bottom:8px}.stock-breakdown summary{font-size:12px;color:#78746d;cursor:pointer;padding:6px 0}.stock-breakdown[open] summary{margin-bottom:12px}.tablets-page .lending-section{scroll-margin-top:18px}
@media(max-width:1300px){.tablet-dashboard{grid-template-columns:1fr 1.4fr}.tablet-dashboard .tablet-followup{grid-column:1/-1;border-left:0;border-top:1px solid #e8e6e3}.tablet-followup #followup{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}.tablet-followup .tablet-scope-note{grid-column:1/-1}}
@media(max-width:650px){.tablet-dashboard{grid-template-columns:1fr}.tablet-dashboard>section{padding:18px 20px}.tablet-dashboard>section+section{border-left:0;border-top:1px solid #e8e6e3}.tablet-dashboard .tablet-ready{display:grid;grid-template-columns:1fr auto;column-gap:12px}.tablet-eyebrow{grid-column:1}.tablet-main-number{grid-column:2;grid-row:1/3;margin:0}.tablet-main-number strong{font-size:32px}.tablet-ready p{grid-column:1;grid-row:2;font-size:11px}.tablet-ready button{grid-column:1/-1;justify-self:start}.tablet-followup #followup{grid-template-columns:1fr}.tablet-legend{grid-template-columns:1fr}.tablet-legend button{min-height:44px}.tablet-stack{margin-top:16px}.tablets-page .stock-summary{padding:16px}.tablet-dashboard .tablet-scope-note{font-size:11px}}

#team-sidebar [hidden]{display:none!important}.team-account-link{display:block;font-size:12px;text-align:center;margin:0 0 10px;padding:8px;color:#6e6e73}
.account-page>header{display:none}.account-page.team-layout>main{max-width:none;margin:0;padding:32px}.account-page h1{font-size:28px;font-weight:600;letter-spacing:-.6px}.account-page .grid{grid-template-columns:360px minmax(0,1fr);gap:22px}.account-page .card{border-radius:16px;border:1px solid #e5e3df;padding:24px;background:#fff}.account-page .card>p{font-size:13px;color:#78746d}.account-page input{border:1px solid #d8d6d1;border-radius:10px;min-height:44px}.account-page label{font-size:12px;color:#57544d}.account-page form>button{background:#37352f;color:#fff;border-radius:10px;min-height:44px}.account-page .notice{background:#f5f4f1;color:#625e56;border-radius:10px}.account-page .notice.error{background:#fbefed;color:#9b352b}.account-page .account-security{margin-bottom:24px}.account-page .account-security>summary{margin:0;font-size:15px;font-weight:600;color:#37352f;min-height:28px}.account-page .account-security[open]>summary{margin-bottom:22px}.account-security-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.account-security-grid>section{max-width:480px}.account-page .row{border-color:#e8e6e3}.account-page .rowhead b{font-size:15px}.account-page .secondary{background:#f1efeb;color:#5c554a}.account-page .actions button{min-height:36px}.account-page .tag{font-size:12px}.account-page summary{color:#6f614a}.account-page .small{font-size:12px;line-height:1.7;color:#78746d}.account-page .row form{max-width:420px}
@media(max-width:900px){.account-page .grid{grid-template-columns:1fr}.account-security-grid{grid-template-columns:1fr;gap:28px}.account-security-grid>section{max-width:none}.account-page.team-layout>main{padding:20px 14px}.account-page input{font-size:16px}.account-page .rowhead{flex-wrap:wrap}}

.account-page #team-sidebar nav{align-items:stretch;flex-wrap:nowrap;justify-content:flex-start}.account-page #team-sidebar .team-name{color:#1d1d1f}.account-page #team-sidebar .team-bottom button{background:#fff;color:#6e6e73}

/* Colored, consistent menu symbols; text remains the accessible link name. */
#team-sidebar nav a{display:flex;align-items:center;gap:12px}.team-nav-icon{display:block;flex:0 0 20px;width:20px;height:20px}

.tablet-legend button>strong,.tablet-followup-item strong{white-space:nowrap;flex-shrink:0}

#team-sidebar .team-name{margin-bottom:26px}

.identifier-help{font-size:12px;color:#6e6e73;line-height:1.8}.identifier-preview{padding:12px 16px;background:#f5f5f7;border-radius:12px;font-size:12px;line-height:1.8}.identifier-preview.error{color:#9b352b;background:#fbefed}.loan-identifiers>div{padding-top:12px;font-size:12px;line-height:1.8}

/* Shared list shell based on the tablet lending ledger. */
.calendar-nav{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.calendar-nav button{padding:8px 14px;border:1px solid var(--hairline);background:#fff;border-radius:10px}.calendar-nav strong{font-size:16px;min-width:110px;text-align:center}
.calendar-note,.calendar-warning{font-size:12px;line-height:1.7;color:var(--secondary);margin:8px 0 14px}.calendar-warning{background:#faf7ef;color:#806331;padding:10px 14px;border-radius:10px}
.calendar-scroll{overflow-x:auto}.calendar-week,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:560px}.calendar-week span{text-align:center;padding:6px;font-size:12px;color:var(--secondary)}.calendar-week span:first-child{color:#a75050}
.calendar-grid{gap:1px;background:var(--divider);border:1px solid var(--divider);border-radius:12px;overflow:hidden}
.calendar-grid .calendar-day{display:flex;flex-direction:column;align-items:flex-start;gap:3px;border:0;border-radius:0;background:white;padding:8px 10px;min-height:88px;text-align:left;font-size:12px;min-width:0;color:var(--ink)}
.calendar-grid .calendar-day:hover{background:#f5f5f7}.calendar-grid .calendar-day[aria-pressed=true]{background:#f0f3ef;box-shadow:inset 0 0 0 2px #6b9074}.calendar-day.outside{color:#96969b;background:#fafafc}.calendar-date{display:flex;align-items:center;gap:8px;font-weight:600;margin-bottom:3px}.calendar-date small{font-size:10px;font-weight:400}.is-today .calendar-date{color:#386147}.calendar-out{color:#526b89}.calendar-due{color:#8a6c46}.calendar-day strong{font-size:13px;font-weight:600}.calendar-day>small{font-size:10px;color:var(--secondary)}
.calendar-detail{margin-top:20px;border-top:1px solid var(--divider);padding-top:18px}.calendar-detail h3{font-size:15px;margin:0}.calendar-detail details{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.calendar-detail .primary{font-size:12px;min-height:40px}.calendar-events{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:10px;margin-top:14px}.calendar-events>button{display:flex;align-items:flex-start;flex-direction:column;gap:7px;padding:14px;border:1px solid var(--divider);border-radius:12px;background:#fff;text-align:left;min-width:0;overflow-wrap:anywhere;font-size:12px}.calendar-events>button>small{font-size:11px;color:var(--secondary)}.calendar-event-type{font-size:11px;background:#f1f3f6;color:#526b89;border-radius:6px;padding:3px 7px}.calendar-event-type.due{background:#faf5eb;color:#8a6c46}.calendar-event-type.returned{background:#eff5ed;color:#386147}.calendar-empty{font-size:12px;color:var(--secondary);padding:12px 0}
@media(max-width:800px){.calendar-grid .calendar-day{padding:7px;min-height:88px}.calendar-nav{gap:6px}.calendar-nav strong{min-width:95px;font-size:14px}.calendar-events{grid-template-columns:1fr}}
body .team-ledger{background:#fff;border:1px solid var(--divider);border-radius:20px;padding:20px;margin-bottom:20px;min-width:0}
.team-ledger [hidden]{display:none!important}
.team-ledger-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}
.team-ledger-heading h2{font-size:15px;font-weight:600;line-height:1.5;margin:0}
.team-ledger-heading p{font-size:12px;line-height:1.6;color:var(--secondary);margin:5px 0 0}
.team-ledger-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.team-ledger-actions :is(a,button){font-size:12px;line-height:1.5;border:1px solid var(--hairline);border-radius:12px;padding:10px 12px;background:white;text-decoration:none;color:var(--ink);min-height:40px}
body .team-ledger .team-ledger-toolbar{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;background:#fafafc;border:1px solid var(--divider);border-radius:12px;padding:12px;margin:0 0 12px}
.team-ledger-toolbar>input{flex:1;min-width:220px}.team-ledger-toolbar label{font-size:11px;color:var(--secondary);gap:5px}
.team-ledger-toolbar :is(input,select){font-size:12px;min-height:40px;border-radius:10px;border:1px solid var(--hairline);background:#fff;padding:9px 12px}
.team-ledger .partner-notice{font-size:11px;margin:8px 0 12px;color:var(--secondary);background:transparent;border:0;padding:0}
body .team-ledger :is(.instructor-table-wrap,.org-list){border:0;border-radius:0;margin:0;padding:0;background:#fff}
.team-ledger :is(.org-table-wrap,.instructor-table-wrap,.school-table-wrap,.bom-table-wrap){overflow-x:auto}
.team-ledger table{width:100%;border-collapse:collapse;font-size:12px;line-height:1.65}
.team-ledger table :is(th,td){padding:12px;border-bottom:1px solid var(--divider);vertical-align:middle;text-align:left}
.team-ledger table thead th{background:#fafafc;font-size:11px;font-weight:500;color:var(--secondary)}
.team-ledger table tbody tr:last-child :is(td,th){border-bottom:0}
.team-ledger table tbody tr:hover :is(td,th){background:#fafafc}
.team-ledger table small{font-size:11px;line-height:1.6;color:var(--secondary)}
.team-ledger table :is(.org-name,.school-name){font-size:13px;font-weight:600}
.team-ledger .instructor-open{font-size:13px;gap:10px;min-height:42px}.team-ledger .row-avatar{width:32px;height:40px;border-radius:9px}
.team-ledger :is(.cert,.cell-line,.cell-two,.school-cell,.loan-cell){font-size:12px;line-height:1.65}
.team-ledger .partner-views,.team-ledger .school-views{margin:0 0 12px}
.team-ledger .school-workspace,.team-ledger .bom-workspace{margin-top:14px}
.team-ledger .list-panel,.team-ledger .bom-detail{border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.team-ledger .list-heading{padding:0 0 12px;border-bottom:0}
.team-ledger .bom-list-heading{padding:16px 18px;gap:12px;border-bottom:1px solid var(--divider)}
.team-ledger .bom-list-heading h2{margin:0;min-width:0}
.team-ledger #bom-count{flex-shrink:0;white-space:nowrap}
.team-ledger .bom-products{min-width:0}
.team-ledger .list-heading h2,.team-ledger .bom-list-heading h2{font-size:15px}
@media(max-width:800px){body .team-ledger{padding:14px}.team-ledger-heading{align-items:flex-start;flex-wrap:wrap}.team-ledger-toolbar>input{flex-basis:100%;min-width:0}.team-ledger-toolbar label{flex:1;min-width:130px}.team-ledger-toolbar label :is(input,select){width:100%}.team-ledger-actions{max-width:100%}.team-ledger-actions a{white-space:normal}.team-ledger table :is(th,td){padding:10px}}

.calendar-numbers{margin:12px 0!important;border:1px solid var(--divider);border-radius:12px;padding:14px!important}.calendar-numbers summary{font-size:13px;font-weight:600;color:var(--ink)}.calendar-number-table{margin-top:10px}.calendar-number-head,.calendar-number-row{display:grid;grid-template-columns:110px minmax(0,1fr) 55px;gap:16px;align-items:center;padding:12px 8px;border-bottom:1px solid var(--divider);font-size:12px}.calendar-number-head{color:var(--secondary);background:#fafafc;font-size:11px}.calendar-number-row:last-child{border-bottom:0}.calendar-number-row>strong:last-child,.calendar-number-head>span:last-child{text-align:right;white-space:nowrap}.calendar-number-chips{display:flex;flex-wrap:wrap;gap:6px}.calendar-number-chips span{display:inline-block;background:#f3f3f5;padding:4px 9px;border-radius:6px;white-space:nowrap;font-variant-numeric:tabular-nums}.calendar-number-row>strong{font-weight:500}.calendar-numbers.expected summary{color:#806331}
@media(max-width:600px){.calendar-number-head,.calendar-number-row{grid-template-columns:65px minmax(0,1fr) 36px;gap:6px;padding:10px 0;font-size:11px}.calendar-number-chips span{padding:3px 6px}.calendar-numbers{padding:10px!important}}

.identifier-errors{background:#fcf0ed;color:#a33d2e;border-radius:10px;padding:12px;margin-top:12px;font-size:12px;line-height:1.6}.identifier-errors p{margin:6px 0 0}

.calendar-movement{display:flex;gap:10px;flex-wrap:wrap;line-height:1.4;font-size:11px}.calendar-grid .calendar-date{margin-bottom:0}.calendar-grid .calendar-day strong{font-size:12px}

.calendar-numbers>summary{display:flex;align-items:center;gap:10px;list-style:none;min-height:44px;margin:-14px;padding:10px 14px;border-radius:12px;font-weight:500;transition:background .15s}.calendar-numbers>summary::-webkit-details-marker{display:none}.calendar-numbers>summary::marker{content:""}.calendar-numbers>summary:hover{background:#f7f7f8}.calendar-numbers>summary:focus-visible{outline:2px solid #787878;outline-offset:2px}.calendar-disclosure-count{font-size:12px;font-weight:400;color:#787878;font-variant-numeric:tabular-nums}.calendar-disclosure-icon{width:18px;height:18px;flex-shrink:0;margin-left:auto;color:#8b8b8b;transition:transform .15s}.calendar-numbers[open]>summary{margin-bottom:0}.calendar-numbers[open]>summary .calendar-disclosure-icon{transform:rotate(90deg)}@media(max-width:600px){.calendar-numbers>summary{margin:-10px;padding:10px}.calendar-numbers[open]>summary{margin-bottom:0}}@media(prefers-reduced-motion:reduce){.calendar-numbers>summary,.calendar-disclosure-icon{transition:none}}

.instructor-identity{display:flex;flex-direction:column;gap:2px;min-width:0;text-align:left}.instructor-identity strong{display:block}.instructor-table .instructor-identity small{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;font-size:11px;font-weight:400;line-height:1.5;color:var(--secondary)}.instructor-open .row-avatar{flex-shrink:0}

#tablet-calendar>.calendar-nav{justify-content:center;margin:16px 0 10px}

.directory-page .instructor-table th:nth-child(1){width:21%}.directory-page .instructor-table th:nth-child(2){width:10%}.directory-page .instructor-table th:nth-child(3){width:9%}.directory-page .instructor-table th:nth-child(4){width:11%}.directory-page .instructor-table th:nth-child(5){width:15%}.directory-page .instructor-table th:nth-child(6){width:13%}.directory-page .instructor-table th:nth-child(7){width:11%}.directory-page .instructor-table th:nth-child(8){width:10%}

.borrower-open{border:0;background:none;padding:0;min-height:32px;text-align:left;font:inherit;font-weight:600;color:var(--ink)}.borrower-open:hover{text-decoration:underline}.borrower-card dl{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.borrower-card dd{overflow-wrap:anywhere}@media(max-width:600px){.borrower-card dl{grid-template-columns:1fr}}

.tablets-page details:not(.calendar-numbers)>summary{display:flex;align-items:center;gap:12px;list-style:none;min-height:44px;padding:10px 12px;border-radius:10px;color:var(--ink);font-size:13px;font-weight:500;cursor:pointer}.tablets-page details:not(.calendar-numbers)>summary::-webkit-details-marker{display:none}.tablets-page details:not(.calendar-numbers)>summary::marker{content:""}.tablets-page details:not(.calendar-numbers)>summary::after{content:"";display:block;width:18px;height:18px;flex-shrink:0;margin-left:auto;background:#8b8b8b;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m7 5 5 5-5 5' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;transition:transform .15s}.tablets-page details:not(.calendar-numbers)[open]>summary::after{transform:rotate(90deg)}.tablets-page details:not(.calendar-numbers)>summary:hover{background:#f7f7f8}.tablets-page details:not(.calendar-numbers)>summary:focus-visible{outline:2px solid #787878;outline-offset:2px}@media(prefers-reduced-motion:reduce){.tablets-page details:not(.calendar-numbers)>summary::after{transition:none}}

.tablets-page .admin-ledger th:nth-child(1){width:23%}.tablets-page .admin-ledger th:nth-child(2){width:10%}.tablets-page .admin-ledger th:nth-child(3){width:7%}.tablets-page .admin-ledger th:nth-child(4){width:23%}.tablets-page .admin-ledger th:nth-child(5){width:12%}.tablets-page .admin-ledger th:nth-child(6){width:15%}.tablets-page .admin-ledger th:nth-child(7){width:10%}

.calendar-stock-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:14px}.calendar-stock-toolbar .calendar-number-toggle{margin:0;flex-wrap:wrap}.calendar-stock-toolbar>#open-stock{font-size:12px;padding:7px 12px;white-space:nowrap}

.operation-school{display:block;margin:0 0 8px;line-height:1.6;overflow-wrap:anywhere}.directory-page .team-ledger-toolbar{flex-wrap:wrap}.directory-page #query{min-width:220px;flex:1}

.combined-stock{min-width:760px;table-layout:fixed}.combined-stock th:first-child{width:18%}.combined-stock th:nth-child(2),.combined-stock th:nth-child(3),.combined-stock th:nth-child(4){width:13%}.combined-stock td{vertical-align:top}.combined-stock .calendar-number-chips{display:flex;flex-wrap:wrap;gap:5px}.stock-review{margin-top:16px;padding:16px;border:1px solid #e5dfd3;border-radius:12px;background:#fffcf6}.stock-review h4{margin:0}.stock-review>div,.stock-review-filters{display:flex;flex-wrap:wrap;gap:8px}.stock-review button,.stock-review-filters button{min-height:44px}.stock-review button strong{margin-left:8px;color:#925317}.stock-review-filters [aria-pressed=true]{background:#202124;color:white}.stock-detail-table small{display:block;overflow-wrap:anywhere}





.tablets-page #loan-detail,.tablets-page #edit{padding:0;overflow:hidden;width:min(780px,94vw);max-height:90dvh}.tablets-page #loan-detail.stock-modal{width:min(1040px,96vw)}.tablets-page #loan-detail[open],.tablets-page #edit[open]{display:flex;flex-direction:column}.tablets-page .tablet-dialog-header{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px;margin:0;border-bottom:1px solid #e6e7eb;background:#fff}.tablet-dialog-header h2{margin:0;min-width:0;overflow-wrap:anywhere;font-size:18px}.tablets-page .tablet-dialog-header .close{position:static;float:none;flex:0 0 auto;min-width:64px;min-height:44px;border-radius:24px;padding:8px 16px;background:#f0f0f2}.tablets-page #loan-content,.tablets-page #editor{padding:20px 24px;min-height:0;overflow:auto;margin:0;overscroll-behavior:contain}.tablets-page #loan-content .stock-detail-table{min-width:760px;table-layout:fixed;margin-top:0}.tablets-page #loan-content .stock-detail-table th:nth-child(1){width:18%}.tablets-page #loan-content .stock-detail-table th:nth-child(2){width:18%}.tablets-page #loan-content .stock-detail-table th:nth-child(3){width:23%}.tablets-page #loan-content .stock-detail-table th:nth-child(4){width:25%}.tablets-page #loan-content .stock-detail-table th:nth-child(5){width:16%}.tablets-page #loan-content .stock-detail-table td{vertical-align:middle;overflow-wrap:anywhere}.stock-action button{display:block;width:100%;padding:8px;font-size:12px;min-height:40px;white-space:normal;line-height:1.5}.rental-identity{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.rental-identity h3{margin:0;font-size:22px;overflow-wrap:anywhere}.rental-identity>strong{margin-left:auto;font-size:20px}.rental-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 24px;margin:24px 0;padding:20px 0;border-top:1px solid #e6e7eb;border-bottom:1px solid #e6e7eb}.rental-facts dd{overflow-wrap:anywhere}.rental-note{font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.rental-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:16px 0}.rental-actions .actions{margin:0}.rental-actions button{min-height:42px;font-size:12px}.rental-evidence{border-top:1px solid #e6e7eb;padding-top:12px}@media(max-width:600px){.tablets-page .tablet-dialog-header{padding:12px 16px}.tablets-page #loan-content,.tablets-page #editor{padding:16px}.rental-facts{gap:14px}.rental-facts .wide{grid-column:1/-1}.rental-identity h3{font-size:20px}}

#rental-picker{border:1px solid #e2e5e9;border-radius:12px;padding:16px;background:#fafbfc}#rental-picker h3{margin:0;font-size:15px}.picker-toolbar{display:flex;gap:8px}.picker-toolbar input{flex:1;min-width:0}.picker-toolbar select{max-width:155px}#picker-selection{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0;font-size:12px}#picker-selection strong{color:#236344}#picker-selection span{flex:1;overflow-wrap:anywhere}#picker-selection button{padding:7px 10px;font-size:12px;min-height:36px}#picker-list{max-height:230px;overflow:auto;border:1px solid #e1e4e8;border-radius:8px;background:white}#picker-list table{width:100%;border-collapse:collapse;font-size:12px}#picker-list th{position:sticky;top:0;background:#f3f4f6;text-align:left;z-index:1}#picker-list th,#picker-list td{padding:9px 12px;border-bottom:1px solid #eceef0}#picker-list th:first-child{width:60px}#picker-list input[type=checkbox]{width:18px;height:18px;min-height:0;padding:0;accent-color:#35724d}#picker-list .is-selected{background:#eff7f0}#picker-list td small{display:block}#picker-message{font-size:12px;color:#78531b;margin:8px 0}.picker-manual summary{font-size:12px}.picker-manual .identifier-help{margin-top:8px}.picker-manual label{margin-top:12px}@media(max-width:600px){#rental-picker{padding:12px}.picker-toolbar{flex-wrap:wrap}.picker-toolbar input{flex-basis:100%}.picker-toolbar select{max-width:none;width:100%}#picker-list th,#picker-list td{padding:8px}}

.required-mark{color:#af3333}.required-guide{margin:0;font-size:12px;color:#616773}.form-grid label>span{display:inline}.form-grid label>span small{font-weight:400;color:#777}

.picker-bulk{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px}.form-grid .picker-bulk label{display:block;color:#424b56}.picker-bulk #picker-quantity{width:70px;text-align:center;padding:8px}.picker-bulk button{font-size:12px;padding:8px 12px;min-height:40px}.picker-bulk-note{font-size:11px;color:#707783;margin:7px 0 0}

.tablets-page #edit.rental-picker-modal{width:min(1040px,96vw)}.picker-view-toggle{margin:12px 0}.picker-view-toggle button{font-size:12px}#picker-list{max-height:none;overflow:visible;border:0;border-radius:0;background:transparent}.picker-number-group{margin:16px 0}.picker-number-group h4{margin:0 0 8px;font-size:13px}.picker-number-group h4 small{margin-left:6px;font-weight:400}.picker-group-파 h4{color:#285e9c}.picker-group-주 h4{color:#97501c}.picker-group-노 h4{color:#806100}.picker-group-녹 h4{color:#286441}.picker-number-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:6px}.form-grid .picker-number{position:relative;display:flex;align-items:center;justify-content:center;gap:2px;min-height:52px;padding:7px 3px;border:1px solid #cbd3dc;border-radius:6px;background:white;cursor:pointer;text-align:center}.picker-number>span{font-size:14px;font-weight:650;color:#303b47}.picker-number>small{font-size:9px;color:#647281;line-height:1.3;overflow-wrap:anywhere}.picker-number:has(input:checked){background:#e2f1e6;border-color:#398357;box-shadow:inset 0 0 0 1px #398357}.picker-number:has(input:checked)>span{color:#175a34}.picker-number:has(input:checked):after{content:'✓';position:absolute;right:3px;top:0;font-size:10px;color:#21633b}.picker-number:has(input:focus-visible){outline:3px solid #3c6c9c;outline-offset:2px}#picker-list .picker-number input[type=checkbox]{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}.picker-number.unavailable{border-color:#ba5656;background:#fff0ef}.picker-number em{font-size:10px;color:#a33;font-style:normal}@media(max-width:600px){.picker-number-grid{grid-template-columns:repeat(auto-fill,minmax(57px,1fr));gap:5px}.form-grid .picker-number{min-height:48px}.picker-number>small{font-size:8px}}

/* Keep school evidence in the profile; the directory uses a compact summary. */
.directory-page .school-cell.school-summary{display:block;max-height:60px;overflow:hidden;line-height:20px}
.directory-page .school-summary-line{height:20px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.directory-page .school-summary-line strong{font-weight:500}
.directory-page .school-summary-line span{color:var(--secondary);font-size:11px}
.directory-page .school-summary>small{display:block;line-height:20px}

.directory-page .instructor-table th:nth-child(4){width:10%}
.directory-page .instructor-table th:nth-child(5){width:14%}
.directory-page .instructor-table th:nth-child(6){width:17%}
.directory-page .instructor-table th:nth-child(7){width:10%}
.directory-page .instructor-table th:nth-child(8){width:9%}
.directory-page .school-names .school-summary-line strong{font-size:13px;font-weight:600;color:var(--ink)}
.school-admin-summary{max-height:60px;overflow:hidden;line-height:20px;font-size:12px}
.school-admin-operation,.school-admin-payment{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.school-admin-operation{font-weight:500;color:var(--ink)}
.school-admin-payment{color:#526574}
.team-ledger table .school-admin-mixed{display:block;color:#926124;line-height:20px}

/* Shared type scale for management pages; numeric dashboard totals keep their emphasis. */
:root{--type-title:28px;--type-section:16px;--type-body:13px;--type-caption:12px;--type-control:13px}
body.team-layout{font-size:var(--type-body);line-height:1.6}
body.team-layout main>header h1{font-size:var(--type-title);line-height:1.3;letter-spacing:-.6px}
body.team-layout main>header p{font-size:var(--type-body);line-height:1.6}
body.team-layout :is(.team-ledger-heading,.section-heading,.list-heading) h2{font-size:var(--type-section);line-height:1.5;font-weight:600}
body.team-layout :is(.team-ledger,.ledger-wrap,.profile-table-wrap) table{font-size:var(--type-body);line-height:1.6}
body.team-layout .team-ledger :is(.cell-line,.cell-two,.school-cell,.loan-cell,.org-name,.school-name,.instructor-open,.borrower-open,.school-admin-summary){font-size:var(--type-body);line-height:1.6}
body.team-layout :is(.team-ledger,.ledger-wrap,.profile-table-wrap) table thead th{font-size:var(--type-caption);font-weight:500;line-height:1.5}
body.team-layout :is(.team-ledger,.ledger-wrap,.profile-table-wrap) table small{font-size:var(--type-caption);line-height:1.5}
body.team-layout :is(.team-ledger-toolbar,.toolbar,.team-ledger-actions) :is(input,select,button,a){font-size:var(--type-control);line-height:1.5}
body.team-layout :is(.team-ledger-heading p,.team-ledger-toolbar label,.partner-notice,.tablet-scope-note,.tablet-dashboard-heading>span,.calendar-note){font-size:var(--type-caption);line-height:1.6}
body.team-layout :is(.status-tag,.pill){font-size:var(--type-caption);line-height:1.5}
body.team-layout :is(.profile-fields,.profile-text,.profile-lines,.rental-facts,.rental-note){font-size:var(--type-body);line-height:1.6}
body.team-layout :is(.profile-card h3,.tablet-dashboard-heading h2){font-size:var(--type-section);line-height:1.5}
body.team-layout .loan-table .borrower-open{font-size:var(--type-body);font-weight:600;line-height:1.6}
body.team-layout .school-admin-summary{line-height:20px}
body.team-layout .school-summary>small,body.team-layout .school-admin-mixed{line-height:20px}

.calendar-held-count{display:block;font-size:12px;font-weight:400;color:var(--secondary);white-space:nowrap}

.calendar-excluded-label{display:block;font-size:12px;font-weight:400;color:var(--secondary);line-height:1.5;margin-top:4px}
.calendar-mixed-row{row-gap:5px}
.calendar-mixed-row>.calendar-group-count{grid-column:3;grid-row:1 / span 2;text-align:right;font-weight:500}
.calendar-mixed-row>.calendar-excluded-label{grid-column:1;padding-left:8px;margin:0}
.calendar-mixed-row>.calendar-number-chips:last-child{grid-column:2}

.directory-page .instructor-table tbody :is(td,th,button,strong,.pill,.school-admin-operation){font-weight:400}
.directory-page .instructor-table .school-names .school-summary-line strong{font-weight:400}
.directory-page .instructor-table .instructor-identity strong{font-weight:700;color:var(--ink)}
