/* 3DPA Instructor App — unified item system, build 3.13.174 */
:root{
  --dpa164-navy:#082457;
  --dpa164-blue:#2865df;
  --dpa164-cyan:#14a9c4;
  --dpa164-ink:#102444;
  --dpa164-muted:#61718a;
  --dpa164-line:#d9e3ef;
  --dpa164-soft:#f4f7fb;
  --dpa164-white:#fff;
  --dpa164-shadow:0 14px 34px rgba(14,43,86,.09);
}

/* One visual system across every instructor screen. */
.dpa156-app{
  color:var(--dpa164-ink)!important;
  background:
    radial-gradient(circle at 0 0,rgba(40,101,223,.09),transparent 36rem),
    radial-gradient(circle at 100% 14%,rgba(20,169,196,.08),transparent 32rem),
    #edf3f9!important;
}
.dpa156-screen-header,
.dpa156-screen-card,
.dpa156-scan-card,
.dpa156-activity-card,
.dpa156-hours-card,
.dpa156-hours-summary>div,
.dpa156-hours-summary>a,
.dpa157-print-module,
.dpa157-print-request-card{
  border-color:var(--dpa164-line)!important;
  border-radius:22px!important;
  box-shadow:var(--dpa164-shadow)!important;
}
.dpa156-screen-header{
  min-height:82px!important;
  padding:16px 18px!important;
  background:rgba(255,255,255,.98)!important;
}
.dpa156-screen-header h2{font-size:25px!important;letter-spacing:-.025em!important}
.dpa156-screen-header p{font-size:13px!important;line-height:1.4!important}
.dpa156-screen-header>button{min-height:43px!important;padding:0 15px!important;font-size:12px!important}
.dpa156-screen-card{padding:18px!important;background:#fff!important;overflow:visible!important}

/* Unified bottom navigation. */
.dpa156-dock{
  width:min(calc(100% - 18px),760px)!important;
  padding:7px!important;
  border-radius:23px!important;
}
.dpa156-dock button{
  min-height:58px!important;
  border-radius:16px!important;
}
.dpa156-dock button>span:last-child{font-size:11px!important}
.dpa156-dock button.is-primary{min-height:70px!important;margin-top:-18px!important}
.dpa156-dock button.is-primary:not(.is-active){background:#fff!important;color:var(--dpa164-blue)!important}
.dpa156-dock button.is-primary.is-active{background:linear-gradient(135deg,var(--dpa164-navy),var(--dpa164-blue))!important;color:#fff!important}

/* ===== Home: item-based, no duplicate panels ===== */
.dpa164-home{width:100%;max-width:1320px;margin:0 auto;padding-bottom:18px}
.dpa164-hero{
  position:relative;
  overflow:hidden;
  padding:22px 24px 25px;
  border-radius:28px;
  color:#fff;
  background:linear-gradient(132deg,#061a45 0%,#164db7 58%,#13a5b9 100%);
  box-shadow:0 26px 62px rgba(6,34,88,.24);
}
.dpa164-hero:after{
  content:"";
  position:absolute;
  width:420px;height:420px;
  right:-180px;top:-260px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:50%;
  box-shadow:0 0 0 65px rgba(255,255,255,.035),0 0 0 132px rgba(255,255,255,.025);
}
.dpa164-topbar,.dpa164-greeting{position:relative;z-index:2}
.dpa164-topbar{display:flex;align-items:center;justify-content:space-between;gap:14px}
.dpa164-brand{display:flex;align-items:center;gap:10px;min-height:44px;padding:6px 12px;border:1px solid rgba(255,255,255,.22);border-radius:15px;background:rgba(255,255,255,.10)}
.dpa164-brand span{display:grid;place-items:center;width:42px;height:32px;border-radius:10px;background:#fff;color:#2055c7;font-size:12px;font-weight:950}
.dpa164-brand strong{font-size:14px;letter-spacing:.05em;text-transform:uppercase}
.dpa164-brand small{color:rgba(255,255,255,.68);font-size:9px}
.dpa164-account{display:flex;align-items:center;gap:8px}
.dpa164-account button,.dpa164-account a{
  display:flex;align-items:center;justify-content:center;gap:6px;
  min-width:76px;min-height:48px;padding:7px 10px;
  border:1px solid rgba(255,255,255,.24);border-radius:15px;
  background:rgba(255,255,255,.11);color:#fff!important;text-decoration:none!important;
  font-size:10px;font-weight:900;cursor:pointer;
}
.dpa164-account button.is-enabled{border-color:rgba(126,243,197,.65);background:rgba(14,130,93,.25)}
.dpa164-account .dpa156-icon{width:20px;height:20px}
.dpa164-account .is-logout{background:rgba(128,30,65,.30)}
.dpa164-greeting{display:flex;align-items:center;gap:18px;margin-top:34px}
.dpa164-avatar{position:relative;display:grid;place-items:center;width:88px;height:88px;flex:0 0 88px;overflow:hidden;border:3px solid rgba(255,255,255,.48);border-radius:26px;background:linear-gradient(135deg,#f2f7ff,#c6eeff);color:#1e56c8;box-shadow:0 15px 34px rgba(0,0,0,.18)}
.dpa164-avatar>span{position:absolute;width:66px;height:66px}.dpa164-avatar-image{position:relative;z-index:2;width:100%!important;height:100%!important;object-fit:cover!important}
.dpa164-greeting small{display:block;margin-bottom:6px;color:#bfeeff;font-size:11px;font-weight:900;letter-spacing:.15em}
.dpa164-greeting h1{margin:0 0 9px!important;color:#fff!important;font-size:clamp(34px,5vw,58px)!important;line-height:1!important;letter-spacing:-.04em!important}
.dpa164-greeting p{max-width:780px;margin:0;color:rgba(255,255,255,.84);font-size:15px;line-height:1.5}

.dpa164-items{margin-top:14px;padding:19px;border:1px solid var(--dpa164-line);border-radius:25px;background:#fff;box-shadow:var(--dpa164-shadow)}
.dpa164-items-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}
.dpa164-items-heading small{display:block;color:var(--dpa164-blue);font-size:10px;font-weight:950;letter-spacing:.14em}
.dpa164-items-heading h2{margin:4px 0 0!important;color:var(--dpa164-ink)!important;font-size:25px!important;line-height:1.1!important}
.dpa164-items-heading>span{padding:8px 12px;border-radius:999px;background:#edf3ff;color:#2a5ac6;font-size:12px;font-weight:850}
.dpa164-item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}
.dpa164-item{
  position:relative;display:grid;grid-template-columns:48px minmax(0,1fr) 20px;align-items:center;gap:12px;
  min-height:118px;padding:15px;border:1px solid var(--dpa164-line);border-radius:20px;
  background:linear-gradient(145deg,#fff,#f8fbff);color:var(--dpa164-ink);text-align:left;
  box-shadow:0 8px 22px rgba(17,45,92,.055);cursor:pointer;
}
.dpa164-item:hover{border-color:#aec4ee;transform:translateY(-1px)}
.dpa164-item.is-wide{grid-column:1/-1;grid-template-columns:54px minmax(0,1fr) auto 20px;min-height:104px}
.dpa164-item.has-alert{border-color:#f0b7ba;background:linear-gradient(145deg,#fff,#fff7f7)}
.dpa164-item.is-live{border-color:#a9e2cb;background:linear-gradient(145deg,#fff,#f3fff9)}
.dpa164-item-icon{display:grid;place-items:center;width:48px;height:48px;padding:10px;border-radius:15px;background:linear-gradient(135deg,var(--dpa164-navy),var(--dpa164-blue));color:#fff}
.dpa164-item.is-wide .dpa164-item-icon{width:54px;height:54px}
.dpa164-item-icon .dpa156-icon{width:100%;height:100%}
.dpa164-item-copy{display:flex;min-width:0;flex-direction:column}
.dpa164-item-copy small{color:var(--dpa164-blue);font-size:9px;font-weight:950;letter-spacing:.13em}
.dpa164-item-copy strong{margin-top:6px;color:var(--dpa164-ink);font-size:17px;line-height:1.25}
.dpa164-item-copy em{margin-top:4px;overflow:hidden;color:var(--dpa164-muted);font-size:12px;font-style:normal;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}
.dpa164-item>b{padding:7px 10px;border-radius:999px;background:#eef3fa;color:#53647e;font-size:11px}
.dpa164-item>i{color:var(--dpa164-blue);font-size:24px;font-style:normal;font-weight:600}

/* ===== Messages: one item, one conversation ===== */
.dpa164-messages-screen{padding:0!important;overflow:visible!important;background:transparent!important;box-shadow:none!important;border:0!important}
.dpa164-messages{width:100%;min-width:0;border:1px solid var(--dpa164-line);border-radius:24px;background:#f4f7fb;box-shadow:var(--dpa164-shadow);overflow:hidden}
.dpa164-message-command{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border-bottom:1px solid var(--dpa164-line);background:linear-gradient(145deg,#fff,#f7faff)}
.dpa164-message-command small,.dpa164-compose-heading small,.dpa164-list-heading small,.dpa164-thread-header small{display:block;color:var(--dpa164-blue);font-size:9px;font-weight:950;letter-spacing:.14em}
.dpa164-message-command h2{margin:4px 0!important;color:var(--dpa164-ink)!important;font-size:25px!important;line-height:1.1!important}
.dpa164-message-command p{margin:0;color:var(--dpa164-muted);font-size:12px;line-height:1.45}
.dpa164-message-tabs{display:grid;grid-template-columns:repeat(3,minmax(110px,1fr));gap:7px;padding:6px;border:1px solid #d9e3ef;border-radius:16px;background:#edf2f8}
.dpa164-message-tabs button{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;padding:7px 10px;border:0;border-radius:12px;background:transparent;color:#5e6c82;font-size:11px;font-weight:900;cursor:pointer}
.dpa164-message-tabs button.is-active{background:#fff;color:#2458cf;box-shadow:0 6px 17px rgba(22,54,112,.11)}
.dpa164-message-tabs button b{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:999px;background:#dce5f1;color:#53637b;font-size:10px}
.dpa164-message-tabs button em{position:absolute;right:4px;top:-7px;padding:3px 6px;border-radius:999px;background:#d4232f;color:#fff;font-size:8px;font-style:normal}
.dpa164-notice{padding:10px 16px;background:#effbf5;color:#176a4e}.dpa164-notice .notice{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}.dpa164-notice p{margin:0!important}
.dpa164-message-section{padding:14px}.dpa164-message-section[hidden]{display:none!important}
.dpa164-message-layout{display:grid;grid-template-columns:minmax(285px,360px) minmax(0,1fr);gap:13px;align-items:start}
.dpa164-thread-list,.dpa164-thread-stage,.dpa164-compose{min-width:0;border:1px solid var(--dpa164-line);border-radius:19px;background:#fff;box-shadow:0 8px 22px rgba(17,45,92,.055)}
.dpa164-thread-list{overflow:hidden}
.dpa164-list-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 15px;border-bottom:1px solid var(--dpa164-line);background:#fbfdff}
.dpa164-list-heading h3,.dpa164-compose-heading h3{margin:3px 0 0!important;color:var(--dpa164-ink)!important;font-size:20px!important}
.dpa164-list-heading>button{display:grid;place-items:center;width:38px;height:38px;border:1px solid var(--dpa164-line);border-radius:12px;background:#fff;color:var(--dpa164-blue);font-size:22px;cursor:pointer}
.dpa164-thread-items{display:flex;max-height:630px;flex-direction:column;gap:8px;padding:10px;overflow-y:auto;overscroll-behavior:contain}
.dpa164-thread-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;width:100%;min-height:96px;padding:11px;border:1px solid #e0e8f2;border-radius:16px;background:#fff;color:var(--dpa164-ink);text-align:left;cursor:pointer}
.dpa164-thread-item:hover,.dpa164-thread-item.is-selected{border-color:#9eb8ef;background:#f5f8ff}
.dpa164-thread-item.has-unread{border-color:#e9adb2;background:#fff8f8}
.dpa164-thread-item__icon{display:grid;place-items:center;width:42px;height:42px;padding:9px;border-radius:13px;background:#edf3ff;color:#245bd6}.dpa164-thread-item__icon .dpa156-icon{width:100%;height:100%}
.dpa164-thread-item__copy{display:flex;min-width:0;flex-direction:column}.dpa164-thread-item__copy strong{overflow:hidden;font-size:14px;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}.dpa164-thread-item__copy span{margin-top:4px;overflow:hidden;color:#52647d;font-size:11px;line-height:1.35;white-space:nowrap;text-overflow:ellipsis}.dpa164-thread-item__copy small{margin-top:5px;color:#7a8799;font-size:9px}
.dpa164-thread-item__state{display:flex;align-items:flex-end;flex-direction:column;gap:5px}.dpa164-thread-item__state b{padding:3px 6px;border-radius:999px;background:#d4232f;color:#fff;font-size:8px}.dpa164-thread-item__state em{padding:3px 6px;border-radius:999px;background:#edf2f8;color:#5b6b83;font-size:8px;font-style:normal}.dpa164-thread-item__state em.is-high{background:#fee8e8;color:#b4232d}.dpa164-thread-item__state i{color:#245bd6;font-size:22px;font-style:normal}
.dpa164-thread-stage{min-height:590px;padding:0;overflow:hidden}
.dpa164-thread-placeholder{display:flex;min-height:590px;align-items:center;justify-content:center;flex-direction:column;gap:8px;padding:28px;color:var(--dpa164-muted);text-align:center}.dpa164-thread-placeholder>span{display:grid;place-items:center;width:62px;height:62px;padding:15px;border-radius:19px;background:#edf3ff;color:#245bd6}.dpa164-thread-placeholder .dpa156-icon{width:100%;height:100%}.dpa164-thread-placeholder strong{color:var(--dpa164-ink);font-size:20px}.dpa164-thread-placeholder small{max-width:360px;font-size:12px;line-height:1.5}
.dpa164-thread-panel[hidden]{display:none!important}.dpa164-thread-panel{display:flex;min-height:590px;flex-direction:column}
.dpa164-thread-header{display:flex;align-items:flex-start;gap:12px;padding:15px 16px;border-bottom:1px solid var(--dpa164-line);background:#fbfdff}.dpa164-thread-back{display:none;min-width:68px;min-height:38px;border:1px solid var(--dpa164-line);border-radius:11px;background:#fff;color:#2458cf;font-size:11px;font-weight:900;cursor:pointer}.dpa164-thread-header>div{min-width:0}.dpa164-thread-header h3{margin:4px 0 8px!important;color:var(--dpa164-ink)!important;font-size:21px!important;line-height:1.25!important}.dpa164-thread-tags{display:flex;flex-wrap:wrap;gap:5px}.dpa164-badge{display:inline-flex;align-items:center;min-height:25px;padding:3px 8px;border-radius:999px;background:#edf2f8;color:#52627a;font-size:9px;font-weight:850}.dpa164-badge.is-high{background:#fee7e7;color:#b4232d}.dpa164-badge.is-normal{background:#e8f0ff;color:#2457ca}.dpa164-badge.is-low{background:#edf1f5;color:#566477}.dpa164-badge.is-category{background:#fff4cf;color:#805c0e}.dpa164-badge.is-request{background:#e8f8fb;color:#087287}
.dpa164-thread-stream{display:flex;flex:1;flex-direction:column;gap:10px;padding:15px;background:#f5f8fc}
.dpa164-message-bubble{max-width:78%;padding:11px 13px;border:1px solid #dce5ef;border-radius:16px;background:#fff;box-shadow:0 5px 15px rgba(18,47,91,.045)}.dpa164-message-bubble.is-hub{align-self:flex-start}.dpa164-message-bubble.is-instructor{align-self:flex-end;border-color:#b7cef6;background:#eaf1ff}.dpa164-message-bubble__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:5px}.dpa164-message-bubble__meta strong{font-size:10px}.dpa164-message-bubble__meta span{color:#718096;font-size:9px}.dpa164-message-bubble__body{color:#243a59;font-size:13px;line-height:1.55}.dpa164-message-bubble__body p{margin:0 0 7px!important}.dpa164-message-bubble__body p:last-child{margin-bottom:0!important}.dpa164-attachment{display:inline-flex;margin-top:8px;padding:6px 9px;border-radius:9px;background:#eef3fb;color:#2458cf!important;text-decoration:none!important;font-size:10px;font-weight:850}
.dpa164-reply{padding:13px 15px;border-top:1px solid var(--dpa164-line);background:#fff}.dpa164-reply label>span,.dpa164-compose-grid label>span,.dpa164-file>span{display:block;margin-bottom:5px;color:#344963;font-size:10px;font-weight:900;letter-spacing:.03em}.dpa164-reply textarea,.dpa164-compose input[type=text],.dpa164-compose select,.dpa164-compose textarea{box-sizing:border-box;width:100%;min-height:44px;padding:10px 12px;border:1px solid #d4deeb;border-radius:12px;background:#fff;color:var(--dpa164-ink);font-size:13px;box-shadow:none}.dpa164-reply textarea{min-height:88px;resize:vertical}.dpa164-reply-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-top:9px}.dpa164-file{min-width:0;flex:1}.dpa164-file input[type=file]{box-sizing:border-box;width:100%;padding:8px;border:1px dashed #c8d5e5;border-radius:11px;background:#f9fbfe;font-size:10px}.dpa164-reply button,.dpa164-send{flex:0 0 auto;min-height:43px;padding:0 17px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--dpa164-navy),var(--dpa164-blue));color:#fff;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 10px 22px rgba(36,91,215,.22)}
.dpa164-compose{padding:18px}.dpa164-compose-heading{margin-bottom:14px}.dpa164-compose-heading p{margin:5px 0 0;color:var(--dpa164-muted);font-size:12px}.dpa164-compose-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dpa164-compose-grid .is-wide{grid-column:1/-1}.dpa164-compose textarea{min-height:150px;resize:vertical}.dpa164-send{margin-top:13px;min-width:150px}
.dpa164-empty{display:flex;min-height:150px;align-items:center;justify-content:center;flex-direction:column;gap:5px;padding:20px;color:var(--dpa164-muted);text-align:center}.dpa164-empty strong{color:var(--dpa164-ink);font-size:16px}.dpa164-empty span{font-size:11px;line-height:1.45}

/* Existing Print and Hours screens use the same scale and card rhythm. */
.dpa156-print-screen .dpa157-print-module{padding:0!important}
.dpa156-print-screen .dpa157-print-intro,.dpa156-print-screen .dpa157-new-request,.dpa156-print-screen .dpa157-print-request-card,.dpa156-print-screen .dpa157-print-history-heading{border-radius:19px!important}
.dpa156-print-screen .dpa157-print-request-card h5{font-size:17px!important;line-height:1.3!important}
.dpa156-print-screen .dpa157-print-request-card dl dt,.dpa156-print-screen .dpa157-print-request-card dl dd{font-size:12px!important}
.dpa156-hours-summary small{font-size:9px!important}.dpa156-hours-summary strong{font-size:25px!important}.dpa156-hours-summary span{font-size:11px!important;line-height:1.4!important}
.dpa156-hours-list>div{min-height:112px!important;padding:14px!important;border-radius:17px!important}.dpa156-hours-list strong{font-size:15px!important}.dpa156-hours-list small,.dpa156-hours-list em{font-size:11px!important}

@media(max-width:900px){
  .dpa164-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dpa164-message-layout{grid-template-columns:minmax(245px,310px) minmax(0,1fr)}
}

@media(max-width:700px){
  .dpa156-app{padding-bottom:calc(86px + env(safe-area-inset-bottom))!important}
  .dpa156-screen-header{margin:8px!important;min-height:72px!important;padding:12px!important;border-radius:18px!important}
  .dpa156-screen-header h2{font-size:21px!important}.dpa156-screen-header p{display:none!important}.dpa156-screen-header>button{min-width:62px!important}
  .dpa156-screen-card{margin:0 8px!important;width:calc(100% - 16px)!important;padding:14px!important;border-radius:19px!important}
  .dpa164-messages-screen{margin:0 8px!important;width:calc(100% - 16px)!important;padding:0!important}

  .dpa164-hero{padding:14px 12px 18px;border-radius:0 0 25px 25px}
  .dpa164-topbar{align-items:flex-start;gap:8px}
  .dpa164-brand{min-height:39px;padding:4px 8px}.dpa164-brand span{width:38px;height:29px}.dpa164-brand strong{font-size:11px}.dpa164-brand small{display:none}
  .dpa164-account{gap:5px}.dpa164-account button,.dpa164-account a{min-width:55px;min-height:45px;padding:5px;border-radius:13px;font-size:8px;flex-direction:column;gap:2px}.dpa164-account .dpa156-icon{width:18px;height:18px}
  .dpa164-greeting{align-items:flex-start;gap:11px;margin-top:27px}.dpa164-avatar{width:68px;height:68px;flex-basis:68px;border-radius:20px}.dpa164-avatar>span{width:51px;height:51px}.dpa164-greeting small{font-size:9px}.dpa164-greeting h1{font-size:clamp(28px,8.5vw,38px)!important;line-height:1.04!important}.dpa164-greeting p{font-size:12px;line-height:1.45}
  .dpa164-items{margin:10px 8px 0;padding:14px;border-radius:20px}.dpa164-items-heading h2{font-size:22px!important}.dpa164-items-heading>span{font-size:10px}
  .dpa164-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dpa164-item{grid-template-columns:42px minmax(0,1fr);align-content:start;min-height:132px;padding:12px;border-radius:18px}.dpa164-item.is-wide{grid-template-columns:48px minmax(0,1fr) auto;min-height:104px}.dpa164-item-icon{width:42px;height:42px;padding:8px}.dpa164-item.is-wide .dpa164-item-icon{width:48px;height:48px}.dpa164-item-copy small{font-size:8px}.dpa164-item-copy strong{font-size:15px}.dpa164-item-copy em{font-size:11px;white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dpa164-item>i{position:absolute;right:10px;bottom:8px;font-size:20px}.dpa164-item>b{font-size:9px;padding:6px 8px}

  .dpa164-message-command{display:block;padding:14px}.dpa164-message-command h2{font-size:22px!important}.dpa164-message-command p{font-size:11px}.dpa164-message-tabs{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}.dpa164-message-tabs button{min-width:0;min-height:48px;padding:6px;font-size:10px;flex-direction:column;gap:3px}.dpa164-message-tabs button b{min-width:22px;height:22px}
  .dpa164-message-section{padding:10px}.dpa164-message-layout{display:block}.dpa164-thread-list,.dpa164-thread-stage,.dpa164-compose{border-radius:17px}.dpa164-thread-items{max-height:none;padding:9px}.dpa164-thread-item{min-height:103px;padding:11px}.dpa164-thread-item__copy strong{font-size:14px}.dpa164-thread-item__copy span{font-size:11px}.dpa164-thread-stage{display:none;min-height:0}.dpa164-message-section.is-thread-open .dpa164-thread-list{display:none}.dpa164-message-section.is-thread-open .dpa164-thread-stage{display:block}.dpa164-thread-placeholder{display:none}.dpa164-thread-panel{min-height:0}.dpa164-thread-back{display:inline-flex;align-items:center;justify-content:center}.dpa164-thread-header{padding:12px}.dpa164-thread-header h3{font-size:19px!important}.dpa164-thread-stream{padding:11px}.dpa164-message-bubble{max-width:100%;font-size:13px}.dpa164-message-bubble__body{font-size:13px}.dpa164-reply{padding:11px}.dpa164-reply textarea{font-size:14px}.dpa164-reply-actions{align-items:stretch;flex-direction:column}.dpa164-reply button{width:100%;font-size:12px}.dpa164-compose{padding:14px}.dpa164-compose-grid{grid-template-columns:1fr}.dpa164-compose-grid .is-wide{grid-column:auto}.dpa164-compose input[type=text],.dpa164-compose select,.dpa164-compose textarea{font-size:14px}.dpa164-send{width:100%;font-size:12px}

  .dpa156-hours-summary{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;padding:0 8px!important}.dpa156-hours-summary>div,.dpa156-hours-summary>a{min-height:118px!important;padding:13px!important}.dpa156-hours-summary small{font-size:9px!important}.dpa156-hours-summary strong{font-size:22px!important}.dpa156-hours-summary span{font-size:12px!important}
  .dpa156-hours-list>div{grid-template-columns:minmax(0,1fr) 72px 72px!important;min-height:122px!important;padding:14px!important;gap:10px!important}.dpa156-hours-list strong{font-size:15px!important}.dpa156-hours-list small,.dpa156-hours-list em{font-size:11px!important}
  .dpa156-print-screen .dpa157-print-request-card{padding:15px!important}.dpa156-print-screen .dpa157-print-request-card h5{font-size:17px!important}
}

@media(max-width:355px){
  .dpa164-item-grid{grid-template-columns:1fr}.dpa164-item.is-wide{grid-column:auto}.dpa164-account span{display:none}.dpa164-account button,.dpa164-account a{min-width:42px}
}

/* ===== Build 3.13.174 — persistent native application shell ===== */
.dpa156-app.dpa165-native-shell{
  display:flex!important;
  flex-direction:column!important;
  padding:0 0 calc(78px + env(safe-area-inset-bottom))!important;
  background:#eef3f8!important;
}
.dpa165-appbar{
  position:relative;
  z-index:2147483105;
  display:flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:78px;
  padding:calc(10px + env(safe-area-inset-top)) max(14px,env(safe-area-inset-left)) 10px max(14px,env(safe-area-inset-right));
  border-bottom:1px solid rgba(193,207,225,.92);
  background:rgba(255,255,255,.97);
  box-shadow:0 8px 24px rgba(18,48,91,.08);
  backdrop-filter:blur(22px);
  -webkit-backdrop-filter:blur(22px);
}
.dpa165-appbar-identity{
  display:flex;
  min-width:0;
  flex:1;
  align-items:center;
  gap:11px;
  padding:0;
  border:0;
  background:transparent;
  color:#102444;
  text-align:left;
  cursor:pointer;
}
.dpa165-appbar-avatar,
.dpa165-account-avatar{
  position:relative;
  display:grid;
  place-items:center;
  flex:0 0 auto;
  overflow:hidden;
  border:2px solid #c8d8ec;
  border-radius:16px;
  background:linear-gradient(135deg,#eef5ff,#c9eff9);
  color:#245bd5;
}
.dpa165-appbar-avatar{width:48px;height:48px}
.dpa165-account-avatar{width:76px;height:76px;border-radius:23px}
.dpa165-appbar-avatar>span,.dpa165-account-avatar>span{position:absolute;width:76%;height:76%}
.dpa165-appbar-avatar-image{
  position:relative;
  z-index:2;
  display:block;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.dpa165-appbar-copy{display:flex;min-width:0;flex-direction:column}
.dpa165-appbar-copy small{color:#2a62d7;font-size:9px;font-weight:950;letter-spacing:.13em}
.dpa165-appbar-copy strong{margin-top:3px;overflow:hidden;color:#102444;font-size:16px;line-height:1.2;white-space:nowrap;text-overflow:ellipsis}
.dpa165-appbar-copy em{margin-top:2px;overflow:hidden;color:#687990;font-size:11px;font-style:normal;white-space:nowrap;text-overflow:ellipsis}
.dpa165-appbar-actions{display:flex;flex:0 0 auto;align-items:center;gap:7px}
.dpa165-appbar-action{
  display:flex!important;
  min-width:62px;
  min-height:50px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:3px;
  padding:5px 8px;
  border:1px solid #d8e2ef;
  border-radius:15px;
  background:#f8fbff;
  color:#24466f!important;
  text-decoration:none!important;
  font-size:9px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
}
.dpa165-appbar-action .dpa156-icon{width:21px;height:21px;color:#285fd4}
.dpa165-appbar-action.is-enabled{border-color:#9fdcc4;background:#effbf5;color:#176a4e!important}
.dpa165-appbar-action.is-enabled .dpa156-icon{color:#14825e}
.dpa165-appbar-action.is-logout{border-color:#efc9cf;background:#fff5f6;color:#9f2638!important}
.dpa165-appbar-action.is-logout .dpa156-icon{color:#b72c41}

.dpa165-native-shell .dpa156-screens{
  flex:1 1 auto!important;
  min-height:0!important;
  height:auto!important;
  width:min(100%,1320px)!important;
  padding:12px 14px 0!important;
}
.dpa165-native-shell .dpa156-screen{
  min-height:0!important;
  height:100%!important;
  padding:0 0 16px!important;
  overflow-y:auto!important;
  overscroll-behavior:contain!important;
  -webkit-overflow-scrolling:touch!important;
}
.dpa165-native-shell .dpa156-screen.is-active{
  display:flex!important;
  flex-direction:column!important;
  animation:dpa165-native-in .22s cubic-bezier(.2,.75,.3,1)!important;
}
@keyframes dpa165-native-in{from{opacity:.35;transform:translateX(16px)}to{opacity:1;transform:none}}

/* The signed-in identity remains visible; the old duplicate top row is removed. */
.dpa165-native-shell .dpa164-topbar{display:none!important}
.dpa165-native-shell .dpa164-home{max-width:none!important;padding-bottom:6px!important}
.dpa165-native-shell .dpa164-hero{
  min-height:0!important;
  padding:20px 22px!important;
  border-radius:24px!important;
}
.dpa165-native-shell .dpa164-greeting{margin-top:0!important}
.dpa165-native-shell .dpa164-greeting h1{font-size:clamp(31px,4vw,48px)!important}
.dpa165-native-shell .dpa164-items{margin-top:12px!important;padding:16px!important;border-radius:22px!important}
.dpa165-native-shell .dpa164-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.dpa165-native-shell .dpa164-item.is-wide{grid-column:1/-1!important}
.dpa165-native-shell .dpa164-item[data-dpa-push-toggle]{display:none!important}

/* Screen titles behave like native section headers, not web page cards. */
.dpa165-native-shell .dpa156-screen-header{
  position:relative!important;
  top:auto!important;
  flex:0 0 auto!important;
  min-height:68px!important;
  margin:0 0 10px!important;
  padding:12px 14px!important;
  border:0!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 7px 20px rgba(18,48,91,.06)!important;
}
.dpa165-native-shell .dpa156-screen-header-icon{width:44px!important;height:44px!important;flex-basis:44px!important;border-radius:14px!important}
.dpa165-native-shell .dpa156-screen-header h2{font-size:22px!important}
.dpa165-native-shell .dpa156-screen-header p{font-size:12px!important}
.dpa165-native-shell .dpa156-screen-card{
  flex:0 0 auto!important;
  margin:0!important;
  width:100%!important;
  padding:15px!important;
  border-radius:20px!important;
  box-shadow:0 8px 24px rgba(18,48,91,.07)!important;
}

/* A real tab bar: all destinations have equal visual weight. */
.dpa165-native-shell .dpa156-dock{
  bottom:0!important;
  width:100%!important;
  max-width:none!important;
  min-height:calc(70px + env(safe-area-inset-bottom))!important;
  padding:7px max(10px,env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;
  border:0!important;
  border-top:1px solid rgba(193,207,225,.94)!important;
  border-radius:0!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 -8px 24px rgba(18,48,91,.10)!important;
}
.dpa165-native-shell .dpa156-dock button,
.dpa165-native-shell .dpa156-dock button.is-primary,
.dpa165-native-shell .dpa156-dock button.is-primary:not(.is-active){
  min-height:56px!important;
  margin:0!important;
  border:0!important;
  border-radius:14px!important;
  background:transparent!important;
  color:#6c7b90!important;
  box-shadow:none!important;
}
.dpa165-native-shell .dpa156-dock button.is-active,
.dpa165-native-shell .dpa156-dock button.is-primary.is-active{
  background:#eaf1ff!important;
  color:#245bd5!important;
  box-shadow:none!important;
}
.dpa165-native-shell .dpa156-dock button.is-active .dpa156-icon{transform:translateY(-1px)}
.dpa165-native-shell .dpa156-dock button>span:last-child{font-size:10px!important}

/* Messages fill the available screen instead of being clipped inside stacked cards. */
.dpa165-native-shell #dpa156-messages{overflow:hidden!important}
.dpa165-native-shell #dpa156-messages .dpa156-screen-header{flex:0 0 auto!important}
.dpa165-native-shell .dpa164-messages-screen{
  display:flex!important;
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.dpa165-native-shell .dpa164-messages{
  display:flex!important;
  flex:1 1 auto!important;
  min-height:0!important;
  flex-direction:column!important;
  height:100%!important;
}
.dpa165-native-shell .dpa164-message-command{flex:0 0 auto!important}
.dpa165-native-shell .dpa164-message-section{
  flex:1 1 auto!important;
  min-height:0!important;
  overflow:hidden!important;
}
.dpa165-native-shell .dpa164-message-section.is-active{display:flex!important;flex-direction:column!important}
.dpa165-native-shell .dpa164-message-layout{flex:1 1 auto!important;min-height:0!important;height:100%!important}
.dpa165-native-shell .dpa164-thread-list,
.dpa165-native-shell .dpa164-thread-stage{min-height:0!important;height:100%!important}
.dpa165-native-shell .dpa164-thread-list{display:flex!important;flex-direction:column!important}
.dpa165-native-shell .dpa164-thread-items{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}
.dpa165-native-shell .dpa164-thread-stage{overflow:hidden!important}
.dpa165-native-shell .dpa164-thread-panel{height:100%!important;min-height:0!important}
.dpa165-native-shell .dpa164-thread-stream{min-height:0!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important}

/* Native profile sheet. */
.dpa165-account-sheet[hidden]{display:none!important}
.dpa165-account-sheet{position:fixed;z-index:2147483990;inset:0;display:flex;align-items:flex-end;justify-content:center}
.dpa165-account-backdrop{position:absolute;inset:0;border:0;background:rgba(6,20,49,.48);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.dpa165-account-panel{
  position:relative;
  z-index:2;
  width:min(100%,520px);
  max-height:82dvh;
  padding:10px 18px calc(20px + env(safe-area-inset-bottom));
  overflow-y:auto;
  border-radius:26px 26px 0 0;
  background:#fff;
  box-shadow:0 -24px 60px rgba(6,28,66,.28);
  animation:dpa165-sheet-in .22s cubic-bezier(.2,.75,.3,1);
}
@keyframes dpa165-sheet-in{from{transform:translateY(100%)}to{transform:none}}
.dpa165-account-handle{width:44px;height:5px;margin:0 auto 13px;border-radius:999px;background:#d4deea}
.dpa165-account-close{position:absolute;right:14px;top:16px;display:grid;place-items:center;width:38px;height:38px;border:0;border-radius:12px;background:#eef3f8;color:#44566f;font-size:24px;cursor:pointer}
.dpa165-account-person{display:flex;align-items:center;gap:14px;padding:10px 4px 18px;border-bottom:1px solid #e0e7f0}
.dpa165-account-person small{color:#2861d5;font-size:9px;font-weight:950;letter-spacing:.13em}
.dpa165-account-person h2{margin:4px 0!important;color:#102444!important;font-size:24px!important}
.dpa165-account-person p{margin:0;color:#687990;font-size:12px}
.dpa165-account-actions{display:grid;gap:9px;margin-top:15px}
.dpa165-account-actions button,.dpa165-account-actions a{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;min-height:70px;padding:11px 13px;border:1px solid #dbe4ef;border-radius:17px;background:#f9fbfe;color:#173454!important;text-align:left;text-decoration:none!important;cursor:pointer}
.dpa165-account-actions .dpa156-icon{width:25px;height:25px;color:#2861d5}
.dpa165-account-actions span{display:flex;min-width:0;flex-direction:column}
.dpa165-account-actions strong{font-size:14px}.dpa165-account-actions small{margin-top:3px;color:#708097;font-size:11px}
.dpa165-account-actions .is-logout{border-color:#efcbd0;background:#fff6f7;color:#9d2436!important}.dpa165-account-actions .is-logout .dpa156-icon{color:#b72c41}
body.dpa165-sheet-open{overflow:hidden!important}

@media(max-width:700px){
  .dpa156-app.dpa165-native-shell{padding-bottom:calc(72px + env(safe-area-inset-bottom))!important}
  .dpa165-appbar{min-height:72px;gap:8px;padding:calc(7px + env(safe-area-inset-top)) 8px 7px}
  .dpa165-appbar-avatar{width:44px;height:44px;border-radius:14px}
  .dpa165-appbar-identity{gap:8px}
  .dpa165-appbar-copy small{font-size:7px}
  .dpa165-appbar-copy strong{font-size:13px;max-width:128px}
  .dpa165-appbar-copy em{font-size:9px;max-width:128px}
  .dpa165-appbar-actions{gap:4px}
  .dpa165-appbar-action{min-width:45px;min-height:47px;padding:4px 3px;border-radius:13px;font-size:7px}
  .dpa165-appbar-action .dpa156-icon{width:18px;height:18px}
  .dpa165-native-shell .dpa156-screens{padding:8px 8px 0!important}
  .dpa165-native-shell .dpa164-hero{padding:17px 14px!important;border-radius:20px!important}
  .dpa165-native-shell .dpa164-greeting{gap:12px!important}
  .dpa165-native-shell .dpa164-avatar{width:72px!important;height:72px!important;flex-basis:72px!important}
  .dpa165-native-shell .dpa164-greeting h1{font-size:28px!important}
  .dpa165-native-shell .dpa164-greeting p{font-size:13px!important;line-height:1.45!important}
  .dpa165-native-shell .dpa164-items{margin:9px 0 0!important;padding:12px!important;border-radius:18px!important}
  .dpa165-native-shell .dpa164-items-heading h2{font-size:20px!important}
  .dpa165-native-shell .dpa164-item-grid{grid-template-columns:1fr!important;gap:8px!important}
  .dpa165-native-shell .dpa164-item,
  .dpa165-native-shell .dpa164-item.is-wide{
    grid-column:auto!important;
    grid-template-columns:46px minmax(0,1fr) auto!important;
    min-height:82px!important;
    align-items:center!important;
    align-content:center!important;
    padding:11px 12px!important;
    border-radius:16px!important;
  }
  .dpa165-native-shell .dpa164-item-icon,
  .dpa165-native-shell .dpa164-item.is-wide .dpa164-item-icon{width:46px!important;height:46px!important;padding:9px!important}
  .dpa165-native-shell .dpa164-item-copy small{font-size:8px!important}
  .dpa165-native-shell .dpa164-item-copy strong{font-size:15px!important;margin-top:3px!important}
  .dpa165-native-shell .dpa164-item-copy em{font-size:11px!important;margin-top:2px!important;-webkit-line-clamp:1!important}
  .dpa165-native-shell .dpa164-item>b{display:none!important}
  .dpa165-native-shell .dpa164-item>i{position:static!important;font-size:23px!important}
  .dpa165-native-shell .dpa156-screen-header{margin:0 0 8px!important;padding:10px 11px!important;border-radius:16px!important}
  .dpa165-native-shell .dpa156-screen-header p{display:block!important;font-size:10px!important}
  .dpa165-native-shell .dpa156-screen-card{padding:11px!important;border-radius:17px!important}
  .dpa165-native-shell .dpa156-dock{min-height:calc(66px + env(safe-area-inset-bottom))!important;padding-top:5px!important}
  .dpa165-native-shell .dpa156-dock button,
  .dpa165-native-shell .dpa156-dock button.is-primary{min-height:51px!important;border-radius:12px!important}
  .dpa165-native-shell .dpa156-dock .dpa156-icon{width:23px!important;height:23px!important}

  .dpa165-native-shell #dpa156-messages .dpa156-screen-header{display:none!important}
  .dpa165-native-shell .dpa164-messages-screen{margin:0!important;width:100%!important}
  .dpa165-native-shell .dpa164-messages{border-radius:18px!important}
  .dpa165-native-shell .dpa164-message-command{padding:12px!important}
  .dpa165-native-shell .dpa164-message-command h2{font-size:19px!important}
  .dpa165-native-shell .dpa164-message-command p{display:none!important}
  .dpa165-native-shell .dpa164-message-tabs{margin-top:9px!important}
  .dpa165-native-shell .dpa164-message-section{padding:8px!important}
  .dpa165-native-shell .dpa164-message-layout{height:100%!important}
  .dpa165-native-shell .dpa164-thread-list,.dpa165-native-shell .dpa164-thread-stage{border-radius:15px!important}
  .dpa165-native-shell .dpa164-thread-item{min-height:88px!important}
  .dpa165-native-shell .dpa164-thread-item__copy strong{font-size:14px!important}
  .dpa165-native-shell .dpa164-thread-item__copy span{font-size:11px!important}
  .dpa165-native-shell .dpa164-thread-header{padding:10px!important}
  .dpa165-native-shell .dpa164-thread-header h3{font-size:18px!important}
  .dpa165-native-shell .dpa164-thread-stream{padding:9px!important}
  .dpa165-native-shell .dpa164-reply{padding:9px!important}
}

@media(max-width:390px){
  .dpa165-appbar-copy em{display:none}
  .dpa165-appbar-copy strong{max-width:108px;font-size:12px}
  .dpa165-appbar-action{min-width:42px}
  .dpa165-appbar-action span{font-size:6.5px}
}
.dpa165-account-info{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:12px;min-height:70px;padding:11px 13px;border:1px solid #dbe4ef;border-radius:17px;background:#f9fbfe;color:#173454}.dpa165-account-info .dpa156-icon{width:25px;height:25px;color:#2861d5}.dpa165-account-info span{display:flex;min-width:0;flex-direction:column}.dpa165-account-info strong{font-size:14px}.dpa165-account-info small{margin-top:3px;color:#708097;font-size:11px;line-height:1.4}
.dpa165-native-shell button:active,.dpa165-native-shell a:active{transform:scale(.98)}

/* ===== Build 3.13.174 — reliable message opening and instructor-only folders ===== */
.dpa166-message-tabs{
  grid-template-columns:repeat(4,minmax(96px,1fr))!important;
}
.dpa164-thread-item,
.dpa164-message-tabs button,
.dpa164-thread-back,
.dpa166-thread-actions button{
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
}
.dpa164-thread-item{
  position:relative;
  z-index:1;
  pointer-events:auto!important;
}
.dpa164-thread-item>*{pointer-events:none}
.dpa164-thread-item:active{transform:scale(.992);background:#eef4ff}
.dpa164-thread-item.is-archive .dpa164-thread-item__icon{background:#fff4d8;color:#95620b}
.dpa164-thread-item.is-deleted{border-style:dashed;background:#fbfcfe}
.dpa164-thread-item.is-deleted .dpa164-thread-item__icon{background:#f1f3f6;color:#68778d}
.dpa164-thread-header-copy{min-width:0;flex:1}
.dpa166-thread-actions{
  display:flex;
  flex:0 0 auto;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
  margin-left:auto;
}
.dpa166-thread-actions button{
  min-height:37px;
  padding:7px 10px;
  border:1px solid #ccd9ea;
  border-radius:11px;
  background:#fff;
  color:#2458cf;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.dpa166-thread-actions button:hover{background:#eef4ff}
.dpa166-thread-actions button.is-delete{border-color:#efc7cd;background:#fff6f7;color:#a42639}
.dpa166-thread-actions button:disabled{opacity:.58;cursor:wait}
.dpa166-folder-explainer{
  display:flex;
  flex:0 0 auto;
  align-items:flex-start;
  gap:8px;
  padding:10px 15px;
  border-bottom:1px solid #e1e8f1;
  background:#fff8df;
  color:#6f570d;
  font-size:10px;
  line-height:1.45;
}
.dpa166-folder-explainer strong{flex:0 0 auto}
.dpa166-folder-explainer span{color:#786b43}
.dpa164-thread-panel.is-deleted .dpa166-folder-explainer{background:#f3f5f8;color:#46566c}
.dpa166-action-status[hidden]{display:none!important}
.dpa166-action-status{
  padding:10px 15px;
  border-bottom:1px solid #cfe1d7;
  background:#effbf5;
  color:#176a4e;
  font-size:11px;
  font-weight:800;
}

@media(max-width:860px){
  .dpa164-thread-header{flex-wrap:wrap}
  .dpa166-thread-actions{width:100%;justify-content:flex-start;margin-left:80px}
}

@media(max-width:700px){
  .dpa166-message-tabs{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }
  .dpa166-message-tabs button{
    min-height:50px!important;
    padding:5px 3px!important;
    font-size:9px!important;
    line-height:1.1!important;
  }
  .dpa166-message-tabs button b{
    min-width:21px!important;
    height:21px!important;
    padding:0 4px!important;
    font-size:9px!important;
  }
  .dpa164-thread-header{
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    gap:10px!important;
    padding:11px!important;
  }
  .dpa164-thread-back{grid-column:1;grid-row:1;align-self:start}
  .dpa164-thread-header-copy{grid-column:2;grid-row:1}
  .dpa166-thread-actions{
    grid-column:1/-1;
    width:100%;
    margin:0!important;
    justify-content:stretch;
  }
  .dpa166-thread-actions button{
    flex:1 1 105px;
    min-height:42px;
    font-size:10px;
  }
  .dpa166-folder-explainer{
    display:block;
    padding:10px 12px;
    font-size:11px;
  }
  .dpa166-folder-explainer strong,.dpa166-folder-explainer span{display:block}
  .dpa166-folder-explainer span{margin-top:3px}
  .dpa164-message-section.is-thread-open .dpa164-thread-stage{
    display:flex!important;
    flex-direction:column!important;
  }
  .dpa164-thread-panel:not([hidden]){
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
  }
}

@media(max-width:390px){
  .dpa166-message-tabs button span{font-size:8px}
  .dpa166-message-tabs button em{right:-2px;font-size:7px}
}

/* ===== Build 3.13.174 — cache-safe message interaction and rotation ===== */
.dpa156-app.dpa165-native-shell{
  height:var(--dpa167-app-height,100dvh)!important;
  max-height:var(--dpa167-app-height,100dvh)!important;
}
.dpa164-thread-item{
  text-decoration:none!important;
  -webkit-user-select:none;
  user-select:none;
}
.dpa164-thread-item:visited{color:var(--dpa164-ink)!important}
.dpa164-thread-panel:target{
  display:flex!important;
  flex-direction:column!important;
}

/* No-JavaScript / stale-script fallback for modern iPhone browsers. */
@supports selector(.dpa164-message-section:has(.dpa164-thread-panel:target)){
  @media(max-width:700px){
    .dpa164-message-section:has(.dpa164-thread-panel:target) .dpa164-thread-list{display:none!important}
    .dpa164-message-section:has(.dpa164-thread-panel:target) .dpa164-thread-stage{display:flex!important;min-height:0!important;flex:1 1 auto!important}
    .dpa164-message-section:has(.dpa164-thread-panel:target) .dpa164-thread-placeholder{display:none!important}
  }
}

/* Landscape is a deliberate app layout, not a stretched portrait screen. */
@media (orientation:landscape) and (max-height:600px){
  .dpa156-app.dpa165-native-shell{
    padding-bottom:calc(56px + env(safe-area-inset-bottom))!important;
  }
  .dpa165-appbar{
    min-height:54px!important;
    padding:calc(4px + env(safe-area-inset-top)) max(9px,env(safe-area-inset-left)) 4px max(9px,env(safe-area-inset-right))!important;
  }
  .dpa165-appbar-avatar{width:38px!important;height:38px!important;border-radius:12px!important}
  .dpa165-appbar-copy small{font-size:7px!important}
  .dpa165-appbar-copy strong{font-size:12px!important;max-width:220px!important}
  .dpa165-appbar-copy em{display:none!important}
  .dpa165-appbar-action{min-width:48px!important;min-height:42px!important;padding:3px 5px!important;border-radius:11px!important;font-size:7px!important}
  .dpa165-appbar-action .dpa156-icon{width:17px!important;height:17px!important}
  .dpa165-native-shell .dpa156-screens{padding:5px 8px 0!important}
  .dpa165-native-shell .dpa156-screen{padding-bottom:6px!important}
  .dpa165-native-shell .dpa156-screen-header{min-height:52px!important;margin-bottom:5px!important;padding:7px 10px!important}
  .dpa165-native-shell .dpa156-screen-header-icon{width:36px!important;height:36px!important;flex-basis:36px!important;padding:8px!important}
  .dpa165-native-shell .dpa156-screen-header h2{font-size:17px!important}
  .dpa165-native-shell .dpa156-screen-header p{display:none!important}
  .dpa165-native-shell .dpa156-dock{
    min-height:calc(54px + env(safe-area-inset-bottom))!important;
    padding:3px max(8px,env(safe-area-inset-right)) calc(3px + env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left))!important;
  }
  .dpa165-native-shell .dpa156-dock button,
  .dpa165-native-shell .dpa156-dock button.is-primary{min-height:46px!important}
  .dpa165-native-shell .dpa156-dock .dpa156-icon{width:20px!important;height:20px!important}
  .dpa165-native-shell .dpa156-dock button>span:last-child{font-size:8px!important}

  .dpa165-native-shell #dpa156-messages .dpa156-screen-header{display:none!important}
  .dpa165-native-shell .dpa164-message-command{
    display:grid!important;
    grid-template-columns:minmax(190px,.65fr) minmax(380px,1.35fr)!important;
    align-items:center!important;
    gap:10px!important;
    padding:7px 9px!important;
  }
  .dpa165-native-shell .dpa164-message-command h2{font-size:16px!important;margin-top:1px!important}
  .dpa165-native-shell .dpa164-message-command p{display:none!important}
  .dpa165-native-shell .dpa164-message-tabs{margin:0!important;gap:5px!important;padding:4px!important}
  .dpa165-native-shell .dpa164-message-tabs button{min-height:38px!important;padding:4px 6px!important;font-size:9px!important}
  .dpa165-native-shell .dpa164-message-section{padding:5px!important}
  .dpa165-native-shell .dpa164-message-layout{gap:6px!important}
  .dpa165-native-shell .dpa164-list-heading{min-height:44px!important;padding:7px 9px!important}
  .dpa165-native-shell .dpa164-list-heading h3{font-size:15px!important}
  .dpa165-native-shell .dpa164-thread-items{padding:6px!important;gap:5px!important}
  .dpa165-native-shell .dpa164-thread-item{min-height:69px!important;padding:7px!important;gap:7px!important;border-radius:12px!important}
  .dpa165-native-shell .dpa164-thread-item__icon{width:34px!important;height:34px!important;padding:7px!important;border-radius:10px!important}
  .dpa165-native-shell .dpa164-thread-item__copy strong{font-size:12px!important}
  .dpa165-native-shell .dpa164-thread-item__copy span{font-size:9px!important}
  .dpa165-native-shell .dpa164-thread-item__copy small{font-size:8px!important}
  .dpa165-native-shell .dpa164-thread-header{padding:7px 9px!important;gap:7px!important}
  .dpa165-native-shell .dpa164-thread-back{min-width:56px!important;min-height:32px!important;font-size:9px!important}
  .dpa165-native-shell .dpa164-thread-header h3{font-size:15px!important;margin:2px 0 4px!important}
  .dpa165-native-shell .dpa164-badge{min-height:20px!important;padding:2px 6px!important;font-size:7px!important}
  .dpa165-native-shell .dpa166-thread-actions{gap:4px!important}
  .dpa165-native-shell .dpa166-thread-actions button{min-height:31px!important;padding:4px 7px!important;font-size:8px!important}
  .dpa165-native-shell .dpa164-thread-stream{padding:7px!important;gap:6px!important}
  .dpa165-native-shell .dpa164-message-bubble{padding:7px 9px!important;font-size:10px!important;line-height:1.35!important}
  .dpa165-native-shell .dpa164-message-bubble__body{font-size:10px!important;line-height:1.35!important}
  .dpa165-native-shell .dpa164-reply{padding:7px!important}
  .dpa165-native-shell .dpa164-reply textarea{min-height:54px!important;padding:7px 9px!important;font-size:11px!important}
  .dpa165-native-shell .dpa164-reply-actions{margin-top:5px!important;gap:6px!important}
  .dpa165-native-shell .dpa164-reply button{min-height:34px!important;font-size:9px!important}

  .dpa165-native-shell .dpa164-hero{padding:12px 15px!important}
  .dpa165-native-shell .dpa164-greeting{margin:0!important}
  .dpa165-native-shell .dpa164-avatar{width:55px!important;height:55px!important;flex-basis:55px!important;border-radius:17px!important}
  .dpa165-native-shell .dpa164-greeting h1{font-size:23px!important}
  .dpa165-native-shell .dpa164-greeting p{font-size:10px!important}
  .dpa165-native-shell .dpa164-items{margin-top:6px!important;padding:8px!important}
  .dpa165-native-shell .dpa164-items-heading{margin-bottom:6px!important}
  .dpa165-native-shell .dpa164-items-heading h2{font-size:16px!important}
  .dpa165-native-shell .dpa164-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important}
  .dpa165-native-shell .dpa164-item,
  .dpa165-native-shell .dpa164-item.is-wide{grid-column:auto!important;min-height:68px!important;padding:7px!important;grid-template-columns:35px minmax(0,1fr) auto!important;gap:7px!important}
  .dpa165-native-shell .dpa164-item-icon,
  .dpa165-native-shell .dpa164-item.is-wide .dpa164-item-icon{width:35px!important;height:35px!important;padding:7px!important}
  .dpa165-native-shell .dpa164-item-copy strong{font-size:11px!important}
  .dpa165-native-shell .dpa164-item-copy em{font-size:8px!important}
}

/* The placeholder has an explicit flex display in the base stylesheet; without
   this rule the HTML hidden attribute is ignored and the opened thread is
   rendered hundreds of pixels below the clipped stage. */
.dpa164-thread-placeholder[hidden]{display:none!important}

@media(max-width:700px){
  .dpa165-native-shell .dpa164-message-section.is-thread-open .dpa164-thread-list{display:none!important}
  .dpa165-native-shell .dpa164-message-section.is-thread-open .dpa164-thread-stage{display:flex!important;flex:1 1 auto!important;min-height:0!important;flex-direction:column!important}
}

@media (orientation:landscape) and (max-height:600px){
  .dpa165-native-shell .dpa164-thread-header{min-height:42px!important}
  .dpa165-native-shell .dpa164-thread-stream{flex:1 1 auto!important;min-height:44px!important}
  .dpa165-native-shell .dpa164-reply{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    align-items:end!important;
    gap:6px!important;
    flex:0 0 auto!important;
  }
  .dpa165-native-shell .dpa164-reply>label:first-child>span{display:none!important}
  .dpa165-native-shell .dpa164-reply textarea{
    width:100%!important;
    min-height:42px!important;
    height:42px!important;
    resize:none!important;
  }
  .dpa165-native-shell .dpa164-reply-actions{
    display:flex!important;
    align-items:stretch!important;
    flex-direction:row!important;
    gap:5px!important;
    margin:0!important;
  }
  .dpa165-native-shell .dpa164-reply .dpa164-file{
    position:relative!important;
    display:grid!important;
    place-items:center!important;
    width:52px!important;
    min-width:52px!important;
    min-height:42px!important;
    overflow:hidden!important;
    border:1px solid #cbd8e8!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#2458cf!important;
    cursor:pointer!important;
  }
  .dpa165-native-shell .dpa164-reply .dpa164-file span{display:block!important;font-size:7px!important;font-weight:900!important}
  .dpa165-native-shell .dpa164-reply .dpa164-file input[type=file]{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;opacity:0!important;cursor:pointer!important}
  .dpa165-native-shell .dpa164-reply button{width:auto!important;min-width:66px!important;height:42px!important}
}


/* Build 3.13.174 — deterministic app logout feedback. */
[data-dpa168-logout].is-working{
  pointer-events:none!important;
  opacity:.72!important;
  cursor:wait!important;
}
[data-dpa168-logout].is-working .dpa156-icon{
  animation:dpa168LogoutSpin .8s linear infinite!important;
}
@keyframes dpa168LogoutSpin{to{transform:rotate(360deg)}}

/* ===== Build 3.13.174 — Messages uses the same native screen title as every menu ===== */
.dpa165-native-shell #dpa156-messages .dpa156-screen-header{
  display:flex!important;
}
@media(max-width:700px){
  .dpa165-native-shell #dpa156-messages .dpa156-screen-header{
    display:flex!important;
    flex:0 0 auto!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-command{
    display:block!important;
    padding:8px!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-command>div:first-child{
    display:none!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-tabs{
    margin:0!important;
  }
}
@media (orientation:landscape) and (max-height:600px){
  .dpa165-native-shell #dpa156-messages .dpa156-screen-header{
    display:flex!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-command{
    display:block!important;
    padding:5px 7px!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-command>div:first-child{
    display:none!important;
  }
  .dpa165-native-shell #dpa156-messages .dpa164-message-tabs{
    margin:0!important;
  }
}

/* ===== Build 3.13.174 — instructor project archive ===== */
.dpa170-project-archive{margin:16px 0 0!important;overflow:hidden!important;border:1px solid #d7e1ed!important;border-radius:20px!important;background:#fff!important;box-shadow:0 10px 28px rgba(15,45,90,.07)!important}
.dpa170-project-archive>summary{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:72px!important;padding:15px 17px!important;list-style:none!important;background:linear-gradient(145deg,#f8fbff,#eef3f8)!important;cursor:pointer!important}
.dpa170-project-archive>summary::-webkit-details-marker{display:none!important}
.dpa170-project-archive>summary span{display:flex!important;min-width:0!important;flex-direction:column!important;gap:4px!important}
.dpa170-project-archive>summary small{color:#285ad2!important;font-size:9px!important;font-weight:900!important;letter-spacing:.13em!important}
.dpa170-project-archive>summary strong{color:#152d50!important;font-size:16px!important;line-height:1.25!important}
.dpa170-project-archive>summary b{display:grid!important;place-items:center!important;min-width:34px!important;height:34px!important;padding:0 8px!important;border-radius:999px!important;background:#dfe8f3!important;color:#39516e!important;font-size:12px!important}
.dpa170-project-archive-list{display:grid!important;gap:9px!important;padding:12px!important;border-top:1px solid #dfe7f1!important;background:#f6f9fc!important}
.dpa170-project-archive-item{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:14px!important;padding:14px!important;border:1px solid #dce5ef!important;border-radius:16px!important;background:#fff!important}
.dpa170-project-archive-item>div{display:flex!important;min-width:0!important;flex-direction:column!important;gap:4px!important}
.dpa170-project-archive-item small{color:#285ad2!important;font-size:9px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
.dpa170-project-archive-item strong{overflow:hidden!important;color:#152d50!important;font-size:14px!important;line-height:1.3!important;text-overflow:ellipsis!important}
.dpa170-project-archive-item span{color:#5c6e86!important;font-size:11px!important;line-height:1.45!important}
.dpa170-project-archive-item em{color:#7a8799!important;font-size:9px!important;font-style:normal!important}
.dpa170-project-archive-item .dpa157-message-hub{min-height:39px!important;padding:0 13px!important;white-space:nowrap!important}
.dpa170-project-archive-empty{margin:12px!important}
@media(max-width:700px){
  .dpa170-project-archive{margin:13px 0 0!important;border-radius:18px!important}
  .dpa170-project-archive>summary{min-height:68px!important;padding:13px 14px!important}
  .dpa170-project-archive>summary strong{font-size:15px!important}
  .dpa170-project-archive-list{padding:9px!important}
  .dpa170-project-archive-item{grid-template-columns:1fr!important;padding:13px!important}
  .dpa170-project-archive-item small{font-size:10px!important}
  .dpa170-project-archive-item strong{font-size:16px!important}
  .dpa170-project-archive-item span{font-size:12px!important}
  .dpa170-project-archive-item em{font-size:10px!important}
  .dpa170-project-archive-item .dpa157-message-hub{width:100%!important}
}
