/* Hallmark · app screen: support cases · direction: supplied screenshot · genre: modern-minimal · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R5 V4 · weakest: execution; reproduce the supplied case detail and verify controls at narrow widths. */
/* Hallmark · answered F5 · the circular profile icon is present in the supplied Support Cases screenshot. */
:root{
  --font-ui:'Google Sans',Arial,sans-serif;
  --canvas:#f7f9fa;
  --surface:#fdfefe;
  --input-surface:#f1f3f4;
  --ink:#303134;
  --body-ink:#5f6368;
  --muted:#70757a;
  --rule:#dadce0;
  --hover:#f1f3f4;
  --blue:#1a73e8;
  --blue-hover:#1765cc;
  --blue-tint:#e8f0fe;
  --blue-label:#2b65aa;
  --urgent-tint:#fce8e6;
  --urgent-label:#b83f37;
  --focus:#1557ad;
  --backdrop:rgb(32 33 36 / 42%);
  --space-2xs:4px;
  --space-xs:8px;
  --space-sm:12px;
  --space-md:16px;
  --space-lg:24px;
  --space-xl:40px;
  --space-2xl:64px;
  --header-gutter:22px;
}
@font-face{font-family:'Google Sans';font-style:normal;font-weight:400 700;font-display:swap;src:url('/completion/GoogleSans-latin.woff2') format('woff2')}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;overflow-x:clip}
body{min-height:100dvh;background:var(--canvas);color:var(--ink);font-family:var(--font-ui);font-size:14px;font-weight:400;line-height:1.5;font-synthesis:none}
button,input{font:inherit}
button{cursor:pointer}
button:focus-visible,input:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
button:disabled{opacity:.55;cursor:not-allowed}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.topbar{height:60px;display:flex;align-items:center;justify-content:space-between;gap:var(--space-lg);padding:0 var(--header-gutter);background:var(--surface);border-bottom:1px solid var(--rule)}
.brand{display:flex;align-items:center;gap:var(--space-sm);white-space:nowrap;color:var(--body-ink);font-size:20px}
.brand img{display:block;flex:none;width:70px;height:23px}
.topbar-icons{display:flex;align-items:center;gap:var(--space-xs);color:var(--muted)}
.icon-button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:transparent;color:inherit;transition:background-color 140ms ease-out,color 140ms ease-out}
.icon-button:hover{background:var(--hover);color:var(--ink)}
.icon-button svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.profile-icon{background:var(--input-surface)}
.profile-icon:hover{background:var(--blue-tint);color:var(--blue-label)}

.case-workspace{width:min(986px,calc(100% - 40px));margin:var(--space-md) auto 80px}
.tabs{position:relative;display:flex;align-items:stretch;gap:32px;height:48px;border-bottom:1px solid var(--rule);overflow-x:auto;scrollbar-width:none}
.tabs::-webkit-scrollbar{display:none}
.tab{position:relative;flex:none;padding:0;background:none;border:0;border-radius:4px 4px 0 0;color:var(--body-ink);white-space:nowrap;font-size:15px;transition:color 160ms ease-out,background-color 160ms ease-out}
.tab:hover{color:var(--blue-label);background:var(--hover)}
.tab.is-current:hover{background:var(--blue-tint)}
.tab.is-current{color:var(--blue-label);font-weight:600}
.tab-indicator{position:absolute;bottom:0;left:0;width:64px;height:2px;background:var(--blue);transform-origin:left center;transition:transform 200ms cubic-bezier(.23,1,.32,1);pointer-events:none}
.search{display:flex;align-items:center;gap:var(--space-sm);height:46px;margin-top:var(--space-md);padding:0 var(--space-md);background:var(--input-surface);color:var(--body-ink);border-radius:3px}
.search:focus-within{outline:2px solid var(--focus);outline-offset:-2px}
.search svg{flex:none;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.search input{min-width:0;flex:1;height:100%;padding:0;border:0;outline:0;background:none;color:var(--ink);font-size:15px}
.search input:focus-visible{outline:0}
.search input::placeholder{color:var(--muted);opacity:1}

.case-card{margin-top:var(--space-md);padding:var(--space-md);border:1px solid var(--rule);border-radius:12px;background:var(--surface)}
.case-top{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md)}
.case-top h1{margin:0;min-width:0;overflow-wrap:break-word;text-wrap:balance;font-size:16px;font-weight:600;line-height:24px}
.case-meta{margin:0;color:var(--muted);font-size:13px;line-height:20px;overflow-wrap:break-word}
.case-meta span{padding:0 2px}
.badges{display:flex;flex:none;flex-wrap:wrap;justify-content:flex-end;gap:var(--space-xs);padding-top:var(--space-2xs)}
.badge{padding:var(--space-2xs) var(--space-sm);border-radius:20px;font-size:12px;font-weight:600;line-height:18px;white-space:nowrap}
.badge-progress{background:var(--blue-tint);color:var(--blue-label)}
.badge-urgent{background:var(--urgent-tint);color:var(--urgent-label)}
.case-description{margin:var(--space-md) 0;color:var(--body-ink);font-size:15px;line-height:23px}
.case-update{display:flex;align-items:flex-start;gap:var(--space-sm);padding-top:var(--space-sm);border-top:1px solid var(--rule)}
.case-update svg{flex:none;width:19px;height:19px;margin-top:2px;fill:none;stroke:var(--urgent-label);stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.case-update strong,.case-update span{display:block;font-size:13px;line-height:18px}
.case-update strong{font-weight:500;color:var(--body-ink)}
.case-update span{color:var(--muted)}
.case-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:var(--space-sm);margin-top:var(--space-xs)}
.upload-feedback{flex:1;min-width:0;margin:0;color:var(--muted);font-size:13px;overflow-wrap:anywhere}
.primary-button,.secondary-button{min-height:36px;padding:0 var(--space-md);border-radius:4px;font-size:13px;font-weight:600;white-space:nowrap}
.primary-button{border:1px solid var(--blue);background:var(--blue);color:var(--surface)}
.primary-button:hover{background:var(--blue-hover);border-color:var(--blue-hover)}
.secondary-button{border:1px solid var(--rule);background:var(--surface);color:var(--ink)}
.secondary-button:hover{background:var(--hover)}
.primary-button:active,.secondary-button:active{transform:translateY(1px)}

.empty-state{margin-top:var(--space-md);padding:32px;border:1px solid var(--rule);border-radius:12px;background:var(--surface)}
.empty-state h2{margin:0 0 var(--space-2xs);font-size:17px;font-weight:600}
.empty-state p{margin:0 0 var(--space-md);color:var(--muted)}
.empty-state button{padding:0;border:0;background:none;color:var(--blue);font-weight:600}
.empty-state button:hover{text-decoration:underline}
.auth-dialog{width:min(496px,calc(100% - 32px));max-height:calc(100dvh - 32px);padding:var(--space-xl) 36px 32px;border:0;border-radius:20px;background:var(--surface);color:var(--ink);font:inherit;box-shadow:0 14px 40px var(--backdrop);text-align:center}
.auth-dialog::backdrop{background:var(--backdrop)}
.auth-shield{display:block;width:48px;height:56px;margin:0 auto var(--space-md);fill:var(--blue)}
.auth-shield .shield-detail{fill:var(--surface)}
.auth-dialog h2{margin:0;font-size:24px;font-weight:600;line-height:1.3;text-wrap:balance}
.auth-dialog h2:focus{outline:0}
.auth-dialog p{max-width:38ch;margin:var(--space-md) auto 32px;color:var(--body-ink);font-size:16px;line-height:1.5;text-wrap:pretty}
.auth-dialog .auth-launch-error{margin:-16px auto 24px;padding:10px 12px;border-radius:10px;background:#fce8e6;color:#b3261e;font-size:14px;text-align:left}
.dialog-actions{display:flex;justify-content:flex-end;gap:var(--space-sm)}
.dialog-actions .primary-button,.dialog-actions .secondary-button{min-height:40px;padding:0 var(--space-lg);font-size:14px}

@media(max-width:700px){
  .case-workspace{width:calc(100% - 32px);margin-top:var(--space-xs)}
  .tabs{gap:var(--space-lg)}
  .case-top{flex-direction:column;gap:var(--space-sm)}
  .badges{justify-content:flex-start;padding-top:0}
  .case-actions{justify-content:flex-start}
  .upload-feedback{flex-basis:100%}
}
@media(max-width:420px){
  .topbar{padding:0 var(--space-md)}
  .brand{gap:var(--space-xs);font-size:17px}
  .topbar-icons{gap:var(--space-2xs)}
  .icon-button{width:30px;height:36px}
  .icon-button svg{width:18px;height:18px}
  .secondary-button,.primary-button{white-space:normal}
}
@media(prefers-reduced-motion:reduce){.primary-button:active,.secondary-button:active{transform:none}.tab,.tab-indicator,.icon-button{transition:none}}
