:root{
  --navy:#0c2138;
  --navy-2:#0f2c4b;
  --navy-3:#163e66;
  --blue:#2563eb;
  --sky:#38bdf8;
  --teal:#14b8a6;
  --teal-dark:#0f766e;
  --bg:#eef5f8;
  --surface:#ffffff;
  --surface-soft:#f7fbfc;
  --text:#15304a;
  --muted:#6b8194;
  --line:#dce8ee;
  --danger:#dc2626;
  --warning:#d97706;
  --success:#059669;
  --shadow:0 16px 42px rgba(15,39,67,.09);
  --shadow-sm:0 6px 18px rgba(15,39,67,.07);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:linear-gradient(135deg,#f5fbfd 0%,#edf5f8 48%,#f7fbfb 100%);color:var(--text);min-height:100vh}
a{color:inherit}
button,input,select,textarea{font:inherit}
.app-shell{display:flex;min-height:100vh}
.sidebar{width:268px;background:linear-gradient(180deg,var(--navy) 0%,#0a1d30 100%);color:#fff;padding:22px 16px 18px;display:flex;flex-direction:column;position:fixed;inset:0 auto 0 0;z-index:30;box-shadow:14px 0 40px rgba(8,30,48,.08)}
.brand-block{display:flex;align-items:center;gap:12px;padding:4px 9px 22px;border-bottom:1px solid rgba(255,255,255,.08);margin-bottom:18px}
.brand-logo{width:48px;height:48px;flex:0 0 48px;filter:drop-shadow(0 7px 16px rgba(0,0,0,.16))}
.brand-text{min-width:0}.brand-title{font-size:16px;line-height:1.2;font-weight:800;letter-spacing:.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.brand-subtitle{font-size:10px;line-height:1.35;color:#a9c2d6;margin-top:4px;text-transform:uppercase;letter-spacing:.7px}
.nav-label{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:#7694ab;font-weight:800;padding:0 12px;margin:8px 0}
.nav-list{display:flex;flex-direction:column;gap:5px}.sidebar a.nav-link{display:flex;align-items:center;gap:11px;color:#c8d9e5;text-decoration:none;padding:11px 12px;border-radius:13px;font-size:14px;font-weight:650;transition:.18s ease}.sidebar a.nav-link svg{width:19px;height:19px;flex:0 0 19px;opacity:.9}.sidebar a.nav-link:hover{background:rgba(56,189,248,.10);color:#fff;transform:translateX(2px)}.sidebar a.nav-link.active{background:linear-gradient(90deg,rgba(56,189,248,.19),rgba(20,184,166,.13));color:#fff;box-shadow:inset 3px 0 0 var(--teal)}
.sidebar-bottom{margin-top:auto;padding-top:18px}.sidebar-note{background:linear-gradient(135deg,rgba(56,189,248,.11),rgba(20,184,166,.08));border:1px solid rgba(147,197,253,.13);border-radius:16px;padding:12px;margin-bottom:10px}.sidebar-note strong{font-size:12px;display:block}.sidebar-note span{font-size:10px;color:#9fb8ca;display:block;margin-top:3px;line-height:1.45}
.main-shell{flex:1;margin-left:268px;min-width:0}.topbar{height:78px;background:rgba(255,255,255,.88);backdrop-filter:blur(14px);border-bottom:1px solid rgba(205,224,232,.85);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:20}.topbar-heading{display:flex;flex-direction:column;gap:2px}.topbar-kicker{font-size:10px;text-transform:uppercase;letter-spacing:1.25px;color:var(--teal-dark);font-weight:800}.topbar-title{font-size:17px;font-weight:800;color:var(--navy)}.user-chip{display:flex;align-items:center;gap:10px;background:#f5fafc;border:1px solid var(--line);border-radius:999px;padding:6px 12px 6px 7px}.user-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--sky),var(--teal));font-weight:800;font-size:13px;box-shadow:0 6px 14px rgba(20,184,166,.22)}.user-meta{line-height:1.2}.user-name{font-size:12px;font-weight:800;color:var(--navy)}.user-role{font-size:10px;color:var(--muted);margin-top:3px}
.content{padding:26px 28px 38px;min-width:0}.page-head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:20px}.page-head h1{margin:0;font-size:28px;letter-spacing:-.7px;color:var(--navy)}.page-head h1:after{content:"";display:block;width:42px;height:4px;background:linear-gradient(90deg,var(--sky),var(--teal));border-radius:999px;margin-top:9px}
.card{background:rgba(255,255,255,.94);border:1px solid rgba(212,229,236,.9);border-radius:var(--radius);padding:20px;box-shadow:var(--shadow-sm);margin-bottom:18px}.card h3{color:var(--navy)}
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.stat{position:relative;overflow:hidden;background:linear-gradient(145deg,#fff,#f9fcfd);border:1px solid var(--line);border-radius:18px;padding:19px;box-shadow:var(--shadow-sm);min-height:136px}.stat:after{content:"";position:absolute;width:88px;height:88px;border-radius:50%;right:-26px;top:-26px;background:radial-gradient(circle,rgba(56,189,248,.18),rgba(56,189,248,0) 68%)}.stat-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.stat-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);color:var(--teal-dark);border:1px solid #c7e8ea}.stat-icon svg{width:21px;height:21px}.stat .label{font-size:12px;color:var(--muted);font-weight:700}.stat .num{font-size:31px;line-height:1;font-weight:850;letter-spacing:-1px;margin-top:15px;color:var(--navy)}.stat .sub{font-size:10px;color:#8ba0b0;margin-top:7px}.stat.alert-stat .stat-icon{background:#fff1f2;color:#be123c;border-color:#ffe4e6}.stat.alert-stat:after{background:radial-gradient(circle,rgba(244,63,94,.13),rgba(244,63,94,0) 68%)}
.dashboard-hero{position:relative;overflow:hidden;border-radius:22px;background:linear-gradient(120deg,var(--navy) 0%,#123e62 58%,#106875 100%);color:#fff;padding:25px 28px;margin-bottom:18px;box-shadow:0 18px 44px rgba(15,39,67,.17)}.dashboard-hero:before,.dashboard-hero:after{content:"";position:absolute;border-radius:50%;border:1px solid rgba(255,255,255,.12)}.dashboard-hero:before{width:190px;height:190px;right:-54px;top:-80px}.dashboard-hero:after{width:118px;height:118px;right:35px;bottom:-74px}.hero-grid{display:flex;align-items:center;justify-content:space-between;gap:22px;position:relative;z-index:1}.hero-copy{max-width:720px}.hero-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#8be8e0;font-weight:800}.dashboard-hero h2{margin:7px 0 8px;font-size:26px;letter-spacing:-.5px}.dashboard-hero p{margin:0;color:#c9dde9;line-height:1.65;font-size:13px}.hero-logo{width:94px;height:94px;opacity:.92;filter:drop-shadow(0 14px 20px rgba(0,0,0,.18))}
.table-wrap{overflow:auto;border:1px solid #e2edf1;border-radius:14px}.table{width:100%;border-collapse:separate;border-spacing:0;background:#fff}.table th,.table td{padding:12px 13px;border-bottom:1px solid #e8f0f3;text-align:left;vertical-align:middle}.table th{background:#f4f9fb;white-space:nowrap;color:#526c80;font-size:11px;text-transform:uppercase;letter-spacing:.5px;font-weight:800}.table td{font-size:13px}.table tbody tr:hover td{background:#fbfefe}.table tbody tr:last-child td{border-bottom:0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:0;border-radius:11px;padding:9px 14px;text-decoration:none;cursor:pointer;font-size:13px;font-weight:750;transition:.16s ease;box-shadow:none}.btn:hover{transform:translateY(-1px);filter:brightness(.99)}.btn-primary{background:linear-gradient(135deg,#2582e8,#2375d7);color:#fff;box-shadow:0 7px 16px rgba(37,99,235,.18)}.btn-success{background:linear-gradient(135deg,#14a98a,#0f8f78);color:#fff}.btn-danger{background:#e5484d;color:#fff}.btn-secondary{background:#eaf1f5;color:#36546b;border:1px solid #dce8ee}.btn-warning{background:#fff2d8;color:#9a5d00;border:1px solid #f6dfaa}.btn-sm{padding:6px 9px;font-size:11px;border-radius:8px}.actions{display:flex;gap:6px;flex-wrap:wrap}
.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.form-group{display:flex;flex-direction:column;gap:6px}.form-group.full{grid-column:1/-1}.form-group label{font-size:12px;font-weight:800;color:#426078}.form-control{width:100%;padding:10px 11px;border:1px solid #cfdee5;border-radius:11px;background:#fff;color:var(--text);transition:.15s ease}.form-control:focus{outline:0;border-color:#55b8d8;box-shadow:0 0 0 4px rgba(56,189,248,.13)}textarea.form-control{min-height:90px;resize:vertical}
.alert{padding:12px 14px;border-radius:12px;margin-bottom:14px;border:1px solid transparent;font-size:13px}.alert-success{background:#ecfdf5;color:#067647;border-color:#bbf7d0}.alert-error{background:#fff1f2;color:#b42318;border-color:#fecdd3}.alert-warning{background:#fffbeb;color:#92400e;border-color:#fde68a}.alert-info{background:#eff8ff;color:#175cd3;border-color:#b2ddff}.badge{display:inline-block;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:850;letter-spacing:.2px}.badge-success{background:#dcfae6;color:#067647}.badge-warning{background:#fef0c7;color:#b54708}.badge-danger{background:#fee4e2;color:#b42318}.badge-secondary{background:#edf2f4;color:#475467}
.toolbar{display:flex;justify-content:space-between;gap:10px;align-items:flex-end;margin-bottom:14px;flex-wrap:wrap}.filters{display:flex;gap:8px;align-items:flex-end;flex-wrap:wrap}.muted{color:var(--muted);font-size:12px}.photo{width:58px;height:58px;object-fit:cover;border-radius:12px;background:#e8f0f3;border:1px solid var(--line)}.loan-row{display:grid;grid-template-columns:1fr 140px 50px;gap:10px;margin-bottom:10px;align-items:end}.text-right{text-align:right}.mt-2{margin-top:14px}.mb-0{margin-bottom:0}.nowrap{white-space:nowrap}
.login-page{min-height:100vh;background:radial-gradient(circle at 12% 16%,rgba(56,189,248,.13),transparent 24%),radial-gradient(circle at 88% 82%,rgba(20,184,166,.12),transparent 25%),linear-gradient(135deg,#edf7fa,#f8fbfc);padding:28px}.login-shell{width:min(980px,100%);min-height:590px;margin:auto;display:grid;grid-template-columns:1.05fr .95fr;background:#fff;border:1px solid #d9e7ed;border-radius:28px;overflow:hidden;box-shadow:0 30px 80px rgba(15,39,67,.16)}.login-visual{position:relative;overflow:hidden;background:linear-gradient(145deg,var(--navy),#164c70 63%,#0d7778);padding:46px;color:#fff;display:flex;flex-direction:column;justify-content:space-between}.login-visual:before,.login-visual:after{content:"";position:absolute;border:1px solid rgba(255,255,255,.1);border-radius:50%}.login-visual:before{width:420px;height:420px;right:-235px;top:-100px}.login-visual:after{width:250px;height:250px;left:-150px;bottom:-90px}.login-brand{position:relative;z-index:1;display:flex;align-items:center;gap:13px}.login-logo{width:62px;height:62px}.login-brand-name{font-weight:850;font-size:20px;line-height:1.1}.login-brand-sub{font-size:10px;letter-spacing:1.25px;text-transform:uppercase;color:#a9e7e0;margin-top:6px}.login-message{position:relative;z-index:1;max-width:430px}.login-message .eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#7ee6dc;font-weight:800}.login-message h2{font-size:36px;line-height:1.13;letter-spacing:-1px;margin:10px 0 14px}.login-message p{color:#c9dde8;line-height:1.7;font-size:13px;max-width:390px}.login-features{position:relative;z-index:1;display:flex;gap:9px;flex-wrap:wrap}.login-feature{font-size:10px;padding:7px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#d9eef3}.login-panel{padding:52px 48px;display:flex;align-items:center}.login-box{width:100%;max-width:370px;margin:auto}.login-box h1{font-size:27px;margin:0 0 7px;color:var(--navy);letter-spacing:-.6px}.login-box .login-intro{font-size:13px;color:var(--muted);line-height:1.55;margin:0 0 26px}.login-box .btn{width:100%;margin-top:8px;min-height:45px}.login-box .form-group{margin-bottom:14px}.login-box .form-control{min-height:44px}.login-foot{margin-top:24px;padding-top:18px;border-top:1px solid #edf2f4;text-align:center;color:#8296a5;font-size:10px;line-height:1.5}
@media(max-width:1050px){.cards{grid-template-columns:repeat(2,1fr)}.sidebar{width:238px}.main-shell{margin-left:238px}.content{padding:22px}.topbar{padding:0 22px}}
@media(max-width:760px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:13px 12px}.brand-block{padding:2px 5px 12px;margin-bottom:9px}.brand-logo{width:40px;height:40px;flex-basis:40px}.brand-subtitle,.nav-label,.sidebar-note{display:none}.nav-list{flex-direction:row;overflow:auto;padding-bottom:2px}.sidebar a.nav-link{white-space:nowrap;padding:9px 10px;font-size:12px}.sidebar a.nav-link:hover{transform:none}.sidebar-bottom{margin-top:6px;padding-top:0}.sidebar-bottom .nav-list{border-top:1px solid rgba(255,255,255,.07);padding-top:7px}.main-shell{margin-left:0}.topbar{height:65px;padding:0 15px;position:sticky}.topbar-kicker{display:none}.topbar-title{font-size:14px}.user-chip{padding-right:7px}.user-meta{display:none}.content{padding:16px}.page-head{margin-bottom:15px}.page-head h1{font-size:23px}.cards{grid-template-columns:1fr}.hero-grid{align-items:flex-start}.hero-logo{width:66px;height:66px}.dashboard-hero{padding:20px}.dashboard-hero h2{font-size:21px}.form-grid{grid-template-columns:1fr}.group.full,.form-group.full{grid-column:auto}.login-page{padding:14px}.login-shell{grid-template-columns:1fr;min-height:auto;border-radius:22px}.login-visual{padding:28px;min-height:330px}.login-message h2{font-size:29px}.login-panel{padding:30px 24px}.loan-row{grid-template-columns:1fr 90px 45px}}
@media(max-width:470px){.hero-logo{display:none}.topbar-title{max-width:210px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar a.nav-link svg{width:16px;height:16px}.login-features{display:none}.login-visual{min-height:280px}.login-message h2{font-size:25px}}
@media print{body{background:#fff}.sidebar,.topbar,.no-print,.page-head{display:none!important}.main-shell{margin-left:0}.content{padding:0}.card{box-shadow:none;border:0;padding:0}.table th,.table td{font-size:10px}.table-wrap{border:0}}

/* Footer & developer identity */
.main-shell{min-height:100vh;display:flex;flex-direction:column}
.content{flex:1}
.sidebar-version{margin-top:8px!important;padding-top:7px;border-top:1px solid rgba(255,255,255,.08);color:#7edbd4!important;font-weight:750;letter-spacing:.35px}
.app-footer{margin:0 28px 20px;padding:15px 18px;border:1px solid rgba(212,229,236,.9);border-radius:15px;background:rgba(255,255,255,.72);backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:space-between;gap:18px;box-shadow:0 6px 18px rgba(15,39,67,.045);color:#70879a;font-size:11px}
.footer-copy,.footer-developer{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.footer-copy strong{color:var(--navy);font-size:11px}.footer-copy span:before{content:"•";margin-right:9px;color:var(--teal)}.footer-developer{justify-content:flex-end}.footer-developer strong{color:#36566e}.footer-developer a{color:var(--teal-dark);font-weight:750;text-decoration:none}.footer-developer a:hover{text-decoration:underline}
.login-foot strong{color:#526c80}.login-foot a{color:var(--teal-dark);font-weight:700;text-decoration:none}.login-foot a:hover{text-decoration:underline}
@media(max-width:760px){.app-footer{margin:0 16px 16px;padding:14px;align-items:flex-start;flex-direction:column;gap:6px}.footer-developer{justify-content:flex-start}.footer-copy span:before{display:none}.footer-copy{flex-direction:column;align-items:flex-start;gap:3px}}
@media print{.app-footer{display:none!important}}


/* About application */
.about-hero{display:flex;align-items:center;gap:22px;padding:26px;background:linear-gradient(135deg,#ffffff,#f4fbfc)}
.about-logo-wrap{width:92px;height:92px;flex:0 0 92px;display:grid;place-items:center;border-radius:24px;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);border:1px solid #cce7e9}.about-logo-wrap img{width:72px;height:72px}.about-eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.4px;color:var(--teal-dark);font-weight:850}.about-hero h2{margin:6px 0 8px;color:var(--navy);font-size:27px}.about-hero h2 span{font-size:12px;vertical-align:middle;background:#e7f7f5;color:var(--teal-dark);padding:5px 8px;border-radius:999px}.about-hero p{margin:0;color:var(--muted);line-height:1.7;font-size:13px;max-width:760px}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.about-card h3{margin-top:0}.about-list{margin:0}.about-list>div{display:grid;grid-template-columns:145px 1fr;gap:12px;padding:11px 0;border-bottom:1px solid #e8f0f3}.about-list>div:last-child{border-bottom:0}.about-list dt{font-size:11px;text-transform:uppercase;letter-spacing:.5px;color:#7b91a1;font-weight:800}.about-list dd{margin:0;font-size:13px;color:#2d4b63;line-height:1.55}.about-list a{color:var(--teal-dark);font-weight:750;text-decoration:none}.about-list a:hover{text-decoration:underline}.about-note strong{color:var(--navy)}.about-note p{margin:7px 0 0;color:var(--muted);font-size:13px;line-height:1.7}.developer-institution{color:#5f788c}
@media(max-width:760px){.about-hero{align-items:flex-start}.about-logo-wrap{width:68px;height:68px;flex-basis:68px;border-radius:18px}.about-logo-wrap img{width:52px;height:52px}.about-grid{grid-template-columns:1fr}.about-list>div{grid-template-columns:1fr;gap:4px}.about-hero h2{font-size:22px}}

/* ===== OcuLens Inventory v.2 ===== */
.nav-count{margin-left:auto;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#22d3ee;color:#083344;display:grid;place-items:center;font-size:10px;font-weight:900}
.badge-info{background:#e0f2fe;color:#0369a1}.badge-primary{background:#dbeafe;color:#1d4ed8}.badge-purple{background:#f3e8ff;color:#7e22ce}
.eyebrow{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1.35px;color:var(--teal-dark);font-weight:850;margin-bottom:6px}
.section-title{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.section-title h3{margin:0;color:var(--navy)}
.mini-progress,.progress-track,.rank-track{height:7px;border-radius:999px;background:#e8f0f4;overflow:hidden}.mini-progress{width:95px;margin-bottom:5px}.mini-progress i,.progress-track i,.rank-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,var(--blue),var(--teal))}
.progress-track{height:10px}.progress-track.light{background:rgba(255,255,255,.13)}.progress-track.light i{background:linear-gradient(90deg,#67e8f9,#5eead4)}
.table-link,.link-more{color:#0f766e;text-decoration:none;font-weight:800}.table-link:hover,.link-more:hover{text-decoration:underline}
.text-danger{color:#b42318!important}

.dashboard-v2-hero{position:relative;overflow:hidden;display:grid;grid-template-columns:1.5fr .7fr;gap:30px;padding:30px;border-radius:24px;background:linear-gradient(125deg,#0c2138 0%,#124d70 60%,#0d7778 100%);color:#fff;box-shadow:0 20px 55px rgba(12,33,56,.16);margin-bottom:18px}.dashboard-v2-hero:after{content:"";position:absolute;width:360px;height:360px;border:1px solid rgba(255,255,255,.08);border-radius:50%;right:-180px;top:-210px}.dashboard-v2-hero .eyebrow{color:#7ee6dc}.dashboard-v2-hero h2{font-size:29px;margin:4px 0 10px;letter-spacing:-.7px}.dashboard-v2-hero p{max-width:700px;color:#c7dce8;line-height:1.65;font-size:13px}.hero-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.hero-actions .btn-secondary{background:rgba(255,255,255,.10);border-color:rgba(255,255,255,.15);color:#fff}.hero-metric{align-self:center;position:relative;z-index:1;padding:20px;border:1px solid rgba(255,255,255,.12);border-radius:20px;background:rgba(255,255,255,.07);backdrop-filter:blur(9px)}.hero-metric span,.hero-metric small{display:block;color:#bcd6e3}.hero-metric strong{display:block;font-size:42px;margin:6px 0 12px}.hero-metric small{margin-top:10px;line-height:1.4;font-size:10px}
.metric-grid-v2{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px}.metric-card-v2{display:flex;gap:14px;align-items:center;text-decoration:none;background:#fff;border:1px solid var(--line);border-radius:18px;padding:17px;box-shadow:var(--shadow-sm);transition:.18s ease}.metric-card-v2:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.metric-card-v2 span{display:block;color:#6f8495;font-size:11px;font-weight:750}.metric-card-v2 strong{display:block;color:var(--navy);font-size:27px;line-height:1.1;margin:3px 0}.metric-card-v2 small{display:block;color:#8ba0ae;font-size:9px}.metric-icon{width:47px;height:47px;flex:0 0 47px;border-radius:15px;display:grid;place-items:center}.metric-icon svg{width:23px;height:23px}.icon-cyan{background:#e0f7ff;color:#0284c7}.icon-teal{background:#e5fbf6;color:#0f8f78}.icon-red{background:#fff0f0;color:#d92d20}.icon-indigo{background:#eef2ff;color:#4f46e5}.danger-metric{border-color:#fee2e2}
.dashboard-grid-v2{display:grid;grid-template-columns:1.45fr .75fr;gap:18px;margin-bottom:18px}.activity-list{display:flex;flex-direction:column}.activity-item{display:grid;grid-template-columns:12px 1fr auto;gap:12px;align-items:center;padding:13px 2px;border-bottom:1px solid #edf2f4;text-decoration:none}.activity-item:last-child{border-bottom:0}.activity-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8;box-shadow:0 0 0 4px #f1f5f9}.status-menunggu{background:#0ea5e9}.status-disetujui{background:#2563eb}.status-dipinjam{background:#f59e0b}.status-sebagian{background:#a855f7}.status-dikembalikan{background:#10b981}.status-ditolak{background:#ef4444}.activity-main strong,.activity-main span,.activity-side small{display:block}.activity-main strong{font-size:13px;color:#26475f}.activity-main span{font-size:10px;color:#8297a7;margin-top:4px}.activity-side{text-align:right}.activity-side small{font-size:9px;color:#94a3b8;margin-top:5px}.dashboard-insight{text-align:center}.dashboard-insight h3{margin-top:0}.flow-ring{--value:0;width:150px;height:150px;border-radius:50%;margin:14px auto 18px;background:conic-gradient(var(--teal) var(--value),#e8f0f3 0);display:grid;place-items:center;position:relative}.flow-ring:before{content:"";position:absolute;inset:15px;background:white;border-radius:50%}.flow-ring>div{position:relative;z-index:1}.flow-ring strong,.flow-ring span{display:block}.flow-ring strong{font-size:31px;color:var(--navy)}.flow-ring span{font-size:9px;color:var(--muted);max-width:90px}.flow-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.flow-list div{padding:9px;border-radius:12px;background:#f7fafb;display:flex;justify-content:space-between;font-size:10px;color:#718697}.flow-list strong{color:#28495f}.ranking-list{display:flex;flex-direction:column;gap:10px}.ranking-row{display:grid;grid-template-columns:28px 1fr 70px;gap:12px;align-items:center}.ranking-row>b{width:28px;height:28px;border-radius:9px;background:#edf8f8;color:#0f766e;display:grid;place-items:center;font-size:11px}.ranking-row>div strong,.ranking-row>div span{display:block}.ranking-row>div strong{font-size:12px}.ranking-row>div span{font-size:9px;color:#8aa0af;margin:2px 0 6px}.ranking-row>strong{text-align:right;font-size:11px;color:#46647a}.rank-track{height:5px}

.approval-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:16px}.approval-tab{display:flex;justify-content:space-between;align-items:center;padding:16px 18px;border-radius:16px;background:#fff;border:1px solid var(--line);text-decoration:none;color:#60798d;font-size:12px;font-weight:800}.approval-tab strong{font-size:22px;color:var(--navy)}.approval-tab.active{border-color:#9edbd9;background:linear-gradient(135deg,#f7ffff,#ecfdfb);box-shadow:0 8px 22px rgba(15,118,110,.08)}
.transaction-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:22px 24px;border-radius:20px;background:linear-gradient(120deg,#102a44,#145573);color:#fff;margin-bottom:16px}.transaction-banner .eyebrow{color:#75ddd4}.transaction-banner h2{margin:3px 0;font-size:24px}.transaction-banner p{margin:0;color:#bdd4df;font-size:11px}.transaction-status{text-align:right}.transaction-status>span:last-child{display:block;margin-top:8px;font-size:10px;color:#bfd7e2}.detail-grid-modern{display:grid;grid-template-columns:1fr 1fr;gap:16px}.detail-list>div{display:grid;grid-template-columns:135px 1fr;gap:12px;padding:10px 0;border-bottom:1px solid #edf2f4}.detail-list>div:last-child{border-bottom:0}.detail-list span{font-size:10px;text-transform:uppercase;letter-spacing:.4px;color:#8296a5;font-weight:800}.detail-list strong{font-size:12px;color:#29485f;line-height:1.5}.progress-card .big-progress-number{font-size:38px;color:var(--navy);font-weight:900}.progress-card>p{font-size:11px;color:var(--muted)}.signature-preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:15px}.signature-preview-grid>div{padding:10px;border:1px dashed #ccdde4;border-radius:12px;background:#fbfdfd;min-height:90px}.signature-preview-grid span{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.5px;color:#8095a4;margin-bottom:5px}.signature-preview-grid img,.return-sign img{width:100%;max-height:80px;object-fit:contain;background:#fff}.signature-preview-grid em{font-size:10px;color:#9aabba}.approval-action-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.approval-card p,.issue-panel p{color:var(--muted);font-size:11px;line-height:1.6}.approve-card{border-top:3px solid #14b8a6}.reject-card{border-top:3px solid #ef4444}.issue-panel{display:flex;justify-content:space-between;align-items:center;gap:20px;background:linear-gradient(135deg,#f5fbff,#f0fdfa)}.issue-panel h3{margin:2px 0}.return-record{border:1px solid #e3ecef;border-radius:15px;overflow:hidden;margin-bottom:12px}.return-record header{padding:12px 14px;background:#f8fbfc;display:flex;justify-content:space-between;gap:12px}.return-record header strong,.return-record header span{display:block}.return-record header span{font-size:10px;color:var(--muted);margin-top:3px}.compact-table th,.compact-table td{font-size:10px}.return-sign{display:flex;align-items:center;gap:12px;padding:10px 14px;border-top:1px solid #edf2f4}.return-sign span{font-size:10px;color:var(--muted)}.return-sign img{width:160px;height:55px}.return-record>p{padding:0 14px 10px}
.signature-wrap{border:1px solid #cfdfe5;border-radius:14px;background:#fbfefe;overflow:hidden}.signature-canvas{display:block;width:100%;height:180px;background:repeating-linear-gradient(0deg,#fff,#fff 34px,#f0f6f7 35px);touch-action:none;cursor:crosshair}.signature-wrap.compact .signature-canvas{height:135px}.signature-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px;border-top:1px solid #e4edef;background:#f8fbfc}.signature-actions span{font-size:9px;color:#7e94a4}.return-intro{display:flex;justify-content:space-between;align-items:center}.return-intro h3{margin:3px 0}.return-intro p{font-size:11px;color:var(--muted)}.due-chip{padding:10px 14px;border-radius:13px;background:#fff7ed;border:1px solid #fed7aa;text-align:right}.due-chip span,.due-chip strong{display:block}.due-chip span{font-size:9px;color:#9a6a32}.due-chip strong{font-size:13px;color:#9a3412}.row-complete{opacity:.65;background:#f8fbf9}
.form-section-grid{display:grid;grid-template-columns:1fr 300px;gap:18px}.portal-account-box{margin-top:20px;padding:17px;border-radius:16px;background:linear-gradient(135deg,#f4fbff,#f0fdfa);border:1px solid #d9ecec}.portal-account-box h3{margin:3px 0}.portal-account-box p{margin:0 0 14px;color:var(--muted);font-size:11px}.helper-card{align-self:start}.helper-icon{width:50px;height:50px;border-radius:15px;background:#e5fbf6;display:grid;place-items:center;font-size:25px;color:#0f766e}.helper-card p,.helper-card li{font-size:11px;color:var(--muted);line-height:1.6}.helper-card ul{padding-left:18px}

/* Portal Peminjam */
.portal-body{background:radial-gradient(circle at 10% 0%,rgba(56,189,248,.11),transparent 24%),linear-gradient(135deg,#f4fafc,#f7fbfb)}.portal-topbar{height:78px;padding:0 max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:24px;background:rgba(255,255,255,.9);backdrop-filter:blur(14px);border-bottom:1px solid #dce9ee;position:sticky;top:0;z-index:50}.portal-brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:240px}.portal-brand img{width:43px;height:43px}.portal-brand strong,.portal-brand span{display:block}.portal-brand strong{font-size:14px;color:var(--navy)}.portal-brand span{font-size:8px;text-transform:uppercase;letter-spacing:.8px;color:#7890a2;margin-top:3px}.portal-nav{display:flex;align-items:center;gap:5px;margin:auto}.portal-nav a{padding:9px 11px;border-radius:10px;text-decoration:none;font-size:11px;font-weight:750;color:#557085}.portal-nav a.active{background:#e8f8f7;color:#0f766e}.portal-nav .portal-request-link{background:linear-gradient(135deg,#2582e8,#2375d7);color:#fff}.portal-user{display:flex;align-items:center;gap:8px}.portal-user>div strong,.portal-user>div span{display:block}.portal-user>div strong{font-size:10px}.portal-user>div span{font-size:8px;color:#8499a8}.portal-user>a{font-size:9px;color:#c2410c;text-decoration:none;margin-left:5px}.portal-main{width:min(1180px,calc(100% - 32px));margin:25px auto;min-height:calc(100vh - 180px)}.portal-page-head{margin-bottom:16px}.portal-page-head h1{font-size:25px;margin:2px 0;color:var(--navy)}.portal-footer{width:min(1180px,calc(100% - 32px));margin:0 auto 20px;display:flex;justify-content:space-between;gap:12px;padding:13px 16px;border-top:1px solid #dce9ee;color:#8297a6;font-size:9px}.portal-hero{display:grid;grid-template-columns:1fr 260px;gap:25px;align-items:center;padding:28px;border-radius:24px;background:linear-gradient(125deg,#0c2138,#145272 63%,#0f766e);color:#fff;box-shadow:0 20px 50px rgba(12,33,56,.14);margin-bottom:16px}.portal-hero .eyebrow{color:#74e4da}.portal-hero h2{font-size:28px;margin:4px 0 8px}.portal-hero p{font-size:12px;color:#c6dce6;line-height:1.65;max-width:660px}.portal-eye-card{padding:20px;border-radius:20px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);text-align:center}.portal-eye-card img{width:70px;height:70px}.portal-eye-card strong,.portal-eye-card span{display:block}.portal-eye-card strong{font-size:13px;margin-top:7px}.portal-eye-card span{font-size:9px;color:#bdd7e0;margin-top:3px}.portal-stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}.portal-stat{padding:16px 18px;border-radius:17px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm)}.portal-stat span,.portal-stat strong,.portal-stat small{display:block}.portal-stat span{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#7890a1;font-weight:800}.portal-stat strong{font-size:27px;color:var(--navy);margin:4px 0}.portal-stat small{font-size:9px;color:#9babb7}.portal-grid-two{display:grid;grid-template-columns:1.4fr .65fr;gap:16px}.portal-process h3{margin-top:0}.process-step{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid #edf2f4}.process-step:last-child{border:0}.process-step b{width:27px;height:27px;display:grid;place-items:center;border-radius:9px;background:#edf3f5;color:#6c8293;font-size:10px}.process-step.done b{background:#dff8f2;color:#0f766e}.process-step strong,.process-step span{display:block}.process-step strong{font-size:11px}.process-step span{font-size:9px;color:#8a9daa;margin-top:2px}.tool-card-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tool-card{border:1px solid #e0eaee;border-radius:16px;overflow:hidden;background:#fff}.tool-card>img,.tool-placeholder{width:100%;height:110px;object-fit:cover;background:linear-gradient(135deg,#e5f5fb,#e8faf5)}.tool-placeholder{display:grid;place-items:center}.tool-placeholder img{width:55px;height:55px;opacity:.75}.tool-card>div:last-child{padding:11px}.tool-card span{font-size:8px;text-transform:uppercase;color:#0f8f78;font-weight:800}.tool-card h4{font-size:11px;margin:3px 0;color:#29485f}.tool-card p{font-size:8px;color:#8b9eac;margin:0 0 6px}.tool-card strong{font-size:9px;color:#2563eb}.portal-form-layout{display:grid;grid-template-columns:1fr 290px;gap:16px}.request-note{align-self:start}.request-note h3{margin-top:0}.request-note li{font-size:10px;color:#6e8495;line-height:1.65;margin-bottom:6px}.detail-status-card{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dce8ed;border:1px solid #dce8ed;border-radius:16px;overflow:hidden;margin-bottom:16px}.detail-status-card>div{background:#fff;padding:14px}.detail-status-card span,.detail-status-card strong{display:block}.detail-status-card>div>span:first-child{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#8799a6;margin-bottom:5px}.detail-status-card strong{font-size:11px;color:#304e64}.timeline-list{position:relative}.timeline-item{display:grid;grid-template-columns:15px 1fr;gap:10px;padding-bottom:13px}.timeline-item>b{width:9px;height:9px;border-radius:50%;margin-top:4px;background:var(--teal);box-shadow:0 0 0 4px #e2f8f4}.timeline-item strong,.timeline-item span{display:block}.timeline-item strong{font-size:11px}.timeline-item span,.timeline-item p{font-size:9px;color:#879aa8;margin:3px 0}

@media(max-width:1050px){.metric-grid-v2{grid-template-columns:repeat(2,1fr)}.tool-card-grid{grid-template-columns:repeat(2,1fr)}.portal-topbar{padding:0 18px}.portal-brand{min-width:auto}.portal-user>div{display:none}}
@media(max-width:800px){.dashboard-v2-hero,.dashboard-grid-v2,.detail-grid-modern,.approval-action-grid,.form-section-grid,.portal-hero,.portal-grid-two,.portal-form-layout{grid-template-columns:1fr}.hero-metric{max-width:400px}.portal-stat-grid{grid-template-columns:repeat(2,1fr)}.portal-topbar{height:auto;min-height:70px;flex-wrap:wrap;padding:10px 14px}.portal-nav{order:3;width:100%;overflow:auto;justify-content:flex-start}.portal-user{margin-left:auto}.portal-main{margin-top:18px}.portal-eye-card{display:none}.detail-status-card{grid-template-columns:1fr}.issue-panel,.return-intro{align-items:flex-start;flex-direction:column}.signature-preview-grid{grid-template-columns:1fr}}
@media(max-width:520px){.metric-grid-v2,.portal-stat-grid,.tool-card-grid{grid-template-columns:1fr}.dashboard-v2-hero{padding:22px}.dashboard-v2-hero h2,.portal-hero h2{font-size:23px}.activity-item{grid-template-columns:10px 1fr}.activity-side{grid-column:2;text-align:left}.approval-summary{grid-template-columns:1fr}.detail-list>div{grid-template-columns:1fr;gap:3px}.portal-brand span{display:none}.portal-user .user-avatar{display:none}.portal-footer{flex-direction:column}.loan-row{grid-template-columns:1fr 80px 42px}}

/* ===== OcuLens Inventory v.3 · Catalog & Cart ===== */
.portal-cart-link{position:relative}.portal-cart-link b{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;margin-left:5px;border-radius:999px;background:#0f766e;color:#fff;font-size:8px}.portal-nav .portal-cart-link.active b{background:#fff;color:#0f766e}
.portal-hero-v3{grid-template-columns:1fr 250px}.portal-eye-card a{display:inline-block;margin-top:12px;color:#8ff1e8;text-decoration:none;font-size:9px;font-weight:800}.hero-search{display:flex;max-width:610px;margin-top:17px;padding:5px;border-radius:14px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16)}.hero-search input{min-width:0;flex:1;border:0;background:transparent;color:#fff;padding:10px 12px;font:inherit;font-size:11px;outline:0}.hero-search input::placeholder{color:#bcd5df}.hero-search button{border:0;border-radius:10px;padding:9px 16px;background:#fff;color:#0d5165;font-weight:850;font-size:10px;cursor:pointer}.hero-mini-info{display:flex;gap:18px;margin-top:13px;color:#c4dce5;font-size:9px}.hero-mini-info b{color:#fff;font-size:11px;margin-right:3px}
.catalog-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:24px 26px;margin-bottom:14px;border-radius:22px;background:linear-gradient(125deg,#0c2138,#164e70 66%,#0f766e);color:#fff;box-shadow:var(--shadow)}.catalog-hero h2{font-size:25px;margin:4px 0 7px}.catalog-hero p{margin:0;color:#c7dce5;font-size:11px;line-height:1.65}.catalog-hero .eyebrow{color:#7be3d9}.catalog-hero-stat{text-align:center;min-width:120px;padding:13px;border-radius:16px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.13)}.catalog-hero-stat strong,.catalog-hero-stat span{display:block}.catalog-hero-stat strong{font-size:29px}.catalog-hero-stat span{font-size:8px;color:#c7dce5;text-transform:uppercase;letter-spacing:.7px}
.catalog-filter{margin-bottom:14px}.catalog-filter form{display:grid;grid-template-columns:minmax(250px,1.6fr) 1fr 1fr auto auto;gap:9px}.catalog-search{position:relative}.catalog-search span{position:absolute;left:12px;top:9px;color:#7892a4;font-size:18px}.catalog-search input{padding-left:34px}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.catalog-grid.dashboard-catalog{margin-top:15px}.catalog-card{min-width:0;border-radius:18px;overflow:hidden;background:#fff;border:1px solid #dce8ed;box-shadow:0 8px 24px rgba(15,39,67,.055);transition:transform .18s ease,box-shadow .18s ease}.catalog-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(15,39,67,.11)}.catalog-image{position:relative;display:block;height:155px;background:linear-gradient(135deg,#e7f6fb,#e9faf6);overflow:hidden}.catalog-image>img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.catalog-card:hover .catalog-image>img{transform:scale(1.025)}.catalog-placeholder{height:100%;display:grid;place-items:center}.catalog-placeholder img{width:68px;height:68px;opacity:.68}.availability-pill{display:inline-flex;align-items:center;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:850;letter-spacing:.3px}.catalog-image .availability-pill{position:absolute;top:10px;right:10px;box-shadow:0 3px 10px rgba(15,39,67,.12)}.availability-pill.ok{background:#dcfce7;color:#047857}.availability-pill.empty{background:#fee2e2;color:#b91c1c}.catalog-card-body{padding:13px}.catalog-meta{display:flex;justify-content:space-between;gap:8px}.catalog-meta span{font-size:8px;text-transform:uppercase;color:#0f8b7b;font-weight:850;letter-spacing:.45px}.catalog-meta span:last-child{color:#8195a4}.catalog-card h3{font-size:12px;margin:5px 0}.catalog-card h3 a{color:#24445c;text-decoration:none}.catalog-model,.catalog-location{font-size:8.5px;color:#8196a5;margin:3px 0}.catalog-model{font-weight:750;color:#5f788a}.catalog-location{margin-bottom:10px}.stock-line>div:first-child{display:flex;align-items:baseline;gap:4px}.stock-line strong{font-size:14px;color:#2563eb}.stock-line span{font-size:8px;color:#8599a7}.stock-meter{height:5px;background:#edf3f5;border-radius:999px;overflow:hidden;margin-top:5px}.stock-meter i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#14b8a6,#38bdf8)}.stock-meter.large{height:7px;margin:9px 0 17px}.catalog-actions{display:flex;align-items:center;justify-content:space-between;gap:7px;margin-top:12px}.catalog-actions form{margin:0}.catalog-stock{font-size:8px;color:#7890a1}.catalog-stock b{font-size:11px;color:#0f766e}
.empty-state{text-align:center;padding:46px 20px}.empty-icon{width:58px;height:58px;margin:0 auto 12px;display:grid;place-items:center;border-radius:18px;background:#e8f8f7;color:#0f766e;font-size:25px}.empty-state h3{margin:0 0 7px}.empty-state p{font-size:11px;color:var(--muted);margin:0 auto 16px;max-width:430px}
.tool-detail-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:16px}.tool-detail-visual{padding:0;overflow:hidden;min-height:390px}.tool-detail-visual>img,.tool-detail-placeholder{width:100%;height:100%;min-height:390px;object-fit:contain;background:linear-gradient(135deg,#eff9fc,#effbf8)}.tool-detail-placeholder{display:grid;place-items:center}.tool-detail-placeholder img{width:130px;height:130px;opacity:.7}.tool-detail-info{padding:24px}.tool-detail-info h2{font-size:25px;margin:7px 0 4px;color:var(--navy)}.tool-brand{margin:0 0 18px;font-size:11px;color:#668093}.detail-availability{display:flex;align-items:center;justify-content:space-between;padding:14px;border-radius:14px;background:#f7fbfc;border:1px solid #e1ecef}.detail-availability>div strong,.detail-availability>div span{display:block}.detail-availability>div strong{font-size:24px;color:#0f766e}.detail-availability>div span{font-size:9px;color:#8295a3}.tool-facts{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:15px 0}.tool-facts>div{padding:11px;border-radius:12px;background:#f8fbfc;border:1px solid #e5edef}.tool-facts span,.tool-facts strong{display:block}.tool-facts span{font-size:8px;color:#8498a6;text-transform:uppercase;letter-spacing:.5px}.tool-facts strong{font-size:10px;color:#34536a;margin-top:4px}.detail-cart-form{display:grid;grid-template-columns:60px 85px 1fr;align-items:end;gap:8px;margin-top:17px}.detail-cart-form label{font-size:9px;color:#718797}.tool-detail-sections{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.readable-text{font-size:11px;line-height:1.75;color:#60798b}.clinical-note{margin-top:13px;padding:11px 12px;border-radius:12px;background:#eefaf8;color:#0f766e;font-size:9px;line-height:1.55;border:1px solid #d0eee8}
.cart-layout,.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px}.cart-summary,.checkout-summary{align-self:start;position:sticky;top:98px}.cart-list{display:flex;flex-direction:column;gap:1px;margin:13px -17px 0}.cart-item{display:grid;grid-template-columns:70px 1fr 85px 36px;gap:12px;align-items:center;padding:12px 17px;border-top:1px solid #edf2f4}.cart-thumb{width:70px;height:58px;border-radius:12px;overflow:hidden;background:#eef9fa;display:grid;place-items:center}.cart-thumb img{width:100%;height:100%;object-fit:cover}.cart-info span{font-size:8px;text-transform:uppercase;color:#0f8b7b;font-weight:800}.cart-info h3{font-size:11px;margin:3px 0}.cart-info h3 a{text-decoration:none;color:#2b4b62}.cart-info p{font-size:8px;color:#899ca9;margin:0}.cart-qty label{display:block;font-size:8px;color:#879aa8;margin-bottom:4px}.cart-remove{border:0;width:31px;height:31px;border-radius:10px;background:#fff1f2;color:#be123c;font-size:19px;cursor:pointer}.cart-update{padding-top:13px;border-top:1px solid #edf2f4}.cart-summary h3,.checkout-summary h3{margin:4px 0}.summary-number{display:flex;align-items:baseline;gap:7px;margin:17px 0;padding:16px;border-radius:14px;background:linear-gradient(135deg,#edf8fd,#effbf8)}.summary-number strong{font-size:30px;color:#0f766e}.summary-number span{font-size:9px;color:#708797}.cart-summary p,.checkout-summary p{font-size:9.5px;line-height:1.65;color:#798f9f}.btn-block{display:block;width:100%;text-align:center;margin-top:8px}.checkout-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.checkout-heading h3{margin:4px 0}.checkout-consent{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:12px 14px;background:#f1faf8;border:1px solid #d6eee9;border-radius:12px}.checkout-consent b{font-size:10px;color:#0f766e}.checkout-consent span{font-size:9px;color:#708797;line-height:1.5}.checkout-tool-list{margin:13px 0}.checkout-tool-list>div{display:grid;grid-template-columns:32px 1fr;gap:9px;padding:9px 0;border-bottom:1px solid #edf2f4}.checkout-tool-list strong,.checkout-tool-list small{display:block}.checkout-tool-list strong{font-size:10px}.checkout-tool-list small{font-size:8px;color:#8498a6;margin-top:2px}.checkout-tool-qty{width:29px;height:29px;border-radius:9px;background:#e8f8f7;color:#0f766e;display:grid;place-items:center;font-size:9px;font-weight:850}.checkout-total{display:flex;justify-content:space-between;align-items:center;padding:12px 0}.checkout-total span{font-size:9px;color:#7890a0}.checkout-total strong{font-size:23px;color:var(--navy)}
@media(max-width:1050px){.catalog-grid{grid-template-columns:repeat(3,1fr)}.catalog-filter form{grid-template-columns:1fr 1fr 1fr auto}.catalog-search{grid-column:1/-1}}
@media(max-width:800px){.portal-hero-v3,.tool-detail-layout,.tool-detail-sections,.cart-layout,.checkout-layout{grid-template-columns:1fr}.catalog-grid{grid-template-columns:repeat(2,1fr)}.cart-summary,.checkout-summary{position:static}.hero-mini-info{flex-wrap:wrap}.catalog-hero{align-items:flex-start}.catalog-filter form{grid-template-columns:1fr 1fr}.catalog-search{grid-column:1/-1}.detail-cart-form{grid-template-columns:65px 90px 1fr}}
@media(max-width:520px){.catalog-grid{grid-template-columns:1fr}.catalog-hero{flex-direction:column}.catalog-hero-stat{display:none}.catalog-filter form{grid-template-columns:1fr}.catalog-search{grid-column:auto}.cart-item{grid-template-columns:58px 1fr 70px}.cart-thumb{width:58px;height:52px}.cart-remove{grid-column:3;justify-self:end}.detail-cart-form{grid-template-columns:1fr}.tool-facts{grid-template-columns:1fr}.hero-search{display:grid;grid-template-columns:1fr auto}.checkout-heading{align-items:flex-start;flex-direction:column}}

/* ===== OcuLens Inventory v3.2 · Guest Borrowing ===== */
.guest-login-divider{display:flex;align-items:center;gap:10px;margin:15px 0 12px;color:#91a4b2;font-size:9px;text-transform:uppercase;letter-spacing:.8px}.guest-login-divider:before,.guest-login-divider:after{content:"";height:1px;background:#e1eaee;flex:1}.btn-guest-login{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px;width:100%;padding:12px 14px!important;background:linear-gradient(135deg,#e9faf7,#eef8ff)!important;color:#0f5f69!important;border:1px solid #caebe7!important;text-align:left!important}.btn-guest-login strong{font-size:10.5px}.btn-guest-login small{font-size:8px;font-weight:600;color:#728c9b}.btn-guest-login:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(15,118,110,.12)}
.guest-topbar{border-bottom:1px solid #dce8ed}.guest-user{min-width:130px;justify-content:flex-end}.guest-user>div{display:flex;flex-direction:column;text-align:right}.guest-user>div strong{font-size:10px;color:#26485f}.guest-user>div span{font-size:8px;color:#8296a4}.guest-hero{background:linear-gradient(125deg,#0b263d,#155b72 60%,#0f766e)}.guest-notice{display:flex;align-items:center;gap:9px;padding:10px 14px;margin:-3px 0 14px;border:1px solid #cdebe6;border-radius:12px;background:#effbf8;color:#5f7b86;font-size:9px}.guest-notice strong{color:#0f766e;font-size:9.5px}.guest-checkout label b{color:#dc2626}.guest-privacy-note{display:flex;flex-direction:column;gap:4px;margin-top:14px;padding:12px 14px;border-radius:12px;background:#f0f9ff;border:1px solid #d9edf8}.guest-privacy-note strong{font-size:10px;color:#155e75}.guest-privacy-note span{font-size:9px;line-height:1.55;color:#708797}
.guest-success{max-width:760px;margin:10px auto;text-align:center;padding:34px}.guest-success-icon{width:70px;height:70px;margin:0 auto 13px;border-radius:22px;display:grid;place-items:center;background:linear-gradient(135deg,#dffaf3,#e3f5ff);color:#0f766e;font-size:31px;font-weight:900}.guest-success h2{font-size:28px;letter-spacing:.4px;color:#0c3f5d;margin:6px 0 8px}.guest-success>p{max-width:560px;margin:0 auto 19px;color:#6d8494;font-size:10.5px;line-height:1.7}.guest-ticket{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:18px 0;text-align:left}.guest-ticket>div{padding:12px;border-radius:12px;background:#f7fbfc;border:1px solid #e1ecef}.guest-ticket span,.guest-ticket strong{display:block}.guest-ticket span{font-size:8px;color:#8195a4;text-transform:uppercase;letter-spacing:.45px}.guest-ticket strong{font-size:10px;color:#284b62;margin-top:4px}.guest-tool-summary{text-align:left;padding:14px;border:1px solid #e1ecef;border-radius:14px;background:#fff}.guest-tool-summary>span{display:block;font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#0f8b7b;font-weight:850;margin-bottom:7px}.guest-tool-summary>strong{display:block;font-size:10px;color:#405f72;padding:5px 0;border-top:1px solid #edf2f4}.guest-important{display:flex;flex-direction:column;gap:3px;margin:15px 0;padding:12px 14px;border-radius:12px;background:#fff8e7;border:1px solid #f3e3b0;text-align:left}.guest-important strong{font-size:10px;color:#946200}.guest-important span{font-size:9px;color:#826f48}.guest-success .actions{justify-content:center}.guest-footer{margin-top:20px}
@media(max-width:700px){.guest-user>div{display:none}.guest-ticket{grid-template-columns:1fr 1fr}.guest-notice{align-items:flex-start;flex-direction:column}.guest-success{padding:23px 16px}}
@media(max-width:430px){.guest-ticket{grid-template-columns:1fr}.guest-success h2{font-size:22px}.btn-guest-login{align-items:center!important;text-align:center!important}}

/* ===== OcuLens Inventory v3.2 · Guest Status & WhatsApp ===== */
.guest-login-actions{display:grid;grid-template-columns:1fr;gap:8px}.btn-guest-status-login{display:flex!important;flex-direction:column;align-items:flex-start!important;gap:2px;width:100%;padding:12px 14px!important;background:linear-gradient(135deg,#eef6ff,#f5f4ff)!important;color:#214d82!important;border:1px solid #d7e5f6!important;text-align:left!important}.btn-guest-status-login strong{font-size:10.5px}.btn-guest-status-login small{font-size:8px;font-weight:600;color:#788aa2}.btn-guest-status-login:hover{transform:translateY(-1px);box-shadow:0 8px 20px rgba(37,99,235,.10)}
.status-search-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,.8fr);gap:24px;align-items:center;padding:25px;background:linear-gradient(135deg,#fff,#f7fbfd)}.status-search-copy h2{margin:5px 0 8px;font-size:24px;color:var(--navy)}.status-search-copy p{margin:0;max-width:620px;color:#6d8494;font-size:10.5px;line-height:1.7}.status-search-form{padding:16px;border-radius:16px;background:#f6fafc;border:1px solid #dfecef}.status-search-form .form-group{margin-bottom:10px}.status-search-form .btn{width:100%}.status-alert{max-width:900px;margin:0 auto 18px}
.guest-status-result{max-width:980px;margin:0 auto}.guest-status-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:16px;border-bottom:1px solid #e4eef2}.guest-status-head h2{font-size:27px;margin:4px 0 5px;color:#0c3f5d}.guest-status-head p{margin:0;font-size:10px;color:#708797}.guest-status-badge{padding-top:4px}.status-message{display:flex;flex-direction:column;gap:4px;margin:17px 0;padding:13px 15px;border-radius:13px;border:1px solid}.status-message strong{font-size:11px}.status-message span{font-size:9.5px;line-height:1.55}.status-message-info{background:#eff8ff;border-color:#d7eaf8;color:#2d5f7e}.status-message-success{background:#effaf6;border-color:#d1eee1;color:#176b56}.status-message-warning{background:#fff9eb;border-color:#f2e4b8;color:#86611d}.status-message-danger{background:#fff2f3;border-color:#f7d1d5;color:#9b3340}.guest-status-ticket{margin-top:0}.status-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.status-tool-row{padding:7px 0;border-top:1px solid #edf2f4}.status-tool-row strong,.status-tool-row small{display:block}.status-tool-row strong{font-size:10px;color:#405f72}.status-tool-row small{font-size:8px;color:#8397a5;margin-top:2px}.status-meta-card{border:1px solid #e1ecef;border-radius:14px;background:#fbfdfe;padding:12px}.status-meta-card>div{padding:8px 4px;border-bottom:1px solid #ebf1f3}.status-meta-card>div:last-child{border-bottom:0}.status-meta-card span,.status-meta-card strong{display:block}.status-meta-card span{font-size:8px;text-transform:uppercase;letter-spacing:.45px;color:#8498a6}.status-meta-card strong{font-size:10px;color:#34536a;margin-top:4px}.status-meta-card .status-rejection strong{color:#b42318}.status-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:17px 0}.status-flow-step{position:relative;display:flex;align-items:center;gap:7px;padding:10px;border:1px solid #e0eaee;border-radius:12px;background:#f9fbfc;color:#8b9ca8}.status-flow-step b{width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:#e8eef1;font-size:9px}.status-flow-step span{font-size:9px;font-weight:750}.status-flow-step.done{background:#effaf7;border-color:#d2eee4;color:#0f766e}.status-flow-step.done b{background:#d5f2e8;color:#0f766e}
.whatsapp-notify-panel{display:grid;grid-template-columns:50px minmax(0,1fr) auto;align-items:center;gap:14px;background:linear-gradient(135deg,#f2fbf6,#f7fcfa);border-color:#d0ebdc}.whatsapp-notify-icon{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;background:#e1f7e9;color:#147a42;font-size:11px;font-weight:900}.whatsapp-notify-copy h3{margin:3px 0 4px}.whatsapp-notify-copy p{margin:0;color:#698178;font-size:9.5px;line-height:1.55}.whatsapp-notify-copy small{display:block;margin-top:5px;color:#668071;font-size:8.5px}.btn-whatsapp{background:#1fa855;color:#fff!important;border:0!important}.table-actions{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
@media(max-width:800px){.status-search-card,.status-detail-grid{grid-template-columns:1fr}.whatsapp-notify-panel{grid-template-columns:44px 1fr}.whatsapp-notify-panel .btn-whatsapp{grid-column:1/-1;width:100%}.status-flow{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.guest-status-head{flex-direction:column}.guest-status-ticket{grid-template-columns:1fr 1fr}.status-flow{grid-template-columns:1fr}.btn-guest-status-login{align-items:center!important;text-align:center!important}}

/* v3.2 revision - Database Backup */
.backup-hero{display:flex;align-items:center;gap:18px;padding:23px;background:linear-gradient(135deg,#f7fbff,#f4fbf9);border-color:#d9e9ee}.backup-hero-icon{width:62px;height:62px;flex:0 0 62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,#dff3ff,#d9f7ef);color:#0e7180;border:1px solid #c9e8e8}.backup-hero-icon svg{width:31px;height:31px}.backup-eyebrow{font-size:9px;font-weight:850;letter-spacing:1.1px;color:#16869a}.backup-hero h2{margin:4px 0 7px;font-size:23px;color:var(--navy)}.backup-hero p{margin:0;max-width:760px;font-size:11px;line-height:1.65;color:#668094}.backup-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.backup-stat{margin-bottom:18px;min-height:120px;display:flex;flex-direction:column;justify-content:center}.backup-stat span{font-size:9px;text-transform:uppercase;letter-spacing:.65px;color:#7a919f;font-weight:800}.backup-stat strong{display:block;margin-top:8px;font-size:18px;color:#173e59;overflow-wrap:anywhere}.backup-stat small{margin-top:5px;color:#8b9fab;font-size:8.5px}.backup-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}.backup-grid>.card{height:100%}.backup-action-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.backup-action-card h3,.backup-notes-card h3,.backup-restore-card h3{margin:8px 0 9px}.backup-action-card>p{font-size:10.5px;line-height:1.65;color:#688092;max-width:690px}.backup-download-btn{margin:9px 0 8px;padding:11px 16px}.backup-download-btn svg{width:17px;height:17px}.backup-notes{margin:8px 0 0;padding-left:18px;color:#5e7789}.backup-notes li{margin:0 0 10px;font-size:10px;line-height:1.6}.backup-notes code,.backup-restore-card code{padding:2px 5px;border-radius:5px;background:#edf3f5;color:#31546a}.backup-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:13px 0}.backup-steps>div{display:flex;align-items:flex-start;gap:9px;padding:12px;border:1px solid #e1ebef;border-radius:12px;background:#fbfdfe}.backup-steps b{width:25px;height:25px;flex:0 0 25px;border-radius:50%;display:grid;place-items:center;background:#e0f3f3;color:#0f7678;font-size:10px}.backup-steps span{font-size:9px;line-height:1.55;color:#577184}.backup-warning{margin:13px 0 0}@media(max-width:900px){.backup-grid{grid-template-columns:1fr}.backup-steps{grid-template-columns:1fr 1fr}}@media(max-width:620px){.backup-hero{align-items:flex-start}.backup-hero-icon{width:50px;height:50px;flex-basis:50px}.backup-stats{grid-template-columns:1fr}.backup-stat{min-height:auto}.backup-steps{grid-template-columns:1fr}}

/* v3.2 revision - Backup menu & media archive */
.nav-sublist{display:flex;flex-direction:column;gap:3px;margin:-1px 0 4px 17px;padding-left:10px;border-left:1px solid rgba(164,196,215,.14)}.sidebar a.nav-link.nav-link-sub{padding:8px 10px;font-size:11px;border-radius:10px;gap:8px;color:#a9c0d0}.sidebar a.nav-link.nav-link-sub:hover{transform:translateX(1px)}.sidebar a.nav-link.nav-link-sub.active{background:rgba(20,184,166,.12);box-shadow:none;color:#fff}.nav-subnum{width:18px;height:18px;display:grid;place-items:center;flex:0 0 18px;border-radius:6px;background:rgba(255,255,255,.07);font-size:9px;font-weight:850;color:#8bdcd5}.backup-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.backup-choice-card{position:relative;padding:24px;overflow:hidden}.backup-choice-number{position:absolute;right:19px;top:14px;font-size:42px;line-height:1;font-weight:900;color:#edf4f7}.backup-choice-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:16px;margin-bottom:13px;background:linear-gradient(135deg,#e1f4ff,#dff8f2);color:#0e7180;border:1px solid #cfe9eb}.backup-choice-icon.media{background:linear-gradient(135deg,#ebf7f0,#e9f4ff);color:#167657}.backup-choice-icon svg{width:27px;height:27px}.backup-choice-card h3{margin:10px 0 7px;font-size:19px}.backup-choice-card p{min-height:66px;color:#667f90;font-size:10.5px;line-height:1.65}.backup-choice-card code{padding:2px 5px;border-radius:5px;background:#edf3f5;color:#31546a}@media(max-width:820px){.backup-choice-grid{grid-template-columns:1fr}}@media(max-width:620px){.nav-sublist{margin-left:11px}.backup-choice-card p{min-height:0}}


/* v3.2 revision - visible Logout button */
.sidebar>.nav-list{min-height:0;flex:1;overflow-y:auto;overflow-x:hidden;padding-right:3px;scrollbar-width:thin;scrollbar-color:rgba(148,190,211,.35) transparent}
.sidebar>.nav-list::-webkit-scrollbar{width:5px}.sidebar>.nav-list::-webkit-scrollbar-thumb{background:rgba(148,190,211,.28);border-radius:999px}.sidebar-bottom{flex:0 0 auto}
.topbar-user-actions{display:flex;align-items:center;gap:9px}.topbar-logout{display:inline-flex;align-items:center;gap:7px;padding:9px 12px;border-radius:999px;text-decoration:none;background:#fff1f2;border:1px solid #fecdd3;color:#b42318;font-size:11px;font-weight:800;transition:.16s ease}.topbar-logout svg{width:16px;height:16px}.topbar-logout:hover{background:#ffe4e6;transform:translateY(-1px)}
.portal-logout{display:inline-flex!important;align-items:center;gap:5px!important;padding:7px 9px!important;border-radius:9px;background:#fff1f2;color:#b42318!important;border:1px solid #fecdd3;text-decoration:none!important;margin-left:5px!important;font-size:9px!important;font-weight:800}.portal-logout svg{width:14px;height:14px;flex:0 0 14px}.portal-logout:hover{background:#ffe4e6}
@media(max-width:760px){.sidebar>.nav-list{flex:0 0 auto;overflow-x:auto;overflow-y:hidden;padding-right:0}.topbar-user-actions{gap:6px}.topbar-logout{padding:8px 10px}.topbar-logout span{display:none}.topbar-logout svg{width:18px;height:18px}.sidebar-bottom{margin-top:7px}.sidebar-bottom .nav-link{background:rgba(220,38,38,.12);color:#ffd5d5!important;border:1px solid rgba(254,202,202,.14)}}
@media(max-width:520px){.portal-logout span{display:none}.portal-logout{padding:7px!important;margin-left:2px!important}.portal-logout svg{width:16px;height:16px}}

/* v3.2 revision - Borrower profile dropdown & profile page */
.portal-profile-menu{position:relative;flex:0 0 auto}.portal-profile-menu>summary{list-style:none}.portal-profile-menu>summary::-webkit-details-marker{display:none}.portal-profile-trigger{display:flex;align-items:center;gap:8px;padding:6px 8px 6px 6px;border:1px solid transparent;border-radius:13px;cursor:pointer;transition:.16s ease;user-select:none}.portal-profile-trigger:hover,.portal-profile-menu[open] .portal-profile-trigger,.portal-profile-menu[data-active="1"] .portal-profile-trigger{background:#f4fafc;border-color:#dce9ee}.portal-profile-meta{min-width:0}.portal-profile-meta strong,.portal-profile-meta small{display:block;white-space:nowrap;max-width:125px;overflow:hidden;text-overflow:ellipsis}.portal-profile-meta strong{font-size:10px;color:#213e54}.portal-profile-meta small{font-size:8px;color:#8499a8;margin-top:2px}.portal-profile-chevron{width:14px;height:14px;color:#7890a1;transition:transform .16s ease}.portal-profile-menu[open] .portal-profile-chevron{transform:rotate(180deg)}.portal-profile-dropdown{position:absolute;right:0;top:calc(100% + 9px);width:285px;padding:9px;background:#fff;border:1px solid #dce9ee;border-radius:16px;box-shadow:0 18px 45px rgba(15,39,67,.15);z-index:80}.portal-profile-dropdown:before{content:"";position:absolute;right:23px;top:-6px;width:11px;height:11px;background:#fff;border-left:1px solid #dce9ee;border-top:1px solid #dce9ee;transform:rotate(45deg)}.portal-profile-dropdown-head{position:relative;display:flex;align-items:center;gap:10px;padding:8px 9px 11px;margin-bottom:4px;border-bottom:1px solid #e9f0f3}.portal-profile-dropdown-head .user-avatar{width:38px;height:38px}.portal-profile-dropdown-head strong,.portal-profile-dropdown-head small{display:block}.portal-profile-dropdown-head strong{font-size:11px;color:#173e59}.portal-profile-dropdown-head small{font-size:8.5px;color:#8499a8;margin-top:2px}.portal-profile-dropdown>a{display:flex;align-items:center;gap:10px;padding:10px;border-radius:11px;text-decoration:none;color:#405e72;transition:.14s ease}.portal-profile-dropdown>a:hover,.portal-profile-dropdown>a.active{background:#eef9f8;color:#0f766e}.portal-profile-dropdown>a>svg{width:19px;height:19px;flex:0 0 19px}.portal-profile-dropdown>a>span{min-width:0}.portal-profile-dropdown>a strong,.portal-profile-dropdown>a small{display:block}.portal-profile-dropdown>a strong{font-size:10.5px}.portal-profile-dropdown>a small{font-size:8px;color:#8a9da9;margin-top:2px}.portal-profile-separator{height:1px;background:#e8eff2;margin:5px 4px}.portal-profile-dropdown>a.portal-profile-logout{color:#b42318}.portal-profile-dropdown>a.portal-profile-logout:hover{background:#fff1f2}.portal-profile-dropdown>a.portal-profile-logout small{color:#a77a7f}
.portal-profile-hero{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;padding:22px 24px;background:linear-gradient(135deg,#f8fcff,#f4fbf8)}.portal-profile-hero-avatar{width:68px;height:68px;border-radius:21px;display:grid;place-items:center;background:linear-gradient(135deg,#1a85cc,#14a58f);color:#fff;font-size:25px;font-weight:850;box-shadow:0 12px 26px rgba(20,165,143,.18)}.portal-profile-hero h2{margin:4px 0 5px;font-size:23px;color:#153d58}.portal-profile-hero p{margin:0;color:#718896;font-size:10.5px}.portal-profile-id-card{min-width:210px;padding:12px 14px;border-radius:14px;border:1px solid #deeaee;background:#fff}.portal-profile-id-card span,.portal-profile-id-card strong,.portal-profile-id-card small{display:block}.portal-profile-id-card span{font-size:8px;text-transform:uppercase;letter-spacing:.6px;color:#8b9fab}.portal-profile-id-card strong{font-size:12px;color:#244961;margin:4px 0}.portal-profile-id-card small{font-size:8.5px;color:#8396a4}.portal-profile-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(280px,.65fr);gap:16px;margin-top:16px}.portal-profile-form-card,.portal-security-card{height:100%}.portal-profile-form-card .form-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.form-help{display:block;margin-top:5px;color:#879aa7;font-size:8px}.required{color:#dc2626}.profile-form-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:4px}.portal-security-card h3{margin:5px 0 6px}.portal-security-card>p{margin:0 0 13px;color:#748a99;font-size:10px;line-height:1.6}.profile-password-btn{width:100%;justify-content:center}.profile-security-note{margin-top:15px;padding:12px;border-radius:12px;background:#f3f9fa;border:1px solid #dcebee}.profile-security-note strong,.profile-security-note span{display:block}.profile-security-note strong{font-size:9px;color:#2a5c72}.profile-security-note span{font-size:8.5px;line-height:1.55;color:#728995;margin-top:4px}.portal-profile-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px;padding:13px}.portal-profile-shortcuts>a{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:12px;border-radius:13px;border:1px solid #e3ecef;text-decoration:none;background:#fbfdfe;transition:.15s ease}.portal-profile-shortcuts>a:hover{transform:translateY(-1px);border-color:#cae4e5;background:#f7fcfc}.portal-profile-shortcuts .profile-shortcut-icon{width:34px;height:34px;border-radius:10px;display:grid;place-items:center;background:#e7f7f5;color:#0f766e;font-size:16px;font-weight:800}.portal-profile-shortcuts strong,.portal-profile-shortcuts small{display:block}.portal-profile-shortcuts strong{font-size:10px;color:#31546b}.portal-profile-shortcuts small{font-size:8px;color:#8498a5;margin-top:3px}.portal-profile-shortcuts>a>b{color:#8da1ad}.portal-profile-shortcuts>a.danger .profile-shortcut-icon{background:#fff0f1;color:#b42318}.portal-profile-shortcuts>a.danger strong{color:#9f2f36}
@media(max-width:1050px){.portal-profile-meta{display:none}.portal-profile-trigger{padding:6px}.portal-profile-dropdown{right:-2px}}
@media(max-width:800px){.portal-profile-layout{grid-template-columns:1fr}.portal-profile-shortcuts{grid-template-columns:1fr}.portal-profile-hero{grid-template-columns:auto 1fr}.portal-profile-id-card{grid-column:1/-1;min-width:0}.portal-profile-menu{margin-left:auto}}
@media(max-width:560px){.portal-profile-form-card .form-grid-2{grid-template-columns:1fr}.portal-profile-dropdown{position:fixed;top:76px;right:12px;left:12px;width:auto}.portal-profile-dropdown:before{right:24px}.portal-profile-hero{grid-template-columns:1fr;text-align:center}.portal-profile-hero-avatar{margin:auto}.portal-profile-id-card{text-align:left}.portal-profile-trigger .user-avatar{width:32px;height:32px}.portal-profile-chevron{display:none}}

/* ===== OcuLens Inventory · Multi-photo collage + Staff profile ===== */
.user-chip-link{text-decoration:none;transition:.16s ease}.user-chip-link:hover{transform:translateY(-1px);border-color:#b8dfe0;background:#f2fbfa}.user-avatar{overflow:hidden}.user-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.current-media-preview{display:flex;align-items:center;gap:12px;margin-top:8px;padding:10px;border:1px solid #e1ecef;border-radius:13px;background:#f8fbfc}.current-media-preview img{width:130px;height:86px;object-fit:cover;border-radius:10px;border:1px solid var(--line)}.current-media-preview span{font-size:10px;color:var(--muted);line-height:1.5}.profile-table-avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,var(--sky),var(--teal));color:#fff;font-weight:850}.profile-table-avatar img{width:100%;height:100%;object-fit:cover}.profile-edit-preview{display:flex;align-items:center;gap:12px;margin-top:8px}.profile-edit-preview img{width:76px;height:76px;border-radius:18px;object-fit:cover;border:1px solid var(--line)}.profile-edit-preview label,.profile-remove{font-size:11px;color:#60798b;display:flex;align-items:center;gap:7px}.profile-staff-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:18px}.profile-staff-card{padding:24px}.profile-staff-head{display:flex;align-items:center;gap:16px;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid #e5eef1}.profile-large-avatar{width:82px;height:82px;flex:0 0 82px;border-radius:24px;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#2582e8,#14a98a);color:#fff;font-size:30px;font-weight:900;box-shadow:0 12px 26px rgba(20,165,143,.17)}.profile-large-avatar img{width:100%;height:100%;object-fit:cover}.profile-staff-head h2{margin:3px 0 4px;font-size:23px;color:var(--navy)}.profile-staff-head p{margin:0;color:var(--muted);font-size:11px}.profile-help-card{align-self:start}.profile-help-card h3{margin:5px 0 8px}.profile-help-card p,.upgrade-media-card p{font-size:11px;line-height:1.7;color:var(--muted)}.upgrade-media-card{max-width:760px}.upgrade-media-card h2{margin:5px 0 8px;color:var(--navy)}.upgrade-media-card code{padding:2px 5px;border-radius:6px;background:#edf3f5;color:#31546a}
@media(max-width:800px){.profile-staff-layout{grid-template-columns:1fr}}
@media(max-width:560px){.current-media-preview{align-items:flex-start;flex-direction:column}.current-media-preview img{width:100%;height:auto;max-height:210px}.profile-staff-head{align-items:flex-start}.profile-large-avatar{width:68px;height:68px;flex-basis:68px;border-radius:20px}.profile-staff-card{padding:18px}}

/* OcuLens v1.1 — optional password confirmation/toggle */
.password-field{position:relative;display:flex;align-items:stretch}
.password-field .form-control{padding-right:88px}
.password-toggle{position:absolute;right:5px;top:5px;bottom:5px;min-width:72px;border:0;border-radius:8px;background:#eaf1f5;color:#36546b;font-size:10px;font-weight:800;cursor:pointer}
.password-toggle:hover{background:#dfeaf0;color:#173e59}
@media(max-width:520px){.password-field .form-control{padding-right:82px}.password-toggle{min-width:67px}}



/* OcuLens v1.2 — cleaner staff profile header & password controls */
.user-chip-link,.user-chip-link:link,.user-chip-link:visited,.user-chip-link:hover,.user-chip-link:active{text-decoration:none!important}
.user-chip-link .user-name,.user-chip-link .user-role{text-decoration:none!important}
.user-chip-link{padding-right:14px}
.user-chip-link:hover{box-shadow:0 7px 18px rgba(20,85,110,.08)}
.user-role{font-weight:650;letter-spacing:.08px}
.profile-staff-card .form-grid{column-gap:18px;row-gap:15px}
.profile-staff-card .form-group label{margin-bottom:7px}
.profile-staff-card .muted{display:block;margin-top:6px;line-height:1.45}
.password-field{position:relative;display:block}
.password-field .form-control{width:100%;padding-right:46px}
.password-toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);width:34px;height:34px;min-width:34px;padding:0;display:grid;place-items:center;border:1px solid transparent;border-radius:9px;background:transparent;color:#6e8595;cursor:pointer;transition:.15s ease;z-index:2}
.password-toggle:hover{background:#eef6f8;border-color:#d9e8ed;color:#0f766e}
.password-toggle:focus-visible{outline:2px solid rgba(20,184,166,.28);outline-offset:1px}
.password-toggle .icon-eye{width:18px;height:18px;display:block}
.password-toggle .icon-eye-closed{display:none}
.password-toggle.is-visible .icon-eye-open{display:none}
.password-toggle.is-visible .icon-eye-closed{display:block}
@media(max-width:520px){.user-chip-link{padding-right:7px}.password-field .form-control{padding-right:45px}.password-toggle{right:6px;width:33px;height:33px;min-width:33px}}

/* OcuLens - return request + WhatsApp settings */
.return-request-callout-wrap{padding:0;background:transparent;border:0;box-shadow:none}
.return-request-callout{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;border:1px solid #cfe8e2;border-radius:15px;background:linear-gradient(135deg,#f2fbf8,#f8fdfc)}
.return-request-callout.pending{border-color:#f0dfaf;background:linear-gradient(135deg,#fffaf0,#fffdf8)}
.return-request-callout>div{min-width:0}.return-request-callout strong,.return-request-callout small{display:block}.return-request-callout strong{font-size:11px;color:#244b5f;margin:3px 0}.return-request-callout small{font-size:8.8px;color:#748b98;line-height:1.5}
.return-request-hero{display:flex;align-items:center;justify-content:space-between;gap:18px;background:linear-gradient(135deg,#f8fcff,#f2fbf8)}
.return-request-hero h2{margin:4px 0 5px}.return-request-hero p{margin:0;color:#728794;font-size:10px}
.return-request-pending{text-align:center;padding:26px}.return-request-pending h3{margin:10px 0 6px}.return-request-pending p{max-width:680px;margin:0 auto 15px;color:#728794}
.return-request-review .submitted-sign{max-width:420px;margin-top:12px}.submitted-sign img{max-height:130px;object-fit:contain}
.wa-settings-card .wa-toggle-row{display:flex;align-items:center;gap:9px;padding:11px 12px;border:1px solid #dce9ee;border-radius:12px;background:#f8fbfc}.wa-toggle-row input{width:18px;height:18px}.wa-toggle-row span{font-weight:750;color:#31566b}
@media(max-width:800px){.return-request-callout,.return-request-hero{align-items:flex-start;flex-direction:column}.return-request-callout .btn{width:100%}.return-request-hero .due-chip{width:100%;box-sizing:border-box}}


/* ===== OcuLens Inventory v.3.4.0 · Premium Tool Photo Viewer ===== */
.oculens-tool-photo-zoomable{cursor:zoom-in!important;transition:transform .22s ease,filter .22s ease,box-shadow .22s ease;outline:none}
.oculens-tool-photo-zoomable:hover{filter:saturate(1.04) contrast(1.02)}
.photo.oculens-tool-photo-zoomable:hover{transform:scale(1.08);box-shadow:0 10px 24px rgba(12,50,73,.20);position:relative;z-index:2}
.catalog-image>.oculens-tool-photo-zoomable{transition:transform .36s cubic-bezier(.2,.7,.2,1),filter .25s ease}
.catalog-image:hover>.oculens-tool-photo-zoomable{transform:scale(1.055);filter:saturate(1.06) contrast(1.025)}
.cart-thumb>.oculens-tool-photo-zoomable:hover{transform:scale(1.06)}
.tool-detail-visual>.oculens-tool-photo-zoomable:hover{transform:scale(1.018)}
.oculens-tool-photo-zoomable:focus-visible{outline:3px solid rgba(20,184,166,.28);outline-offset:3px}

.oculens-hover-preview{position:fixed;z-index:99970;width:310px;max-width:calc(100vw - 24px);padding:10px;border:1px solid rgba(199,222,229,.95);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 24px 60px rgba(8,32,51,.24);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(5px) scale(.985);transition:opacity .13s ease,transform .13s ease,visibility .13s ease}
.oculens-hover-preview.is-visible{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.oculens-hover-preview__image{height:205px;display:grid;place-items:center;overflow:hidden;border-radius:13px;background:linear-gradient(145deg,#f3f9fb,#eef8f6)}
.oculens-hover-preview__image img{display:block;width:100%;height:100%;object-fit:contain}
.oculens-hover-preview>div:last-child{padding:10px 5px 3px}.oculens-hover-preview strong,.oculens-hover-preview span{display:block}.oculens-hover-preview strong{font-size:12px;color:#173f58;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.oculens-hover-preview span{margin-top:3px;font-size:9px;color:#7a909e}

html.oculens-viewer-open,html.oculens-viewer-open body{overflow:hidden}
.oculens-photo-viewer{position:fixed;inset:0;z-index:100000;display:grid;place-items:center;padding:22px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s ease,visibility .2s ease}
.oculens-photo-viewer.is-open{opacity:1;visibility:visible;pointer-events:auto}
.oculens-photo-viewer__backdrop{position:absolute;inset:0;background:rgba(5,18,31,.84);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
.oculens-photo-viewer__panel{position:relative;width:min(1180px,96vw);height:min(840px,92vh);display:grid;grid-template-rows:auto minmax(0,1fr) auto;overflow:hidden;border:1px solid rgba(255,255,255,.15);border-radius:25px;background:linear-gradient(145deg,rgba(16,41,60,.97),rgba(6,27,43,.985));box-shadow:0 32px 90px rgba(0,0,0,.48);transform:translateY(15px) scale(.985);transition:transform .24s cubic-bezier(.2,.7,.2,1)}
.oculens-photo-viewer.is-open .oculens-photo-viewer__panel{transform:translateY(0) scale(1)}
.oculens-photo-viewer__top{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px 13px 19px;border-bottom:1px solid rgba(255,255,255,.09);background:rgba(9,31,48,.76)}
.oculens-photo-viewer__caption{min-width:0}.oculens-photo-viewer__caption span,.oculens-photo-viewer__caption strong{display:block}.oculens-photo-viewer__caption span{font-size:8px;font-weight:850;letter-spacing:1.1px;color:#5eead4}.oculens-photo-viewer__caption strong{margin-top:3px;color:#fff;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.oculens-photo-viewer__controls{display:flex;align-items:center;gap:7px}.oculens-photo-viewer__controls button{height:36px;min-width:36px;padding:0 10px;border:1px solid rgba(255,255,255,.14);border-radius:11px;background:rgba(255,255,255,.08);color:#fff;font:800 14px/1 inherit;cursor:pointer;transition:.16s ease}.oculens-photo-viewer__controls button:hover{background:rgba(255,255,255,.15);border-color:rgba(94,234,212,.35)}.oculens-photo-viewer__controls .oculens-photo-viewer__percent{min-width:60px;color:#a7f3d0;font-size:10px}.oculens-photo-viewer__controls .oculens-photo-viewer__reset{font-size:9px}.oculens-photo-viewer__controls .oculens-photo-viewer__close{margin-left:4px;background:rgba(239,68,68,.18);border-color:rgba(248,113,113,.28);font-size:22px;line-height:1}.oculens-photo-viewer__controls .oculens-photo-viewer__close:hover{background:rgba(239,68,68,.32)}
.oculens-photo-viewer__stage{position:relative;min-height:0;display:grid;place-items:center;overflow:hidden;background:radial-gradient(circle at 50% 42%,rgba(32,103,126,.22),transparent 52%),#071827;touch-action:none;user-select:none}.oculens-photo-viewer__stage.can-drag{cursor:grab}.oculens-photo-viewer__stage.is-dragging{cursor:grabbing}.oculens-photo-viewer__stage>img{display:block;max-width:94%;max-height:94%;width:auto;height:auto;object-fit:contain;border-radius:10px;box-shadow:0 18px 48px rgba(0,0,0,.28);opacity:0;transform-origin:center center;transition:opacity .18s ease,transform .08s linear;will-change:transform}.oculens-photo-viewer__stage>img.is-ready{opacity:1}
.oculens-photo-viewer__loader{position:absolute;display:flex;align-items:center;gap:9px;color:#b9ccd7;font-size:10px;transition:opacity .15s ease}.oculens-photo-viewer__loader.is-hidden{opacity:0;pointer-events:none}.oculens-photo-viewer__loader i{width:18px;height:18px;border:2px solid rgba(255,255,255,.22);border-top-color:#5eead4;border-radius:50%;animation:oculensSpin .75s linear infinite}@keyframes oculensSpin{to{transform:rotate(360deg)}}
.oculens-photo-viewer__hint{display:flex;justify-content:center;gap:18px;flex-wrap:wrap;padding:10px 16px;color:#91a9b7;font-size:8.5px;border-top:1px solid rgba(255,255,255,.07);background:rgba(6,24,39,.88)}.oculens-photo-viewer__hint span:before{content:'•';margin-right:6px;color:#2dd4bf}

@media(max-width:760px){.oculens-photo-viewer{padding:8px}.oculens-photo-viewer__panel{width:100%;height:calc(100dvh - 16px);border-radius:18px}.oculens-photo-viewer__top{padding:10px 10px 10px 13px;align-items:flex-start}.oculens-photo-viewer__caption span{font-size:7px}.oculens-photo-viewer__caption strong{font-size:11px;max-width:36vw}.oculens-photo-viewer__controls{gap:5px}.oculens-photo-viewer__controls button{height:34px;min-width:34px;padding:0 8px;border-radius:9px}.oculens-photo-viewer__controls .oculens-photo-viewer__reset{display:none}.oculens-photo-viewer__controls .oculens-photo-viewer__percent{min-width:48px;padding:0 5px}.oculens-photo-viewer__stage>img{max-width:97%;max-height:94%;border-radius:7px}.oculens-photo-viewer__hint{gap:7px 12px;padding:8px;font-size:7.5px}.oculens-photo-viewer__hint span:nth-child(2){display:none}}
@media(hover:none),(pointer:coarse){.oculens-hover-preview{display:none}.oculens-tool-photo-zoomable:hover{transform:none!important}.catalog-image:hover>.oculens-tool-photo-zoomable{transform:none!important}}
