.asm-student-area{--asm-navy:#102a43;--asm-blue:#2563eb;--asm-teal:#0f9d91;--asm-ink:#172b4d;--asm-muted:#64748b;--asm-line:#e5edf5;--asm-surface:#f5f8fc;box-sizing:border-box;width:100%;max-width:100%;margin:24px auto;color:var(--asm-ink);font-family:inherit}
        .asm-student-area *{box-sizing:border-box}
        .asm-student-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:clamp(18px,3vw,28px);border-radius:18px 18px 0 0;background:linear-gradient(120deg,#102a43 0%,#174a78 58%,#087e83 100%);color:#fff}
        .asm-student-eyebrow{display:inline-block;font-size:11px;letter-spacing:1.6px;font-weight:800;color:#a9e9e2}
        .asm-student-heading h2{margin:8px 0 6px;color:#fff;font-size:clamp(20px,3vw,27px);line-height:1.3;font-weight:750}
        .asm-student-heading p{margin:0;color:#d8e7f2;font-size:14px;line-height:1.6}
        .asm-student-live{flex:0 0 auto;display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(255,255,255,.25);border-radius:30px;background:rgba(255,255,255,.12);font-size:10px;font-weight:800;letter-spacing:.7px;color:#eafffc}
        .asm-student-live i{width:7px;height:7px;border-radius:50%;background:#5eead4;box-shadow:0 0 0 4px rgba(94,234,212,.15)}
        .asm-student-list{display:grid;grid-template-columns:1fr;gap:16px;padding:clamp(12px,2vw,20px);border:1px solid var(--asm-line);border-top:0;border-radius:0 0 18px 18px;background:var(--asm-surface)}
        .asm-student-card{min-width:0;padding:clamp(16px,2.5vw,24px);border:1px solid #e3ebf4;border-radius:15px;background:#fff;box-shadow:0 5px 18px rgba(16,42,67,.045)}
        .asm-student-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap;padding-bottom:16px;border-bottom:1px solid var(--asm-line)}
        .asm-student-ref{font-size:12px;color:var(--asm-muted);font-weight:650}.asm-student-ref strong{color:var(--asm-ink);font-size:14px}
        .asm-student-date{font-size:12px;color:var(--asm-muted);margin-top:5px}
        .asm-student-status{display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:8px 13px;border-radius:30px;background:#eff6ff;color:#1d4ed8;font-size:12px;font-weight:750;line-height:1.5}
        .asm-student-status:before{content:"";width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:currentColor}
        .asm-student-status[data-status="delivered"]{background:#e8f8ef;color:#137547}.asm-student-status[data-status="returned"]{background:#fff0f0;color:#b42318}.asm-student-status[data-status="needs_info"]{background:#fff7e6;color:#a15c00}.asm-student-status[data-status="processing"]{background:#f3edff;color:#6941c6}.asm-student-status[data-status="shipped"]{background:#e8f7fb;color:#087e9b}
        .asm-student-course{padding:14px 0 2px;font-size:14px;color:var(--asm-ink);font-weight:700;overflow-wrap:anywhere}
        .asm-student-progress{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin-top:20px}
        .asm-student-step{position:relative;min-width:0;text-align:center;color:#94a3b8;font-size:10px;line-height:1.4}
        .asm-student-step:before{content:"";display:block;width:12px;height:12px;margin:0 auto 8px;border:2px solid #cbd5e1;border-radius:50%;background:#fff;position:relative;z-index:2}
        .asm-student-step:after{content:"";position:absolute;height:2px;background:#e2e8f0;top:5px;left:calc(50% + 9px);width:calc(100% - 13px)}
        .asm-student-step:last-child:after{display:none}
        .asm-student-step.is-done{color:#167b70;font-weight:700}.asm-student-step.is-done:before{border-color:#0f9d91;background:#0f9d91;box-shadow:inset 0 0 0 3px #fff}.asm-student-step.is-done:after{background:#7dd3c7}
        .asm-student-step.is-current{color:#1d4ed8;font-weight:800}.asm-student-step.is-current:before{border-color:#2563eb;background:#2563eb;box-shadow:0 0 0 4px #dbeafe}
        .asm-student-alert{margin-top:15px;padding:12px 14px;border-radius:10px;background:#fff8e8;color:#875500;font-size:13px;line-height:1.6}
        .asm-student-empty{padding:38px 20px;text-align:center;border:1px solid var(--asm-line);border-top:0;border-radius:0 0 18px 18px;background:#fff}.asm-student-empty-icon{font-size:34px}.asm-student-empty h3{margin:12px 0 6px;color:var(--asm-ink)}.asm-student-empty p{max-width:480px;margin:0 auto;color:var(--asm-muted);font-size:14px;line-height:1.7}
        .asm-student-refresh-note{margin:10px 4px 0;text-align:right;color:var(--asm-muted);font-size:11px}
        .asm-student-message{padding:16px 18px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1e40af;font-size:14px;line-height:1.6}
        @media(min-width:760px){.asm-student-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
        @media(max-width:560px){.asm-student-heading{display:block}.asm-student-live{margin-top:14px}.asm-student-card-top{display:block}.asm-student-status{margin-top:12px}.asm-student-progress{gap:2px}.asm-student-step{font-size:9px}.asm-student-refresh-note{text-align:left}}
        @media(prefers-reduced-motion:no-preference){.asm-student-card{transition:box-shadow .2s ease,transform .2s ease}.asm-student-card:hover{box-shadow:0 9px 24px rgba(16,42,67,.08);transform:translateY(-1px)}}

.asm-manager-portal{--asm-ink:#172b4d;--asm-line:#e5edf5;box-sizing:border-box;width:100%;margin:24px auto;color:var(--asm-ink);font-family:inherit}.asm-manager-portal *{box-sizing:border-box}.asm-manager-heading{padding:24px 28px;border-radius:16px 16px 0 0;background:linear-gradient(120deg,#102a43,#174a78 60%,#087e83);color:#fff}.asm-manager-heading>span{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#a9e9e2}.asm-manager-heading h2{margin:8px 0;color:#fff;font-size:clamp(20px,3vw,27px)}.asm-manager-heading p{margin:0;color:#d8e7f2}.asm-manager-table-wrap{overflow:auto;border:1px solid var(--asm-line);border-top:0;border-radius:0 0 14px 14px;background:#fff}.asm-manager-table{width:100%;min-width:850px;border-collapse:collapse}.asm-manager-table th,.asm-manager-table td{padding:13px 14px;text-align:left;border-bottom:1px solid var(--asm-line);font-size:13px;vertical-align:middle}.asm-manager-table th{background:#f5f8fc;color:#475569;white-space:nowrap}.asm-manager-table td small{display:block;margin-top:4px;color:#64748b}.asm-manager-action-form{display:flex;gap:7px;min-width:260px}.asm-manager-action-form select{min-width:0;max-width:190px;flex:1;border:1px solid #cbd5e1;border-radius:7px;padding:6px}.asm-manager-action-form button{border:0;border-radius:7px;padding:7px 11px;background:#174a78;color:#fff;font-weight:700;cursor:pointer}

.asm-manager-success{padding:12px 16px;margin-bottom:12px;border:1px solid #a7f3d0;border-radius:9px;background:#ecfdf5;color:#047857;font-weight:700;font-size:13px}

/* Officer dashboard 2.1 */
.asm-manager-portal{max-width:1440px;margin:28px auto}
.asm-manager-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;border-radius:18px 18px 0 0;padding:28px 30px}
.asm-manager-head-actions{display:flex;gap:9px;flex-wrap:wrap}.asm-manager-head-actions a,.asm-manager-head-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 15px;border:1px solid rgba(255,255,255,.45);border-radius:9px;background:#fff;color:#123b5d;text-decoration:none;font-weight:750;cursor:pointer}
.asm-manager-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;padding:18px;background:#f4f7fb;border:1px solid #e5edf5;border-top:0}
.asm-manager-stat{position:relative;min-height:116px;padding:17px 18px;background:#fff;border:1px solid #e5edf5;border-radius:13px;box-shadow:0 3px 12px rgba(15,35,60,.045);overflow:hidden}
.asm-manager-stat:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#2563eb}
.asm-manager-stat span,.asm-manager-stat small{display:block;color:#536579;font-size:12px;font-weight:650}.asm-manager-stat strong{display:block;margin:8px 0 3px;color:#122b45;font-size:29px;line-height:1.1}.asm-manager-stat small{font-size:10px;color:#8997a8}
.asm-manager-stat.stat-pending:before{background:#d97706}.asm-manager-stat.stat-sent:before{background:#0284c7}.asm-manager-stat.stat-approved:before{background:#16a34a}.asm-manager-stat.stat-rejected:before{background:#dc2626}
.asm-manager-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;padding:20px 22px;background:#fff;border:1px solid #e5edf5;border-top:0}
.asm-manager-toolbar h3{margin:0 0 5px;color:#172b4d;font-size:18px}.asm-manager-toolbar p{margin:0;color:#718096;font-size:12px}
.asm-manager-search{display:flex;align-items:center;gap:8px;min-width:min(100%,320px);padding:0 12px;border:1px solid #d7e1ec;border-radius:9px;background:#fff}.asm-manager-search span{font-size:23px;color:#64748b}.asm-manager-search input{width:100%;min-height:42px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important}
.asm-manager-table-wrap{border-radius:0 0 14px 14px}.asm-manager-table{min-width:1050px}.asm-manager-table th{font-size:12px}.asm-manager-table td{font-size:12px}.asm-manager-row-actions{display:flex;flex-direction:column;gap:7px;min-width:240px}
.asm-manager-action-form{min-width:0}.asm-manager-action-form button{white-space:nowrap}.asm-manager-print-one{font-size:11px;color:#17558a;text-decoration:none;font-weight:750}
.asm-status-badge{display:inline-block;max-width:220px;padding:6px 10px;border-radius:30px;font-size:11px;font-weight:750;line-height:1.45}
.status-pending{color:#92400e;background:#fef3c7}.status-verified{color:#1d4ed8;background:#dbeafe}.status-processing{color:#6d28d9;background:#ede9fe}.status-shipped{color:#0369a1;background:#e0f2fe}.status-delivered{color:#166534;background:#dcfce7}.status-returned{color:#b91c1c;background:#fee2e2}.status-needs_info{color:#9a3412;background:#ffedd5}
.asm-manager-success{padding:12px 16px;margin-bottom:14px;border-radius:9px;background:#dcfce7;color:#166534;font-weight:700}
@media(max-width:900px){.asm-manager-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.asm-manager-stat:first-child{grid-column:span 2}}
@media(max-width:520px){.asm-manager-stats{gap:8px;padding:10px}.asm-manager-stat{padding:13px;min-height:100px}.asm-manager-stat strong{font-size:24px}.asm-manager-heading{padding:20px}.asm-manager-head-actions{width:100%}.asm-manager-head-actions>*{flex:1}}
@media print{body *{visibility:hidden!important}.asm-manager-portal,.asm-manager-portal *{visibility:visible!important}.asm-manager-portal{position:absolute;left:0;top:0;width:100%;margin:0}.asm-manager-heading{background:#fff!important;color:#111!important;border:1px solid #ddd}.asm-manager-heading h2,.asm-manager-heading p,.asm-manager-heading>div>span{color:#111!important}.asm-manager-head-actions,.asm-manager-toolbar,.asm-no-print{display:none!important}.asm-manager-stats{grid-template-columns:repeat(5,1fr);background:#fff}.asm-manager-stat{box-shadow:none;break-inside:avoid}.asm-manager-table-wrap{overflow:visible}.asm-manager-table{min-width:0;font-size:9px}.asm-manager-table th,.asm-manager-table td{padding:6px 4px;font-size:9px}.asm-manager-table{table-layout:fixed}}

/* v2.1.1: Officer workspace header has no bulk action buttons. */
.asm-manager-heading{display:block}
.asm-manager-head-actions{display:none!important}
.asm-manager-table tbody tr[aria-hidden="true"]{display:none}
.asm-manager-no-results td{text-align:center;padding:22px;color:#64748b}


/* v2.2.1: compact, polished officer actions and confirmation-friendly controls */
.asm-manager-row-actions{min-width:190px;gap:6px;align-items:flex-start}
.asm-manager-action-form{display:flex;align-items:center;gap:6px;width:100%;min-width:0}
.asm-manager-action-form select{height:31px;min-height:31px;max-width:145px;padding:4px 26px 4px 9px;border:1px solid #d6e0eb;border-radius:7px;background:#fff;color:#26384b;font-size:11px;line-height:1.2}
.asm-manager-action-form button{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:0 10px;border:1px solid #174a78;border-radius:7px;background:#174a78;color:#fff;font-size:11px;font-weight:750;line-height:1;white-space:nowrap;box-shadow:0 2px 5px rgba(23,74,120,.13);transition:background .18s ease,transform .18s ease}
.asm-manager-action-form button:hover{background:#0f3557;transform:translateY(-1px)}
.asm-manager-print-one{display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:0 9px;border:1px solid #c9dced;border-radius:7px;background:#f2f8fd;color:#17558a!important;font-size:10px;font-weight:750;line-height:1;text-decoration:none!important;transition:background .18s ease,border-color .18s ease}
.asm-manager-print-one:hover{background:#e3f0fb;border-color:#9fc3e2;color:#103f68!important}
.asm-manager-action-form button:focus-visible,.asm-manager-print-one:focus-visible{outline:2px solid #60a5fa;outline-offset:2px}
@media(max-width:520px){.asm-manager-row-actions{min-width:175px}.asm-manager-action-form select{max-width:130px}}


/* v2.2.3: Officer identity and logout header */
.asm-manager-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.asm-manager-heading-copy{min-width:220px;flex:1 1 360px}
.asm-manager-heading .asm-manager-eyebrow{display:inline-block;font-size:11px;letter-spacing:1.5px;font-weight:800;color:#a9e9e2}
.asm-manager-heading .asm-manager-heading-copy h2{margin:8px 0;color:#fff;font-size:clamp(20px,3vw,27px);line-height:1.3}
.asm-manager-heading .asm-manager-heading-copy p{margin:0;color:#d8e7f2;font-size:14px;line-height:1.6}
.asm-officer-profile{display:flex;align-items:center;justify-content:flex-end;gap:14px;flex:0 1 auto;min-width:0;padding:10px 11px 10px 13px;border:1px solid rgba(255,255,255,.22);border-radius:13px;background:rgba(255,255,255,.11);backdrop-filter:blur(8px)}
.asm-officer-identity{display:flex;align-items:center;gap:10px;min-width:0}
.asm-officer-avatar{width:42px;height:42px;flex:0 0 42px;border:2px solid rgba(255,255,255,.65);border-radius:50%;object-fit:cover}
.asm-officer-details{display:flex;flex-direction:column;gap:4px;min-width:0}
.asm-officer-details strong{max-width:210px;overflow:hidden;color:#fff;font-size:13px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.asm-officer-details span{max-width:230px;overflow:hidden;color:#d8e7f2;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.asm-officer-logout{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:0 12px;border:1px solid rgba(255,255,255,.5);border-radius:8px;background:#fff;color:#174a78!important;font-size:12px;font-weight:800;text-decoration:none!important;white-space:nowrap;transition:background .18s ease,transform .18s ease}
.asm-officer-logout:hover{background:#eaf4fb;transform:translateY(-1px)}
.asm-officer-logout span{font-size:17px;line-height:1}
@media(max-width:640px){.asm-manager-heading{align-items:stretch;gap:17px;padding:20px}.asm-manager-heading-copy{flex-basis:100%}.asm-officer-profile{width:100%;justify-content:space-between;gap:8px;padding:9px}.asm-officer-details strong,.asm-officer-details span{max-width:calc(100vw - 190px)}}
@media print{.asm-officer-profile{display:none!important}}
