/* DC Equip Hub: shared interface layer. Existing workflows and data stay intact. */
:root{--ui-ink:#191a19;--ui-muted:#636963;--ui-border:#e2e4de;--ui-paper:#fff;--ui-accent:#f6c52c;--ui-soft:#fff7d8;--ui-shadow:0 14px 36px rgba(29,33,26,.06)}
html{scroll-behavior:smooth}body{margin:0;color:var(--ui-ink);background:#f3f4ef;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.55}
header{background:#171918;color:white;border:0}header .top{max-width:1340px;margin:auto;padding:16px 28px;display:flex;align-items:center;justify-content:space-between;gap:20px}header .brand-project{display:flex;gap:12px;align-items:center;min-width:0}header .brand img{width:50px;height:50px;border-radius:13px;background:white;padding:4px;flex:none}header .brand .brand-title{color:#ffcb28;letter-spacing:.015em;font-size:23px}header .brand .brand-description{color:#e6e4d9;font-size:11px;max-width:420px}header nav{display:flex;align-items:center;justify-content:flex-end;gap:4px;flex-wrap:wrap;font-size:0}header nav a,header .top>a{font-size:13px;color:#f7f4e9;text-decoration:none;font-weight:650;padding:9px 10px;border-radius:9px;white-space:nowrap}header nav a:hover,header .top>a:hover{background:#34362f;text-decoration:none;color:#fff}header a:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #e8b600;outline-offset:3px}
main{max-width:1340px;margin:0 auto;padding:34px 28px 64px}h1,h2,h3{color:var(--ui-ink);letter-spacing:-.025em;line-height:1.28}h1{font-size:clamp(30px,3.4vw,44px);margin:7px 0 10px}h2{font-size:22px}.muted,.sub{color:var(--ui-muted)}.eyebrow{font-size:11px;letter-spacing:.14em;font-weight:800;color:#806100}
button,input,select,textarea{font:inherit}input:not([type=checkbox]):not([type=radio]),select,textarea{border:1px solid #d9ded6;background:#fff;color:var(--ui-ink);border-radius:11px;min-height:46px;padding:10px 12px}input:focus,select:focus,textarea:focus{outline:3px solid #f8d65e;outline-offset:2px;border-color:#a88203}button{border-radius:10px;border:1px solid #d8ddd4;padding:10px 15px;font-weight:700;transition:background .18s,border-color .18s,box-shadow .18s}button:not(:disabled):hover{border-color:#b9ab75;box-shadow:0 4px 12px #29241412}button:disabled{cursor:not-allowed;opacity:.55}.primary,button.primary,button#submit{background:var(--ui-accent);border:0;color:#201b0b}.primary:not(:disabled):hover,button#submit:not(:disabled):hover{background:#e9b815}
.catalog-page main{max-width:1340px}.catalog-hero{display:flex;align-items:end;justify-content:space-between;gap:22px;padding:32px 36px;border:1px solid #e7dfc4;border-radius:22px;background:linear-gradient(115deg,#fffdf5 0%,#fff8de 72%,#f6e8b6 100%)}.catalog-hero h1{margin:9px 0}.catalog-hero p{margin:0;color:#5c6259}.hero-steps{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.hero-steps span{display:inline-flex;align-items:center;gap:7px;border:1px solid #eadfb8;border-radius:999px;background:#ffffffad;padding:7px 10px;font-size:12px;font-weight:700;white-space:nowrap}.hero-steps b{color:#987400;font-size:10px}.catalog-page .notice{margin:18px 0;background:#fff8dd;border:1px solid #eadb9b;border-radius:12px;color:#66551d}.catalog-page .bar{margin:22px 0 14px;gap:10px}.catalog-page .bar input,.catalog-page .bar select{min-height:50px;box-shadow:0 3px 12px #24280008}.catalog-page .layout{grid-template-columns:minmax(0,1.85fr) minmax(310px,.9fr);gap:22px;align-items:start}.catalog-page #count{font-weight:650;margin:4px 0 12px}.catalog-page .grid{gap:16px}.catalog-page .card,.catalog-page .cart,.account-page .card,.auth-page .box{background:#fff;border:1px solid var(--ui-border);border-radius:18px;box-shadow:var(--ui-shadow)}.catalog-page .card{padding:16px;transition:transform .18s,box-shadow .18s}.catalog-page .card:hover{transform:translateY(-2px);box-shadow:0 18px 32px #1d211a10}.catalog-page .card img{border-radius:12px}.catalog-page .card h3{font-size:17px;margin:10px 0 4px}.catalog-page .card .tag{color:#927000;font-weight:700;font-size:12px}.catalog-page .card p{font-size:13px;line-height:1.5}.catalog-page .card button{border-radius:10px;min-height:42px;background:#fff8df;border-color:#ebdca7;color:#44350b}.catalog-page .cart{padding:22px;top:18px}.catalog-page .cart h2{font-size:21px}.catalog-page .cart .form label{color:#343b34;font-weight:700;font-size:13px}.catalog-page .cart .form input,.catalog-page .cart .form textarea{width:100%}.catalog-page .cart .form input[type=file]{font-size:12px;background:#fafbf8}.catalog-page .row{border-color:#ecefe8}.catalog-page #requestForm button[type=submit]{min-height:50px}
.summary-dialog{border-radius:20px;box-shadow:0 24px 70px #0005}.summary-sheet{border-radius:12px}.summary-dialog-head h2{font-size:22px}.teacher-choice{background:#fafbf6;border-color:#e0e6d8}.teacher-choice .teacher-card{border-radius:13px;border-color:#dce3d8}.teacher-card:has(input:checked){border-color:#a47c00;box-shadow:0 0 0 2px #f7dc79}
.catalog-page .card:not(:has(img))::before{content:'ไม่มีภาพประกอบ';display:grid;place-items:center;min-height:160px;margin-bottom:12px;border-radius:12px;background:#f4f5f0;color:#848a80;font-size:13px}.mobile-cart-link{display:none}
.account-page main{max-width:1120px}.account-page .grid{gap:16px}.account-page .card{padding:24px}.account-page .grid .card:nth-child(3){grid-column:1/-1}.account-page .notice{border-radius:12px}.account-page .card h2{font-size:19px}.account-actions button{font-size:13px}
.auth-page header{padding:18px 28px}.auth-page header>.brand{max-width:1200px}.auth-page main{max-width:510px;margin:54px auto;padding:0 20px 60px}.auth-page .box{padding:34px;border-radius:20px}.auth-page .box h1{font-size:30px}.auth-page .box p{line-height:1.7}.auth-page .box label{color:#373d36}.auth-page .box input{width:100%}.auth-page .box button{min-height:50px;background:var(--ui-accent);color:#241d08;border:0}
.staff-page main{max-width:1340px}.staff-page #dashboard>.bar:first-child{background:#202421;border-radius:20px 20px 0 0}.staff-page #dashboard>.bar:nth-child(2){border-radius:0 0 20px 20px}.staff-page #inventoryView,.staff-page #requestsView,.staff-page #scanView,.staff-page #studentsView{border:1px solid var(--ui-border);border-radius:18px;box-shadow:var(--ui-shadow)}.staff-page .scan-block{background:#fafbf7;border-color:#e2e6dd;border-radius:15px}.staff-page #scanView input[type=checkbox],.staff-page #scanView input[type=radio]{width:18px;height:18px;min-height:0;accent-color:#bb8c00;vertical-align:middle;margin-right:8px}.staff-page #scanView .scan-block:has(#extraCode)>button{margin:12px 8px 0 0}.staff-page .scan-history{border-radius:15px!important}
.teacher-page header .top{max-width:1040px}.teacher-page main{max-width:1040px;padding-top:40px}.teacher-page main>p{color:var(--ui-muted)}.teacher-page form,.teacher-page article{background:#fff;border:1px solid var(--ui-border);border-radius:18px;padding:26px;box-shadow:var(--ui-shadow)}.teacher-page form{max-width:520px;margin:26px 0}.teacher-page form label{font-size:14px;font-weight:700;color:#373d36}.teacher-page form input{width:100%;max-width:none}.teacher-page button{background:#f4c52f;color:#241d08;border:0;min-height:44px}.teacher-page #logout{background:#fff;border:1px solid var(--ui-border)}.teacher-page article section{background:#fafbf7;padding:18px;border:1px solid #e9ece4;border-radius:12px}.teacher-page article section img{border-radius:8px}.teacher-page article>button{margin-top:12px}
@media(max-width:950px){header .top{align-items:flex-start;flex-wrap:wrap}header nav{justify-content:flex-start;width:100%}.catalog-hero{align-items:flex-start;flex-direction:column}.hero-steps{justify-content:flex-start}.catalog-page .layout{grid-template-columns:minmax(0,1fr) minmax(280px,.85fr)}}
@media(max-width:720px){header .top{padding:14px 16px;gap:10px}header .brand img{width:44px;height:44px}header .brand .brand-title{font-size:20px}header .brand .brand-description{font-size:11px}header nav{gap:2px 4px}header nav a,header .top>a{padding:7px 8px;font-size:12px}main,.catalog-page main,.teacher-page main{padding:22px 16px 48px}.catalog-hero{padding:24px 20px;border-radius:17px}.catalog-hero h1{font-size:30px}.hero-steps{gap:6px}.hero-steps span{font-size:11px}.mobile-cart-link{display:inline-block;margin-top:14px;color:#765b00;font-weight:700;text-decoration:none}.catalog-page .bar{flex-direction:column}.catalog-page .layout{display:flex;flex-direction:column}.catalog-page .cart{width:100%;order:0;position:static;padding:18px}.catalog-page .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.catalog-page .card{padding:12px}.account-page .grid .card:nth-child(3){grid-column:auto}.auth-page main{margin:35px auto}.auth-page .box{padding:25px}.teacher-page article,.teacher-page form{padding:18px}.staff-page main{padding:0 12px}.summary-sheet{border-radius:8px}}
@media(max-width:390px){.catalog-page .grid{grid-template-columns:1fr}.hero-steps span{white-space:normal}}
@media(max-width:720px){.catalog-page header nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}.catalog-page header nav a{white-space:normal;text-align:left;line-height:1.3}}

/* A clearer visual hierarchy for the catalog and the two workspaces. */
.catalog-page{background:#f3f2ed}.catalog-page main{padding-top:24px}
.catalog-hero{position:relative;overflow:hidden;align-items:stretch;min-height:260px;padding:40px 44px;border:0;border-radius:24px;color:#fff;background:linear-gradient(116deg,#171b1a 0%,#202724 62%,#34413a 100%)}
.catalog-hero::after{content:'';position:absolute;width:260px;height:260px;border:1px solid #ffffff18;border-radius:50%;right:-70px;top:-115px;box-shadow:0 0 0 48px #ffffff08,0 0 0 96px #ffffff06;pointer-events:none}
.catalog-hero .hero-copy,.catalog-hero .hero-side{position:relative;z-index:1}.catalog-hero .hero-copy{max-width:640px}.catalog-hero .eyebrow{color:#ffd354}.catalog-hero h1{color:#fff;font-size:clamp(36px,4.5vw,58px);letter-spacing:-.04em;margin:12px 0}.catalog-hero p{font-size:16px;color:#d5dbd4;max-width:530px}.hero-action{display:inline-flex;align-items:center;gap:18px;margin-top:24px;padding:11px 17px;background:#f7c62e;color:#211b0b;border-radius:10px;text-decoration:none;font-size:14px;font-weight:800}.hero-action:hover{background:#ffdb61}.hero-action span{font-size:18px}.hero-side{display:flex;flex-direction:column;justify-content:space-between;align-items:flex-end;gap:18px}.hero-monogram{display:flex;align-items:center;gap:10px;color:#ffcc32;line-height:.95}.hero-monogram span{font-size:68px;font-weight:900;letter-spacing:-.08em}.hero-monogram small{font-size:12px;letter-spacing:.14em;font-weight:800}.hero-steps span{background:#ffffff10;border-color:#ffffff35;color:#f7f8ef;padding:8px 11px}.hero-steps b{color:#ffd354}
.catalog-heading{display:flex;justify-content:space-between;align-items:end;gap:12px;margin:31px 0 0}.catalog-heading h2{font-size:27px;margin:5px 0 2px}.catalog-heading p{font-size:14px;color:#69716a;margin:0}.catalog-heading-mark{border:1px solid #dbddd4;background:#fff;border-radius:999px;padding:7px 11px;color:#697068;font-size:12px;font-weight:700;white-space:nowrap}.catalog-page .bar{margin:16px 0 20px}.catalog-page .notice{border-left:4px solid #e9bd25}.catalog-page .card,.catalog-page .cart{border-radius:20px;border-color:#e2e4dd;box-shadow:0 12px 28px #1a211809}.catalog-page .card{padding:17px}.catalog-page .card img,.catalog-page .card:not(:has(img))::before{background:#f0f2ed!important;border-radius:14px!important}.catalog-page .card h3{font-size:19px}.catalog-page .card button{align-self:stretch;text-align:center;background:#1f2622;color:#fff;border-color:#1f2622}.catalog-page .card button:disabled{background:#f1f1ec;color:#6d736c;border-color:#e4e5df}.catalog-page .cart{border-top:5px solid #efc12d}.catalog-page .cart .eyebrow{color:#8b6a00}.catalog-page .cart h2{font-size:23px}.catalog-page .cart .form label{margin-top:18px}.catalog-page .cart .muted{line-height:1.65}
.account-page .eyebrow,.teacher-page .eyebrow{display:inline-block;background:#fff0b7;border-radius:999px;padding:7px 11px;color:#735700}.account-page .card,.teacher-page article,.teacher-page form,.staff-page #inventoryView,.staff-page #requestsView,.staff-page #scanView,.staff-page #studentsView{box-shadow:0 14px 36px #20271f0b}.teacher-page article{border-top:4px solid #ecc02d}.teacher-page article>h2{margin-top:0}.auth-page .box{border-top:5px solid #eebe25}.staff-page #dashboard>.bar:first-child{background:linear-gradient(110deg,#191e1b,#344039)}
@media(max-width:950px){.catalog-hero{min-height:0}.hero-side{align-items:flex-start;width:100%}.hero-monogram{display:none}.hero-steps{justify-content:flex-start}}
@media(max-width:720px){.catalog-page main{padding-top:16px}.catalog-hero{padding:27px 22px;border-radius:18px;gap:24px}.catalog-hero h1{font-size:35px}.catalog-hero p{font-size:14px}.hero-action{margin-top:18px}.hero-steps{gap:7px}.hero-steps span{font-size:11px;padding:7px 9px}.catalog-heading{margin-top:26px}.catalog-heading h2{font-size:23px}.catalog-heading p{font-size:13px}.catalog-heading-mark{display:none}.catalog-page .card h3{font-size:16px}}
.category-tabs{display:flex;align-items:center;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:5px 0 8px;margin-top:16px}.category-tabs button{flex:none;border:1px solid #dedfd9;background:#fff;color:#505951;border-radius:999px;min-height:40px;padding:8px 15px;font-size:13px;font-weight:700;white-space:nowrap}.category-tabs button[aria-pressed=true]{background:#202722;border-color:#202722;color:#fff}.category-tabs button:not(:disabled):hover{border-color:#9a9f95}.catalog-page .category-tabs+.bar{margin-top:4px}
.catalog-hero{min-height:310px;background:linear-gradient(90deg,rgba(11,17,15,.96) 0%,rgba(11,17,15,.78) 42%,rgba(11,17,15,.08) 100%),url('equipment-hero.png') center 50%/cover no-repeat}.catalog-hero::after{display:none}.hero-side{justify-content:flex-end}.hero-monogram{display:none}.hero-steps span{background:#101411bf;border-color:#ffffff3d}.catalog-hero::before{content:'ภาพประกอบ';position:absolute;right:18px;top:14px;color:#f2eee4;background:#111a;padding:3px 8px;border-radius:8px;font-size:10px;z-index:1}
@media(max-width:720px){.catalog-hero{min-height:300px;background-position:center,right center;background-size:cover,auto 100%;background-image:linear-gradient(90deg,rgba(11,17,15,.96) 0%,rgba(11,17,15,.78) 60%,rgba(11,17,15,.38) 100%),url('equipment-hero.png')}.catalog-hero::before{top:10px;right:10px}}
@media(max-width:720px){.catalog-page .layout>section{width:100%;min-width:0}}

/* Refined typography, task cues and feedback for the borrowing flow. */
body{font-family:'Leelawadee UI','Noto Sans Thai',system-ui,-apple-system,'Segoe UI',sans-serif;color:#202420}
header .brand .brand-title{letter-spacing:-.025em;font-weight:850}header .brand .brand-description{font-size:12px;line-height:1.45;color:#e6e5db}
.catalog-hero{min-height:320px;padding:48px 50px;background-image:linear-gradient(90deg,rgba(8,14,12,.98) 0%,rgba(8,14,12,.84) 36%,rgba(8,14,12,.15) 100%),url('equipment-hero.png')}
.catalog-hero .eyebrow{display:inline-flex;align-items:center;gap:9px;letter-spacing:.15em}.catalog-hero .eyebrow::before{content:'';width:25px;height:2px;background:#f6c62f}.catalog-hero h1{font-size:clamp(38px,4.6vw,60px);font-weight:850;letter-spacing:-.04em}.catalog-hero p{line-height:1.75;color:#edf1eb}.hero-action{min-height:48px;border-radius:12px;box-shadow:0 6px 18px #f5c12330}.hero-action:hover{text-decoration:none;transform:translateY(-1px)}
.journey{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;background:#fff;border:1px solid #e2e4dd;border-radius:18px;margin:16px 0 0;box-shadow:0 8px 22px #151e1408}.journey-item{display:flex;align-items:center;gap:13px;padding:17px 21px;min-width:0}.journey-item+ .journey-item{border-left:1px solid #ebede7}.journey-number{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:#fff3c1;color:#6d5200;font-size:12px;font-weight:900;letter-spacing:.04em;flex:none}.journey-item strong,.journey-item small{display:block}.journey-item strong{font-size:14px;color:#252a26}.journey-item small{font-size:12px;color:#727a72;margin-top:2px;line-height:1.4}
.catalog-page .notice{background:#fff9e2;border:1px solid #efe0a8;border-left:4px solid #efc02c;box-shadow:0 5px 15px #a5860910}.catalog-heading{margin-top:34px}.catalog-heading h2{font-size:29px;letter-spacing:-.025em}.catalog-heading .eyebrow{display:inline-flex;align-items:center;gap:8px}.catalog-heading .eyebrow::before{content:'';display:block;width:7px;height:7px;border-radius:50%;background:#e6b91d}.catalog-heading-mark{background:#fdfcf7}
.search-wrap{position:relative;flex:1;min-width:0}.search-wrap .search{width:100%;padding-left:44px!important}.search-icon{position:absolute;left:16px;top:50%;transform:translateY(-52%);color:#707870;font-size:25px;line-height:1;pointer-events:none}.category-tabs button{transition:transform .16s,background .16s,color .16s}.category-tabs button:active{transform:scale(.97)}.category-tabs button[aria-pressed=true]{background:#232a25;box-shadow:0 3px 9px #1e292020}
.catalog-page .card{position:relative;overflow:hidden;box-shadow:0 10px 24px #1a211a0d}.catalog-page .card h3{line-height:1.3}.catalog-page .card .tag{align-self:flex-start;border-radius:6px;background:#fff3c4;color:#6f5500;padding:3px 8px;margin-top:9px}.catalog-page .card p{color:#69726a}.catalog-page .card button:not(:disabled):hover{background:#303e33;color:white;transform:translateY(-1px)}.catalog-page .cart{box-shadow:0 15px 38px #222b2112}.catalog-page .cart h2{letter-spacing:-.025em}.catalog-page .qty button{min-width:34px;min-height:34px}
.mobile-cart-fab{display:none}.cart-announcement{position:fixed;right:24px;bottom:24px;z-index:900;background:#242d25;color:#fff;border-radius:12px;padding:12px 16px;box-shadow:0 10px 30px #0003;font-size:14px;font-weight:700;opacity:0;transform:translateY(8px);pointer-events:none;transition:opacity .2s,transform .2s}.cart-announcement.visible{opacity:1;transform:translateY(0)}
@media(max-width:720px){header .brand .brand-description{font-size:11px}.catalog-hero{min-height:280px;padding:28px 23px;background-position:center,right center}.catalog-hero h1{font-size:34px}.catalog-hero p{font-size:14px}.journey{grid-template-columns:1fr;gap:0;margin-top:12px;border-radius:15px}.journey-item{padding:11px 14px}.journey-item+.journey-item{border-left:0;border-top:1px solid #eef0ea}.journey-number{width:34px;height:34px;border-radius:10px}.journey-item strong{font-size:13px}.journey-item small{font-size:11px}.catalog-page .bar{gap:10px}.catalog-page main{padding-bottom:105px}.mobile-cart-link{display:none}.mobile-cart-fab{display:flex;position:fixed;bottom:14px;left:16px;right:16px;z-index:100;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:10px 16px;border-radius:14px;background:#222b24;color:#fff;text-decoration:none;box-shadow:0 12px 28px #0004;font-size:14px;font-weight:750}.mobile-cart-fab strong{display:grid;place-items:center;margin-left:auto;width:30px;height:30px;border-radius:9px;background:#f5c72f;color:#211b0d}.summary-open .mobile-cart-fab{display:none}.cart-announcement{bottom:77px;left:16px;right:16px;text-align:center}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}
.cart-in-view .mobile-cart-fab{display:none}

/* Matching workspaces and account access pages. */
.workspace-intro{position:relative;overflow:hidden;padding:32px 36px;border-radius:21px;background:linear-gradient(105deg,#171e1a 0%,#26342b 70%,#3a4435 100%);color:white}
.workspace-intro::after{content:'';position:absolute;right:-48px;top:-95px;width:210px;height:210px;border:1px solid #fff2;border-radius:50%;box-shadow:0 0 0 38px #ffffff09,0 0 0 76px #ffffff06;pointer-events:none}
.workspace-intro .eyebrow{display:inline-flex;padding:0;background:none;color:#ffd34a;letter-spacing:.14em}.workspace-intro h1{color:#fff;font-size:clamp(28px,3.3vw,42px);margin:12px 0 8px}.workspace-intro p,.workspace-intro .sub{position:relative;z-index:1;color:#e0e7dd;margin:0;max-width:660px;line-height:1.7}.account-page .notice{margin:20px 0;background:#fff8df;border-color:#efdfa3;border-left:4px solid #edc02f}.account-page .card{position:relative;border-radius:18px;padding:25px}.account-page .card h2{display:flex;align-items:center;gap:10px}.account-page .card h2::before{content:'';width:9px;height:9px;border-radius:3px;background:#edbd26;flex:none}.account-page .card:nth-child(3){border-top:4px solid #eabf30}
.teacher-page main{padding-top:30px}.teacher-page form{border-top:4px solid #edc02f}.teacher-page #status:not(:empty){display:inline-block;margin:18px 0 4px;padding:7px 11px;border-radius:9px;background:#fff4c7;color:#705400;font-weight:700;font-size:13px}.teacher-page article{border-top:4px solid #edc02f}.teacher-page article h2{font-size:22px}.teacher-page article section{background:#f8f9f5;border-color:#e3e8dd}.teacher-page article section h3{font-size:17px}.teacher-page article>button:nth-last-child(1){background:#fff;border:1px solid #d9dfd6;color:#353c34}.teacher-page article button:not(:disabled):hover{box-shadow:0 5px 15px #2222}
.auth-page main{display:grid;grid-template-columns:minmax(280px,.95fr) minmax(340px,1.05fr);align-items:start;gap:24px;max-width:1040px;margin:48px auto;padding:0 24px 65px}.auth-page .auth-intro{position:sticky;top:24px;overflow:hidden;min-height:430px;padding:35px;border-radius:20px;color:#fff;background:linear-gradient(150deg,rgba(14,20,16,.94),rgba(14,20,16,.78)),url('equipment-hero.png') 70% center/cover}
.auth-intro .eyebrow{display:block;color:#ffd34c}.auth-intro h2{font-size:clamp(32px,3.6vw,44px);color:#fff;line-height:1.25;margin:20px 0 12px}.auth-intro p{color:#e2e8df;font-size:15px;max-width:350px;line-height:1.8}.auth-highlights{display:grid;gap:12px;margin-top:32px}.auth-highlights span{display:flex;align-items:center;gap:10px;color:#f7f8f1;font-size:13px;font-weight:700}.auth-highlights b{display:grid;place-items:center;width:30px;height:30px;border:1px solid #f8d65580;border-radius:9px;color:#ffda62;font-size:10px}.auth-page .box{padding:34px;border-top:4px solid #eebe25}.auth-page .box h1{font-size:29px;margin-top:10px}.auth-page .auth-label{display:inline-block;background:#fff3c4;padding:6px 9px;border-radius:8px;color:#715600;font-size:10px}.auth-page .box p{color:#69736a}.auth-page .box input,.auth-page .box select{background:#fafbf8}.auth-page .box a{color:#6d5500;font-weight:700}.auth-page #message:not(:empty){padding:10px;border-radius:10px;background:#fff5d9;color:#775800}
.staff-access-label{display:inline-flex;color:#846600;background:#fff2c4;border-radius:8px;padding:6px 9px;margin-bottom:10px}.staff-page #dashboard>.bar:first-child{position:relative;overflow:hidden;padding:28px 30px}.staff-page #dashboard>.bar:first-child::after{content:'';position:absolute;right:100px;top:-70px;width:170px;height:170px;border:1px solid #ffffff1c;border-radius:50%;box-shadow:0 0 0 30px #ffffff08;pointer-events:none}.staff-page #dashboard>.bar:first-child>*{position:relative;z-index:1}.staff-page #dashboard>.bar:nth-child(2) button.active{background:#ffeaa0;color:#302700}.staff-page #dashboard>.bar:nth-child(2) button{min-height:44px}.staff-page #scanView .scan-block{background:#fafbf7}.staff-page #requestsList .panel,.staff-page #studentsList .panel{border-radius:15px}
@media(max-width:720px){.workspace-intro{padding:24px 20px;border-radius:17px}.workspace-intro h1{font-size:28px}.workspace-intro p{font-size:14px}.workspace-intro::after{opacity:.5}.teacher-page main{padding-top:20px}.auth-page main{display:flex;flex-direction:column;gap:14px;margin:20px auto;padding:0 16px 45px;max-width:520px}.auth-page .auth-intro{position:relative;top:auto;width:100%;min-height:0;padding:24px;border-radius:16px}.auth-intro h2{font-size:29px;margin:12px 0 8px}.auth-intro h2 br{display:none}.auth-intro p{font-size:13px}.auth-highlights{display:flex;flex-wrap:wrap;gap:8px;margin-top:17px}.auth-highlights span{font-size:11px}.auth-highlights b{width:26px;height:26px}.auth-page .box{width:100%;padding:24px}.staff-page #dashboard>.bar:first-child{padding:22px}}
.auth-intro .auth-home{display:inline-flex;margin-top:26px;color:#fff4c1;font-size:13px;font-weight:700;text-decoration:none}.auth-intro .auth-home:hover{text-decoration:underline}
@media(max-width:720px){.auth-intro .auth-home{margin-top:18px}}
.auth-page main{display:block;max-width:560px}
.auth-page .auth-back{display:block;width:fit-content;margin-bottom:22px;color:#665200;font-size:13px;font-weight:700;text-decoration:none}
.auth-page .auth-back:hover{text-decoration:underline}
@media(max-width:720px){.auth-page main{display:block;max-width:520px}.auth-page .auth-back{margin-bottom:18px}}
.catalog-page .bar #category{display:none}
.teacher-page #login{margin:26px auto}
.catalog-page .notice[hidden]{display:none}
.staff-page #scanView.scan-workspace{background:#f4f5f0;border:0;box-shadow:none}
.staff-page #scanView.scan-workspace .scan-block{background:#fff;border-radius:18px}
.staff-page #scanView.scan-workspace .scan-history{background:#273b30;color:#fff}
