    /* TT GRID */
    .wk {
      overflow-x: auto;
    }

    .wkt {
      border-collapse: collapse;
      min-width: 500px;
      width: 100%;
    }

    .wkt th {
      background: var(--nlight);
      padding: 7px 9px;
      text-align: left;
      font-size: .66rem;
      font-weight: 700;
      color: var(--navy);
      border: 1px solid var(--brd2);
    }

    .wkt td {
      padding: 4px 5px;
      border: 1px solid var(--brd);
      vertical-align: top;
      min-width: 75px;
    }

    .wkt-tm {
      font-size: .62rem;
      font-weight: 700;
      color: var(--mut);
      background: #fafbff !important;
      white-space: nowrap;
      padding: 6px 7px !important;
    }

    .wc {
      border-radius: 5px;
      padding: 4px 6px;
      margin-bottom: 2px;
    }

    .ws {
      font-weight: 700;
      font-size: .67rem;
    }

    .wi {
      font-size: .59rem;
      color: rgba(0, 0, 0, .5);
      margin-top: 1px;
    }

    .tb {
      background: #dbeafe;
    }

    .tp {
      background: #ede9fe;
    }

    .tg {
      background: #d1fae5;
    }

    .to {
      background: #fee2cc;
    }

    .ttl {
      background: #ccfbf1;
    }

    .tgd {
      background: #fef9c3;
    }

    .tcf {
      background: #fee2e2;
      border: 1.5px solid var(--rbr) !important;
    }

    /* UPCOMING */
    .ui {
      display: flex;
      align-items: flex-start;
      gap: 9px;
      padding: 8px 0;
      border-bottom: 1px solid var(--brd);
    }

    .ui:last-child {
      border-bottom: none;
    }

    .ud {
      width: 32px;
      height: 32px;
      border-radius: 7px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .9rem;
      flex-shrink: 0;
    }

    .ut {
      font-size: .77rem;
      font-weight: 700;
      margin-bottom: 1px;
    }

    .um {
      font-size: .65rem;
      color: var(--mut);
    }

    .sp {
      padding: 3px 8px;
      border-radius: 100px;
      font-size: .62rem;
      font-weight: 700;
      white-space: nowrap;
    }

    .s-on {
      background: #d1fae5;
      color: var(--grn);
    }

    .s-cf {
      background: #fee2e2;
      color: var(--red);
    }

    .s-up {
      background: #dbeafe;
      color: var(--blu);
    }

    .s-lt {
      background: var(--glight);
      color: var(--gold);
    }

    .s-lv {
      background: #d1fae5;
      color: var(--grn);
    }

    /* CONFLICT */
    .cfi {
      display: flex;
      gap: 9px;
      padding: 10px;
      border-radius: 8px;
      margin-bottom: 7px;
    }

    .cf-r {
      background: var(--rbg);
      border: 1px solid var(--rbr);
    }

    .cf-o {
      background: var(--obg);
      border: 1px solid var(--obr);
    }

    .cf-g {
      background: var(--glight);
      border: 1px solid var(--gborder);
    }

    .cf-t {
      font-size: .74rem;
      font-weight: 700;
      margin-bottom: 2px;
    }

    .cf-d {
      font-size: .66rem;
      color: var(--mut);
      line-height: 1.4;
    }

    /* AVAIL */
    .avg {
      display: grid;
      grid-template-columns: auto repeat(5, 1fr);
      gap: 3px;
      font-size: .66rem;
    }

    .avh {
      font-weight: 700;
      color: var(--mut);
      text-align: center;
      padding: 3px;
    }

    .avt {
      font-weight: 700;
      color: var(--mut);
      padding: 3px 4px;
      font-size: .62rem;
    }

    .avc {
      border-radius: 5px;
      padding: 3px 2px;
      text-align: center;
      font-size: .61rem;
      font-weight: 600;
    }

    .av-f {
      background: #d1fae5;
      color: var(--grn);
    }

    .av-b {
      background: #fee2e2;
      color: var(--red);
    }

    /* EXAM */
    .exc {
      background: var(--nlight);
      border-radius: 8px;
      padding: 10px 12px;
      margin-bottom: 6px;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .exd {
      background: var(--navy);
      color: #fff;
      border-radius: 6px;
      padding: 5px 8px;
      text-align: center;
      min-width: 38px;
      flex-shrink: 0;
    }

    .exdd {
      font-size: .92rem;
      font-weight: 800;
      line-height: 1;
    }

    .exdm {
      font-size: .55rem;
      font-weight: 600;
      text-transform: uppercase;
      opacity: .8;
    }

    .exb {
      flex: 1;
    }

    .exs {
      font-size: .76rem;
      font-weight: 700;
      margin-bottom: 1px;
    }

    .exm {
      font-size: .64rem;
      color: var(--mut);
    }

    /* NOTIF */
    .nfi {
      display: flex;
      gap: 8px;
      align-items: flex-start;
      padding: 8px 0;
      border-bottom: 1px solid var(--brd);
      font-size: .74rem;
    }

    .nfi:last-child {
      border-bottom: none;
    }

    .nfd {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      flex-shrink: 0;
      margin-top: 4px;
    }

    /* LEGEND */
    .leg {
      display: flex;
      gap: 9px;
      flex-wrap: wrap;
      font-size: .63rem;
      align-items: center;
      margin-top: 7px;
    }

    .ld {
      width: 8px;
      height: 8px;
      border-radius: 2px;
      display: inline-block;
      margin-right: 3px;
      vertical-align: middle;
    }

    /* WKNAV */
    .wkn {
      display: flex;
      align-items: center;
      gap: 5px;
      font-size: .71rem;
      font-weight: 700;
      color: var(--navy);
    }

    .wkn button {
      background: #fff;
      border: 1.5px solid var(--brd2);
      border-radius: 5px;
      padding: 2px 7px;
      cursor: pointer;
    }

    /* ACCESS BANNER */
    .acb {
      background: linear-gradient(135deg, var(--nlight), var(--glight));
      border: 1.5px solid var(--gborder);
      border-radius: 10px;
      padding: 11px 14px;
      margin-bottom: 13px;
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: .73rem;
      color: var(--mut);
      line-height: 1.6;
    }

    /* ═══ OFFICE MODULE CSS ═══ */
    .ofc-page {
      --ofc: #1565c0;
      --ofc-d: #0d47a1;
      --ofc-dd: #0a3578;
      --ofc-l: #eaf3fc;
      --ofc-l2: #d5e8fb;
      --ofc-br: #a7cbf0;
      --ofc-grad: linear-gradient(135deg, #1565c0 0%, #0a3578 100%);
    }

    /* ─── Sidebar refinement (Office only) ─── */
    #sb-ofc .sb-lbl { color: #5a7fb0; }
    #sb-ofc .ni {
      padding: 8px 10px;
      border-radius: 8px;
      transition: background .16s, color .16s, transform .16s, box-shadow .16s;
    }
    #sb-ofc .ni .ni-ic { transition: transform .16s; }
    #sb-ofc .ni:hover {
      background: #eaf3fc;
      color: #0d47a1;
      transform: translateX(2px);
    }
    #sb-ofc .ni:hover .ni-ic { transform: scale(1.12); }
    #sb-ofc .ni.on {
      background: linear-gradient(135deg, #1565c0, #0a3578);
      color: #fff;
      font-weight: 700;
      box-shadow: 0 5px 14px rgba(21, 101, 192, .30);
    }
    #sb-ofc .ni.on .ni-ic { transform: scale(1.1); }
    #sb-ofc .sb-sec { padding: 8px 8px 3px; }
    #sb-ofc-badge {
      margin: 4px 8px 8px;
      background: linear-gradient(135deg, #eaf3fc, #d5e8fb);
      border: 1.5px solid #a7cbf0;
      border-radius: 10px;
      padding: 9px 11px;
      display: flex;
      align-items: center;
      gap: 9px;
    }
    #sb-ofc-badge .ob-ic {
      width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
      background: linear-gradient(135deg, #1565c0, #0a3578);
      display: flex; align-items: center; justify-content: center;
      font-size: .9rem; color: #fff;
      box-shadow: 0 3px 8px rgba(21, 101, 192, .3);
    }
    #sb-ofc-badge .ob-t { font-size: .68rem; font-weight: 800; color: #0a3578; line-height: 1.2; }
    #sb-ofc-badge .ob-s { font-size: .56rem; color: #5a7fb0; font-weight: 600; }

    /* ─── Hero header with breadcrumb ─── */
    .ofc-hero {
      background: var(--ofc-grad);
      border-radius: 16px;
      padding: 20px 24px;
      color: #fff;
      margin-bottom: 16px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(13, 71, 161, .22);
    }
    .ofc-hero::after {
      content: '';
      position: absolute;
      right: -40px; top: -40px;
      width: 180px; height: 180px;
      background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .ofc-hero::before {
      content: '';
      position: absolute;
      right: 26px; bottom: -30px;
      width: 110px; height: 110px;
      background: radial-gradient(circle, rgba(200, 150, 12, .25), transparent 70%);
      border-radius: 50%;
      pointer-events: none;
    }
    .ofc-bc {
      display: flex; align-items: center; gap: 6px;
      font-size: .68rem; font-weight: 600;
      color: rgba(255, 255, 255, .78);
      margin-bottom: 8px;
    }
    .ofc-bc span.sep { opacity: .55; }
    .ofc-bc span.cur { color: #fff; font-weight: 700; }
    .ofc-hero-row {
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 12px; position: relative; z-index: 1;
    }
    .ofc-hero-t { font-size: 1.32rem; font-weight: 800; letter-spacing: .01em; display: flex; align-items: center; gap: 9px; }
    .ofc-hero-s { font-size: .8rem; opacity: .88; margin-top: 4px; }
    .ofc-hero-meta { display: flex; gap: 8px; flex-wrap: wrap; }
    .ofc-chip {
      background: rgba(255, 255, 255, .16);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(255, 255, 255, .22);
      padding: 7px 14px; border-radius: 100px;
      font-size: .72rem; font-weight: 700;
      display: inline-flex; align-items: center; gap: 6px;
      white-space: nowrap;
    }
    .ofc-hero-acts { display: flex; gap: 7px; flex-wrap: wrap; position: relative; z-index: 1; margin-top: 13px; }
    .ofc-hero-btn {
      background: rgba(255, 255, 255, .14);
      border: 1.5px solid rgba(255, 255, 255, .26);
      color: #fff; padding: 7px 14px; border-radius: 9px;
      font-size: .74rem; font-weight: 700; cursor: pointer;
      transition: all .15s; display: inline-flex; align-items: center; gap: 6px;
      font-family: 'Inter', sans-serif;
    }
    .ofc-hero-btn:hover { background: #fff; color: var(--ofc-d); transform: translateY(-1px); }
    .ofc-hero-btn.solid { background: var(--gold); border-color: var(--gold); }
    .ofc-hero-btn.solid:hover { background: #fff; color: var(--ofc-d); }

    /* ─── Animated stat cards ─── */
    .ofc-stats {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
      gap: 12px;
    }
    .ofc-stat {
      background: #fff;
      border: 1.5px solid var(--brd);
      border-radius: 14px;
      padding: 15px 16px;
      position: relative;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 48, 135, .05);
      transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s, border-color .2s;
      cursor: default;
      animation: ofcCardIn .45s ease both;
    }
    .ofc-stat:hover {
      transform: translateY(-5px);
      box-shadow: 0 14px 30px rgba(13, 71, 161, .14);
      border-color: var(--ofc-br);
    }
    .ofc-stat::before {
      content: '';
      position: absolute; left: 0; top: 0; bottom: 0;
      width: 4px; background: var(--accent, var(--ofc));
      opacity: .9;
    }
    .ofc-stat .ic {
      width: 42px; height: 42px; border-radius: 11px;
      display: flex; align-items: center; justify-content: center;
      font-size: 1.18rem; margin-bottom: 11px;
      background: var(--ic-bg, var(--ofc-l));
      transition: transform .2s;
    }
    .ofc-stat:hover .ic { transform: scale(1.08) rotate(-4deg); }
    .ofc-stat .num {
      font-size: 1.75rem; font-weight: 800; line-height: 1;
      color: var(--accent, var(--ofc)); margin-bottom: 3px;
    }
    .ofc-stat .txtval {
      font-size: 1.05rem; font-weight: 800; line-height: 1.2;
      color: var(--accent, var(--ofc)); margin-bottom: 3px;
    }
    .ofc-stat .lbl { font-size: .73rem; font-weight: 700; color: var(--txt); }
    .ofc-stat .sub { font-size: .63rem; color: var(--mut2); margin-top: 1px; }
    @keyframes ofcCardIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: none; }
    }

    /* ─── Filter bar ─── */
    .ofc-filter {
      background: #fff;
      border: 1.5px solid var(--brd);
      border-radius: 14px;
      padding: 15px 18px;
      margin-bottom: 16px;
      box-shadow: 0 2px 6px rgba(0, 48, 135, .04);
    }
    .ofc-fl-lbl { font-size: .68rem; font-weight: 800; color: var(--ofc-d); display: block; margin-bottom: 5px; text-transform: uppercase; letter-spacing: .04em; }
    .ofc-page select, .ofc-page input[type="text"], .ofc-page textarea {
      border-radius: 9px; border: 1.5px solid var(--brd2);
      transition: border-color .15s, box-shadow .15s;
    }
    .ofc-page select:focus, .ofc-page input[type="text"]:focus, .ofc-page textarea:focus {
      outline: none; border-color: var(--ofc);
      box-shadow: 0 0 0 3px rgba(21, 101, 192, .12);
    }
    .ofc-search-wrap { position: relative; }
    .ofc-search-wrap .si { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); font-size: .82rem; opacity: .5; pointer-events: none; }
    .ofc-search {
      width: 100%; padding: 9px 12px 9px 32px; font-size: .8rem;
      border-radius: 9px; border: 1.5px solid var(--brd2); box-sizing: border-box;
      font-family: 'Inter', sans-serif;
    }

    /* ─── Office buttons ─── */
    .btn-ofc { background: var(--ofc); color: #fff; }
    .btn-ofc:hover { background: var(--ofc-d); }
    .ofc-page .btn-navy { background: var(--ofc); }
    .ofc-page .btn-navy:hover { background: var(--ofc-d); }

    /* ─── Premium content card ─── */
    .ofc-card {
      background: #fff;
      border: 1.5px solid var(--brd);
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 2px 8px rgba(0, 48, 135, .05);
      margin-bottom: 16px;
    }
    .ofc-card-h {
      padding: 14px 20px;
      background: linear-gradient(135deg, var(--ofc-l), #fff);
      border-bottom: 1.5px solid var(--ofc-br);
      display: flex; align-items: center; justify-content: space-between;
      flex-wrap: wrap; gap: 8px;
    }
    .ofc-card-t { font-size: .92rem; font-weight: 800; color: var(--ofc-dd); display: flex; align-items: center; gap: 8px; }

    /* ─── Subject cards (curriculum/syllabus) ─── */
    .ofc-subgrid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
      gap: 13px;
      padding: 16px 18px;
    }
    .ofc-subcard {
      border: 1.5px solid var(--brd);
      border-radius: 12px;
      padding: 14px 15px;
      background: #fff;
      transition: transform .18s, box-shadow .18s, border-color .18s;
      display: flex; flex-direction: column; gap: 9px;
      border-left: 4px solid var(--st, var(--ofc));
    }
    .ofc-subcard:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 24px rgba(13, 71, 161, .12);
      border-color: var(--brd2);
      border-left-color: var(--st, var(--ofc));
    }
    .ofc-subcard-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
    .ofc-code {
      font-family: ui-monospace, 'SF Mono', Menlo, monospace;
      font-size: .7rem; font-weight: 800;
      background: var(--nlight); color: var(--navy);
      border: 1px solid var(--brd2);
      padding: 3px 9px; border-radius: 6px; white-space: nowrap;
    }
    .ofc-pill {
      font-size: .64rem; font-weight: 800;
      padding: 3px 10px; border-radius: 100px; white-space: nowrap;
      display: inline-flex; align-items: center; gap: 4px;
    }
    .ofc-pill-credit { background: #e8f0ff; color: #1565c0; }
    .ofc-subtitle { font-size: .86rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
    .ofc-submeta { font-size: .68rem; color: var(--mut); }
    .ofc-tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
    .ofc-tag {
      font-size: .62rem; font-weight: 800; letter-spacing: .02em;
      padding: 3px 9px; border-radius: 6px;
      display: inline-flex; align-items: center; gap: 4px;
    }
    .ofc-t-core { background: #e3f0ff; color: #1565c0; }
    .ofc-t-elec { background: #f0ebff; color: #5c35a0; }
    .ofc-t-proj { background: #e8f5ee; color: #1b7a3e; }
    .ofc-t-intern { background: #fff3e0; color: #c75b00; }
    .ofc-t-lab { background: #ccfbf1; color: #00766c; }
    .ofc-subcard-ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
    .ofc-status {
      font-size: .64rem; font-weight: 800;
      padding: 3px 10px; border-radius: 100px;
      display: inline-flex; align-items: center; gap: 4px;
    }
    .ofc-s-pub { background: #e8f5ee; color: #1b7a3e; }
    .ofc-s-pend { background: #fff3e0; color: #c75b00; }
    .ofc-s-draft { background: #fdeaea; color: #c0392b; }
    .ofc-s-detailed { background: #e8f5ee; color: #1b7a3e; }
    .ofc-s-basic { background: #eef1f7; color: #5a6a8a; }
    .ofc-vbtn {
      background: var(--ofc); color: #fff; border: none;
      padding: 6px 14px; border-radius: 8px;
      font-size: .72rem; font-weight: 700; cursor: pointer;
      font-family: 'Inter', sans-serif; transition: all .15s;
      display: inline-flex; align-items: center; gap: 5px;
    }
    .ofc-vbtn:hover { background: var(--ofc-d); transform: translateY(-1px); box-shadow: 0 4px 10px rgba(21, 101, 192, .25); }
    .ofc-vbtn.ghost { background: transparent; border: 1.5px solid var(--brd2); color: var(--mut); }
    .ofc-vbtn.ghost:hover { border-color: var(--ofc); color: var(--ofc-d); background: var(--ofc-l); box-shadow: none; }

    /* ─── Uniform filter-bar controls: equal-height inputs + equal-size action buttons ─── */
    .ofc-filter select,
    .ofc-filter input[type="text"],
    .ofc-filter .ofc-search { height: 40px; box-sizing: border-box; }
    .ofc-filter .ofc-vbtn,
    .ofc-filter .btn-ofc {
      min-width: 112px;
      height: 40px;
      padding: 0 18px;
      justify-content: center;
      font-size: .78rem;
      box-sizing: border-box;
    }
    /* Type-filter chips keep their compact pill size */
    #ofc-cur-filterbar .ofc-vbtn,
    #ofc-syl-filterbar .ofc-vbtn { min-width: 0; height: auto; padding: 5px 12px; }
    @media (max-width: 580px) {
      .ofc-filter .ofc-vbtn,
      .ofc-filter .btn-ofc { flex: 1; min-width: 0; }
      #ofc-cur-filterbar .ofc-vbtn,
      #ofc-syl-filterbar .ofc-vbtn { flex: 0 0 auto; }
    }

    /* ─── Faculty profile cards ─── */
    .ofc-facgrid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 13px; padding: 16px 18px;
    }
    .ofc-faccard {
      border: 1.5px solid var(--brd); border-radius: 12px;
      padding: 15px; background: #fff;
      transition: transform .18s, box-shadow .18s;
      display: flex; flex-direction: column; gap: 11px;
    }
    .ofc-faccard:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(13, 71, 161, .12); }
    .ofc-fac-top { display: flex; align-items: center; gap: 11px; }
    .ofc-fac-av {
      width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center;
      font-size: .92rem; font-weight: 800; color: #fff;
      background: linear-gradient(135deg, var(--av1, #1565c0), var(--av2, #0a3578));
    }
    .ofc-fac-nm { font-size: .86rem; font-weight: 800; color: var(--navy); line-height: 1.2; }
    .ofc-fac-em { font-size: .67rem; color: var(--mut); word-break: break-all; }
    .ofc-fac-stats { display: flex; gap: 8px; }
    .ofc-fac-box { flex: 1; background: var(--nlight); border-radius: 9px; padding: 8px 10px; text-align: center; }
    .ofc-fac-box .v { font-size: 1.05rem; font-weight: 800; color: var(--navy); line-height: 1; }
    .ofc-fac-box .k { font-size: .58rem; color: var(--mut); font-weight: 600; margin-top: 2px; text-transform: uppercase; letter-spacing: .03em; }
    .ofc-wl { }
    .ofc-wl-top { display: flex; justify-content: space-between; align-items: center; font-size: .65rem; font-weight: 700; color: var(--mut); margin-bottom: 4px; }
    .ofc-wl-track { height: 7px; background: #eef1f7; border-radius: 100px; overflow: hidden; }
    .ofc-wl-fill { height: 100%; border-radius: 100px; transition: width .8s cubic-bezier(.2, .8, .2, 1); }

    /* ─── Mini bar chart ─── */
    .ofc-bars { display: flex; flex-direction: column; gap: 11px; padding: 18px 20px; }
    .ofc-bar-row { display: grid; grid-template-columns: 120px 1fr 52px; align-items: center; gap: 12px; }
    .ofc-bar-lbl { font-size: .76rem; font-weight: 700; color: var(--navy); }
    .ofc-bar-track { height: 22px; background: #f1f4fa; border-radius: 8px; overflow: hidden; position: relative; }
    .ofc-bar-fill {
      height: 100%; border-radius: 8px; width: 0;
      background: linear-gradient(90deg, var(--bar1, #1565c0), var(--bar2, #0a3578));
      transition: width 1s cubic-bezier(.2, .8, .2, 1);
    }
    .ofc-bar-val { font-size: .8rem; font-weight: 800; color: var(--navy); text-align: right; }

    /* ─── Donut (SVG) summary ─── */
    .ofc-donut-wrap { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 18px 20px; }
    .ofc-donut-legend { display: flex; flex-direction: column; gap: 7px; }
    .ofc-leg-item { display: flex; align-items: center; gap: 8px; font-size: .74rem; color: var(--txt); }
    .ofc-leg-dot { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
    .ofc-leg-v { font-weight: 800; color: var(--navy); margin-left: auto; }

    /* ─── Report cards ─── */
    .ofc-repgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 13px; }
    .ofc-repcard {
      border: 1.5px solid var(--brd); border-radius: 13px; padding: 16px;
      background: #fff; cursor: pointer; position: relative; overflow: hidden;
      transition: transform .18s, box-shadow .18s, border-color .18s;
    }
    .ofc-repcard:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(13, 71, 161, .14); border-color: var(--ofc-br); }
    .ofc-repcard .ric { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; margin-bottom: 10px; }
    .ofc-repcard .rt { font-size: .84rem; font-weight: 800; color: var(--navy); margin-bottom: 3px; }
    .ofc-repcard .rd { font-size: .68rem; color: var(--mut); line-height: 1.4; }

    /* ─── Notice board ─── */
    .ofc-notice {
      border: 1.5px solid var(--brd); border-radius: 12px;
      padding: 14px 16px; margin-bottom: 11px; background: #fff;
      border-left: 4px solid var(--np, var(--mut2));
      transition: transform .15s, box-shadow .15s;
    }
    .ofc-notice:hover { transform: translateX(3px); box-shadow: 0 6px 16px rgba(13, 71, 161, .1); }
    .ofc-notice-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-bottom: 5px; }
    .ofc-notice-t { font-size: .88rem; font-weight: 800; color: var(--navy); }
    .ofc-notice-b { font-size: .76rem; color: var(--mut); line-height: 1.5; }
    .ofc-notice-meta { display: flex; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
    .ofc-prio { font-size: .6rem; font-weight: 800; padding: 3px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .03em; }
    .ofc-prio-high { background: #fdeaea; color: #c0392b; }
    .ofc-prio-med { background: #fff3e0; color: #c75b00; }
    .ofc-prio-low { background: #e8f5ee; color: #1b7a3e; }
    .ofc-prio-type { background: var(--ofc-l); color: var(--ofc-d); }
    .ofc-notice-date { font-size: .65rem; color: var(--mut2); display: inline-flex; align-items: center; gap: 4px; }

    /* ─── Empty state ─── */
    .ofc-empty {
      text-align: center; padding: 50px 28px;
      background: #fff; border: 1.5px dashed var(--ofc-br); border-radius: 16px;
    }
    .ofc-empty .ei {
      width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 20px;
      background: linear-gradient(135deg, var(--ofc-l), var(--ofc-l2));
      display: flex; align-items: center; justify-content: center; font-size: 2rem;
      box-shadow: inset 0 0 0 1px var(--ofc-br);
    }
    .ofc-empty .et { font-size: 1rem; font-weight: 800; color: var(--ofc-dd); }
    .ofc-empty .es { font-size: .8rem; color: var(--mut); margin-top: 6px; max-width: 380px; margin-left: auto; margin-right: auto; line-height: 1.5; }
    .ofc-empty .ea { margin-top: 16px; }

    /* ─── Loading skeleton ─── */
    .ofc-skel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 13px; padding: 16px 18px; }
    .ofc-skel {
      border: 1.5px solid var(--brd); border-radius: 12px; padding: 14px 15px; height: 132px;
      background: linear-gradient(100deg, #f3f5fa 30%, #e9edf5 50%, #f3f5fa 70%);
      background-size: 200% 100%; animation: ofcShimmer 1.3s infinite;
    }
    @keyframes ofcShimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

    /* ─── Data table (office) ─── */
    .ofc-tbl { width: 100%; border-collapse: collapse; font-size: .78rem; }
    .ofc-tbl thead th {
      background: var(--ofc-l); color: var(--ofc-dd);
      padding: 10px 12px; text-align: left; font-weight: 800; font-size: .7rem;
      text-transform: uppercase; letter-spacing: .03em;
      border-bottom: 2px solid var(--ofc-br); position: sticky; top: 0;
    }
    .ofc-tbl tbody td { padding: 10px 12px; border-bottom: 1px solid var(--brd); }
    .ofc-tbl tbody tr { transition: background .12s; }
    .ofc-tbl tbody tr:hover { background: var(--ofc-l); }

    /* ─── Section meta strip ─── */
    .ofc-summary {
      display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
      gap: 11px; margin-bottom: 16px;
    }
    .ofc-summary .si {
      background: #fff; border: 1.5px solid var(--brd); border-radius: 12px;
      padding: 12px 14px; display: flex; align-items: center; gap: 11px;
      box-shadow: 0 2px 6px rgba(0, 48, 135, .04);
      transition: transform .18s, box-shadow .18s;
    }
    .ofc-summary .si:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(13, 71, 161, .1); }
    .ofc-summary .si .ic { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.02rem; flex-shrink: 0; }
    .ofc-summary .si .v { font-size: 1.32rem; font-weight: 800; line-height: 1; }
    .ofc-summary .si .k { font-size: .66rem; color: var(--mut); font-weight: 700; margin-top: 2px; }

    /* ─── Mobile sidebar toggle ─── */
    #ofc-mtoggle {
      display: none; position: fixed; left: 12px; bottom: 16px; z-index: 320;
      width: 48px; height: 48px; border-radius: 14px; border: none; cursor: pointer;
      background: linear-gradient(135deg, #1565c0, #0a3578); color: #fff; font-size: 1.3rem;
      box-shadow: 0 8px 22px rgba(13, 71, 161, .4);
    }

    /* ─── Dashboard section layout helpers (Office only) ─── */
    .ofc-card .ofc-stats { padding: 16px 18px; }
    .ofc-dash-row2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
      align-items: start;
    }
    .ofc-dash-row2 .ofc-card { margin-bottom: 0; height: 100%; }
    .ofc-dash-row3 {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 16px;
      margin-bottom: 16px;
      align-items: start;
    }
    .ofc-dash-row3 .ofc-card { margin-bottom: 0; height: 100%; }
    .ofc-stat .lbl.text { font-size: .76rem; }
    .ofc-dash-bottom {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 16px;
      align-items: stretch;
    }
    .ofc-dash-bottom .ofc-card { margin-bottom: 0; height: 100%; display: flex; flex-direction: column; }
    .ofc-dash-bottom .ofc-card > div:last-child { flex: 1; }

    /* ─── Mini list rows (calendar summary + side lists) ─── */
    .ofc-mini-row {
      display: flex; align-items: center; justify-content: space-between; gap: 10px;
      padding: 7px 0; border-bottom: 1px solid var(--brd); font-size: .74rem;
    }
    .ofc-mini-row:last-child { border-bottom: none; }
    .ofc-mini-row .lbl {
      flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis;
      white-space: nowrap; color: var(--txt); font-weight: 600;
    }
    .ofc-mini-row .dt { color: var(--mut); font-weight: 700; white-space: nowrap; flex-shrink: 0; font-size: .68rem; }
    .ofc-mini-empty {
      display: flex; align-items: center; gap: 8px;
      padding: 9px 10px; color: var(--mut2); font-size: .71rem; font-weight: 600;
      background: var(--nlight); border-radius: 8px; border: 1px dashed var(--brd2);
    }
    .ofc-mini-empty::before { content: '—'; opacity: .5; flex-shrink: 0; }
    .ofc-cal-summary-block { margin-bottom: 16px; }
    .ofc-cal-summary-block:last-child { margin-bottom: 0; }
    .ofc-cal-summary-lbl {
      font-size: .66rem; font-weight: 800; color: var(--ofc-d); text-transform: uppercase;
      letter-spacing: .04em; margin-bottom: 6px; display: flex; align-items: center; gap: 5px;
    }

    /* ─── Examination countdown rows ─── */
    .ofc-exam-row {
      display: flex; align-items: center; justify-content: space-between; gap: 14px;
      padding: 12px 14px; border-radius: 10px; margin-bottom: 9px;
      border: 1.5px solid var(--brd); background: #fff;
      transition: transform .15s, box-shadow .15s;
    }
    .ofc-exam-row:last-child { margin-bottom: 0; }
    .ofc-exam-row:hover { transform: translateX(3px); box-shadow: 0 6px 16px rgba(13, 71, 161, .08); }
    .ofc-exam-row.pending { border-color: var(--obr); background: var(--obg); }
    .ofc-exam-name { font-size: .84rem; font-weight: 800; color: var(--navy); }
    .ofc-exam-date { font-size: .7rem; color: var(--mut); margin-top: 2px; }
    .ofc-exam-cd { text-align: right; flex-shrink: 0; }
    .ofc-exam-cd .num { font-size: 1.1rem; font-weight: 800; color: var(--org); line-height: 1; }
    .ofc-exam-cd .lbl { font-size: .6rem; color: var(--mut); font-weight: 700; white-space: nowrap; margin-top: 2px; }
    .ofc-exam-done {
      font-size: .68rem; font-weight: 800; color: var(--mut2); background: var(--nlight);
      padding: 5px 13px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
    }

    /* ─── Office Academic Calendar page layout ─── */
    .ofc-cal-layout {
      display: grid;
      grid-template-columns: minmax(320px, 1.35fr) minmax(280px, 1fr);
      gap: 16px;
      align-items: start;
    }
    .ofc-cal-nav { display: flex; align-items: center; gap: 6px; }
    .ofc-cal-legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: .68rem; color: var(--mut); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--brd); }
    .ofc-cal-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 4px; vertical-align: middle; }
    .ofc-cal-sidelists {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .ofc-cal-sidelists .ofc-card { margin-bottom: 0; }
    .ofc-cal-sidelists .full { grid-column: 1 / -1; }

    /* ─── Responsive ─── */
    @media (max-width: 1100px) {
      .ofc-dash-bottom { grid-template-columns: 1fr; }
      .ofc-dash-row3 { grid-template-columns: 1fr 1fr; }
      .ofc-dash-row3 .ofc-card:last-child { grid-column: 1 / -1; }
    }
    @media (max-width: 860px) {
      .ofc-dash-row2 { grid-template-columns: 1fr; }
      .ofc-dash-row3 { grid-template-columns: 1fr; }
      .ofc-dash-row3 .ofc-card:last-child { grid-column: auto; }
      .ofc-cal-layout { grid-template-columns: 1fr; }
    }
    @media (max-width: 560px) {
      .ofc-stats { grid-template-columns: repeat(2, 1fr); }
      .ofc-cal-sidelists { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .ofc-stats { grid-template-columns: 1fr; }
      .ofc-hero { padding: 16px 17px; }
      .ofc-hero-t { font-size: 1.1rem; }
      .ofc-subgrid, .ofc-facgrid, .ofc-skel-grid { grid-template-columns: 1fr; }
      body.ofc-active #ofc-mtoggle { display: flex; align-items: center; justify-content: center; }
      body.ofc-sb-open .sb { transform: translateX(0) !important; box-shadow: 0 0 60px rgba(0,0,0,.4); }
    }
