.hw-page { max-width: 1120px; margin: 0 auto; color: #18364c; }
.hw-page h1 { margin: 0 0 18px; overflow-wrap: anywhere; }
.hw-page h2 { margin: 0 0 12px; font-size: 1.15rem; }
.hw-head, .hw-tabs, .hw-actions, .hw-attach { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.hw-head { justify-content:space-between; margin-bottom:14px; }
.hw-tabs { margin-bottom:16px; }
.hw-tabs button { padding:10px 16px; color:#173b36; background:#edf5f0; border:1px solid #cfe2d8; border-radius:10px; font:inherit; cursor:pointer; }
.hw-tabs button[aria-pressed="true"] { background:#194d3d; border-color:#194d3d; color:white; }
.hw-search { display:grid; gap:5px; max-width:400px; margin-bottom:12px; }
.hw-search input, .hw-composer textarea { width:100%; border:1px solid #cfdae5; border-radius:10px; padding:10px 12px; color:inherit; background:white; font:inherit; }
.hw-columns { display:grid; grid-template-columns:minmax(200px, .7fr) minmax(0, 1.7fr); align-items:start; gap:16px; }
.hw-columns.is-read-only { grid-template-columns:minmax(0,650px); }
.hw-task, .hw-dialog, .hw-row { border:1px solid #dae5eb; background:#fff; border-radius:16px; padding:18px; min-width:0; }
.hw-task p:last-child, .hw-feedback:empty { margin-bottom:0; }
.hw-task [data-delete-submission] { margin-top: 12px; }
.hw-list { display:grid; gap:8px; }
.hw-row { display:flex; justify-content:space-between; align-items:center; gap:10px; color:inherit; text-decoration:none; overflow-wrap:anywhere; }
.hw-row:hover { border-color:#8daea1; background:#f7fbf9; }
.hw-row small { display:block; margin-top:4px; color:#526777; }
.hw-status { flex:none; font-size:.82rem; padding:5px 8px; border-radius:8px; color:#405464; background:#eef2f7; }
.hw-status.hw-accepted { color:#195240; background:#e4f5eb; }
.hw-status.hw-submitted { color:#184b83; background:#e8f1fc; }
.hw-status.hw-revision { color:#6c480d; background:#fff0cd; }
.hw-history { list-style:none; display:grid; gap:10px; padding:0; margin:0 0 18px; }
.hw-entry { padding:11px 13px; background:#f2f5f8; border-radius:12px; overflow-wrap:anywhere; }
.hw-entry.hw-mine { background:#eaf5ef; }
.hw-entry header { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:4px 10px; }
.hw-entry time, .hw-entry-action, .hw-empty { color:#526777; font-size:.9rem; }
.hw-entry-action { margin-top:4px; font-weight:bold; }
.hw-text { white-space:pre-wrap; overflow-wrap:anywhere; }
.hw-entry .hw-text { margin:6px 0; }
.hw-file-link { display:block; text-decoration:underline; overflow-wrap:anywhere; }
.hw-composer { display:grid; gap:10px; }
.hw-composer textarea { display:block; margin-top:6px; resize:vertical; }
.hw-picker { position:relative; cursor:pointer; }
.hw-picker input { position:absolute; inset:0; opacity:0; cursor:pointer; width:100%; }
.hw-picker:focus-within { outline:2px solid #185f9e; }
.hw-selected { display:flex; flex-wrap:wrap; gap:6px; max-width:100%; }
.hw-selected button { overflow-wrap:anywhere; max-width:100%; font:inherit; padding:4px 7px; background:#eef3f9; border:1px solid #ccdbe9; border-radius:6px; }
.hw-feedback { margin:0; }
.hw-login { position:relative; isolation:isolate; min-height:100svh; display:grid; place-items:center; padding:20px; background:
  linear-gradient(140deg,#fff8e9e8,#edf4e4a8),
  url('/static/assets/expedition-hero-forest.webp') center / cover; }
.hw-login::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none;
  background:linear-gradient(140deg,#fff8e9d8,#edf4e4aa),url('/static/assets/expedition-route-landscape.webp') center / cover;
  animation:hw-login-landscape 3.2s ease-out both; }
.hw-login-card { width:min(100%,550px); text-align:center; padding:clamp(24px,5vw,62px); border:1px solid #ded8c5;
  border-radius:24px; background:#fffcf5; color:#183f35; box-shadow:0 14px 48px #183b3026;
  animation:hw-login-show .35s ease-out both; }
.hw-login-card img { width:100px; height:100px; border-radius:50%; object-fit:cover; margin-bottom:18px; }
.hw-login-card h1 { margin:0; }
.hw-login-card p { margin:12px 0 24px; }
@keyframes hw-login-show { from { opacity:.4; transform:translateY(6px); } }
@keyframes hw-login-landscape { 0%,35% { opacity:0; } to { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .hw-login-card { animation:none; } .hw-login::before { display:none; } }
@media (max-width:700px) {
  .hw-columns { grid-template-columns:1fr; gap:10px; }
  .hw-task, .hw-dialog, .hw-row { padding:13px; }
  .hw-actions .btn { flex:1 0 auto; }
}
