body {
  margin: 0;
  background: #0b0c0e;
}
input::placeholder { color: #858a92; }
:is(input, button, a):focus-visible {
  outline: 2px solid #6ba0d8;
  outline-offset: 2px;
}
.portal-languages {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a1a6ae;
  font: 13px 'IBM Plex Mono', monospace;
}
.portal-languages a {
  padding: 12px 2px;
  color: inherit;
  text-decoration: none;
}
.portal-languages a[aria-current="page"],
.portal-languages a:hover { color: #f2f1ec; }
.portal-notice {
  margin: 0;
  color: #a9c8eb;
  font-size: 13px;
  line-height: 1.6;
}
@media (min-width: 761px) and (max-width: 1250px) {
  #app > div:not(.ws) > aside { flex-basis: 35% !important; }
  #app > div:not(.ws) > main { flex-basis: 40% !important; }
}
@media (max-width: 760px) {
  #app > div:not(.ws) > aside, #app > div:not(.ws) > main {
    box-sizing: border-box;
    flex: 0 0 100% !important;
    min-width: 0;
  }
  #app > div:not(.ws) > aside {
    min-height: 0 !important;
    gap: 22px;
    padding: 20px 24px 26px !important;
  }
  #app > div:not(.ws) > aside > img { object-position: center 53%; }
  #app > div:not(.ws) > aside > span { display: none; }
  #app > div:not(.ws) > main { padding: 8px 24px 20px !important; }
}
.portal-step { display: grid; gap: 16px; min-width: 0; }
.portal-step h2, .portal-step p { margin: 0; }
.portal-step h2 { font-size: 28px; line-height: 1.3; }
.portal-step p, .portal-step details { font-size: 14px; color: #b4b9c2; line-height: 1.6; }
.portal-step label { font-size: 13px; }
.portal-step input, .portal-file {
  box-sizing: border-box; width: 100%; min-height: 48px; border: 1px solid #343943;
  border-radius: 8px; background: #121418; color: #f2f1ec; padding: 10px 16px; font: inherit;
}
.portal-step button { font: inherit; cursor: pointer; }
.portal-step button:disabled { opacity: .6; cursor: wait; }
.portal-qr {
  width: min(208px, 100%);
  height: auto;
  background-color: #fff;
  forced-color-adjust: none;
}
.portal-step details code { display: block; overflow-wrap: anywhere; color: white; }
.portal-next { border: 0; background: #005bbb; color: white; border-radius: 32px; min-height: 50px; }
.portal-secondary { color: #b7bec6; background: transparent; border: 0; min-height: 40px; }
.portal-file { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; text-align: start; }
.portal-file span { color: #8abcf0; font-size: 13px; }

/* Authenticated project workspace, matching the Claude project data portal. */
.ws {
  --blue: #005bbb; --paper: #f3f4f2; --line: #dcdedb; --ink: #15181b; --muted: #5b626a;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
  min-height: 100vh; color: var(--ink); background: var(--paper);
  font-family: 'IBM Plex Sans KR', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
.ws h1,.ws h2,.ws p,.ws dl,.ws dd,.ws figure { margin: 0; }
.ws a { color: inherit; text-decoration: none; }
.ws button,.ws select { font: inherit; }
.ws button,.ws summary,.ws select { cursor: pointer; }
.ws button:disabled { opacity: .55; cursor: default; }
.ws-header { background: var(--blue); color: white; display: flex; align-items: center; gap: 20px; min-height: 76px; padding: 12px clamp(20px,2.65vw,52px); }
.ws-brand { display: inline-flex; align-items:center; }
.ws-brand img { display:block; width:clamp(110px,10vw,158px); height:auto; }
.ws-product,.ws-demo,.ws-kicker,.ws-tabs,.ws-box-title>span,.ws-stats dt,.ws th,.ws code,.ws-out { font-family: var(--mono); }
.ws-product { border-left: 1px solid #94bde2; padding-left:20px; font-size:12px; letter-spacing:.12em; }
.ws-demo { padding:3px 8px; border:1px solid #92bce7; border-radius:20px; font-size:10px; letter-spacing:.07em; white-space:nowrap; }
.ws-tools { display:flex; align-items:center; gap:18px; margin-left:auto; font-size:13px; }
.ws-tools a:hover,.ws-back:hover { text-decoration:underline; }
.ws-identity { display:flex; align-items:center; gap:9px; }
.ws-identity b { display:grid; place-items:center; width:34px; height:34px; border:1px solid #89b6e1; border-radius:50%; background:#3378bd; font:14px var(--mono); }
.ws-identity small,.ws-person small,.ws-choice small { display:block; font-size:12px; }
.ws-identity small { color:#dfedfc; }
.ws button.ws-out { border:1px solid #95bfe5; background:transparent; color:white; border-radius:24px; padding:9px 16px; }
.ws-main { width:min(100%,1860px); margin:0 auto; padding:clamp(26px,3.3vw,60px) clamp(20px,2.65vw,52px) 64px; }
.ws h1 { font-size:clamp(28px,2.45vw,45px); font-weight:650; letter-spacing:-.045em; line-height:1.25; overflow-wrap:anywhere; }
.ws h2 { font-size:clamp(18px,1.4vw,23px); line-height:1.36; letter-spacing:-.025em; }
.ws .ws-kicker { display:flex; align-items:center; gap:10px; color:var(--muted); font-size:11px; font-weight:500; letter-spacing:.13em; text-transform:uppercase; }
.ws-kicker::before { content:''; display:block; flex:none; width:7px; height:7px; background:var(--blue); }
.ws-kicker+h1,.ws-kicker+h2 { margin-top:15px; }
.ws .ws-sub,.ws-meta p { color:var(--muted); font-size:15px; line-height:1.6; }
.ws .ws-sub { margin:13px 0 30px; }
.ws a.ws-back,.ws-btn,.ws button.ws-pill,.ws-chip { display:inline-flex; align-items:center; justify-content:center; gap:7px; color:var(--ink); border:1px solid #c6cbc7; background:transparent; border-radius:30px; padding:8px 14px; font:12px var(--mono); }
.ws a.ws-back { margin-bottom:24px; }
.ws-meta,.ws-tabs,.ws-filters { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.ws-meta { margin:15px 0 24px; }
.ws-meta p { margin-right:auto; }
.ws-chip { padding:5px 10px; background:white; font-size:11px; }
.ws-chip::before { content:''; width:6px; height:6px; background:#239661; }
.ws button.ws-pill[aria-pressed="true"] { background:var(--ink); color:white; border-color:var(--ink); }
.ws-stats,.ws-device,.ws-box,.ws-card,.ws-empty,.ws-people,.ws-editor-wrap { background:white; border:1px solid var(--line); border-radius:10px; }
.ws .ws-stats { display:grid; grid-template-columns:repeat(4,1fr); margin:20px 0; }
.ws-stats div { min-width:0; padding:20px clamp(14px,1.6vw,28px); }
.ws-stats div+div { border-left:1px solid var(--line); }
.ws-stats dt,.ws th,.ws-box-title>span { color:var(--muted); font-size:10px; letter-spacing:.10em; }
.ws-stats dd { margin-top:10px; font-family:var(--mono); font-weight:500; font-size:clamp(19px,2vw,32px); }
.ws-stats div:nth-child(3) dd { font-size:clamp(14px,1.35vw,22px); }
.ws-stats div:last-child dd,.ws-card-end span { color:var(--blue); }
.ws-device { display:flex; align-items:stretch; overflow:hidden; margin:0 0 20px; }
.ws-device img { width:19%; max-width:300px; object-fit:cover; }
.ws-device>div { align-self:center; padding:20px; }
.ws-device h2 { margin:8px 0 14px; font-size:clamp(16px,1.2vw,21px); }
.ws-box { overflow:hidden; }
.ws-box-title,.ws-filters { padding:16px 22px; border-bottom:1px solid var(--line); }
.ws-box-title { display:flex; align-items:center; justify-content:space-between; gap:8px; }
.ws-scroll { overflow-x:auto; }
.ws-bulk { display:flex; flex-wrap:wrap; align-items:center; gap:10px; padding:14px 22px; border-bottom:1px solid var(--line); }
.ws-bulk span { font:13px var(--mono); }
.ws-select-file { display:inline-flex; align-items:center; gap:7px; cursor:pointer; }
.ws-select-file input,.ws-file-check { width:18px; height:18px; accent-color:var(--blue); vertical-align:middle; }
.ws table { border-collapse:collapse; width:100%; text-align:left; font-family:var(--mono); font-size:12px; }
.ws th,.ws td { padding:13px 16px; border-bottom:1px solid #edf0ed; white-space:nowrap; }
.ws th { font-weight:500; }
.ws tr:last-child td { border-bottom:0; }
.ws td:last-child,.ws th:last-child { text-align:right; }
.ws-download,.ws-save { border:0; background:var(--blue); color:white; border-radius:30px; padding:9px 16px; }
.ws-equipment { margin-top:20px; padding:24px; }
.ws-equipment p { margin-top:10px; }
.ws-photos { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-top:22px; }
.ws-photos img { width:100%; display:block; border-radius:5px; }
.ws-photos figcaption { font:12px var(--mono); margin-top:7px; }
.ws-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,325px),1fr)); gap:18px; max-width:1450px; }
.ws-card { display:flex; flex-direction:column; padding:24px; max-width:590px; min-height:194px; border-top:3px solid var(--blue); }
.ws-card:hover { border-color:var(--blue); }
.ws-card-org,.ws-card-end { font:12px var(--mono); color:var(--muted); }
.ws-card h2 { margin:13px 0 28px; }
.ws-card-end { width:100%; margin-top:auto; display:flex; justify-content:space-between; align-items:center; gap:12px; border-top:1px solid var(--line); padding-top:14px; }
.ws-empty { padding:24px; }
.ws-empty p { margin-top:10px; color:var(--muted); }
.ws-admin-grid { display:grid; grid-template-columns:minmax(240px, .8fr) minmax(360px,1.3fr); gap:18px; max-width:1200px; align-items:start; }
.ws-people,.ws-editor-wrap { overflow:hidden; }
.ws-people h2,.ws-editor-wrap { padding:22px; }
.ws-person { display:block; text-align:left; width:100%; background:white; border:0; border-top:1px solid var(--line); padding:15px 22px; overflow-wrap:anywhere; }
.ws-person[aria-pressed="true"] { box-shadow:inset 3px 0 var(--blue); background:#edf5ff; }
.ws-person small,.ws-choice small { font-weight:400; color:var(--muted); margin-top:5px; }
.ws-editor { display:grid; gap:14px; }
.ws-editor h2 { overflow-wrap:anywhere; }
.ws-editor select { width:100%; border:1px solid #bec4ca; border-radius:5px; padding:10px; background:white; }
.ws-editor fieldset { margin:0; padding:0; border:0; }
.ws-editor legend { margin-bottom:8px; }
.ws-choice { display:flex; gap:12px; align-items:center; border-top:1px solid var(--line); padding:12px 0; cursor:pointer; }
.ws-choice input { width:18px; height:18px; accent-color:var(--blue); }
.ws-save { justify-self:start; }
.ws .ws-alert,.ws .ws-confirm { font-size:14px; padding:12px 15px; background:#fcedea; color:#812f27; margin:0 0 16px; }
.ws .ws-confirm { background:#e8f5eb; color:#185b34; }
@media(max-width:800px){
  .ws-header { flex-wrap:wrap; gap:10px; }
  .ws-product { padding-left:12px; }
  .ws-tools { gap:12px; }
  .ws-identity { display:none; }
  .ws-admin-grid { grid-template-columns:1fr; }
  .ws-stats div { padding:12px; }
}
@media(max-width:580px){
  .ws-tools { width:100%; justify-content:flex-end; }
  .ws .ws-stats { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .ws-stats div:nth-child(3) { border-left:0; }
  .ws-stats div:nth-child(n+3) { border-top:1px solid var(--line); }
  .ws-device { display:block; }
  .ws-device img { width:100%; height:150px; max-width:none; object-fit:contain; background:#f5f5f2; }
  .ws-photos { grid-template-columns:1fr; }
  .ws-filters,.ws-box-title { padding:12px; }
}
.ws-card-end a,.ws-back { color:var(--blue); }
.ws-card a:hover { text-decoration:underline; }
.ws-query,.ws-admin-filter,.ws-paging { display:flex; flex-wrap:wrap; gap:12px; align-items:end; padding:18px 22px; }
.ws-query { border-bottom:1px solid var(--line); }
.ws-query label,.ws-admin-filter label,.ws-add-member { display:grid; gap:6px; font-size:13px; }
.ws-query label { flex:1 1 145px; }
.ws-query select,.ws-query input,.ws-admin-filter select,.ws-add-member select { width:100%; min-width:0; padding:9px 10px; border:1px solid #bec4ca; border-radius:5px; background:white; color:var(--ink); font:inherit; }
.ws-paging { align-items:center; justify-content:flex-end; border-top:1px solid var(--line); }
.ws-paging span { margin-right:auto; }
.ws-admin-filter { padding:0 0 18px; align-items:end; }
.ws-add-member,.ws-pad,.ws-history summary { padding:16px 22px; }
.ws-history { margin-top:24px; }
.ws-history summary { cursor:pointer; font-weight:600; }
.ws-block { display:flex; align-items:center; gap:10px; padding:12px; background:#f7f3f2; }
.ws .ws-block input { width:18px; height:18px; }
.ws-query button,.ws-admin-filter a { align-self:end; }
@media(max-width:580px){.ws-query,.ws-paging { padding:14px; }.ws-box-title h2 { font-size:18px; }.ws-stats dd { overflow-wrap:anywhere; }}
.ws-invite-start,.ws-invite { margin:0 0 22px; }
.ws-invite { padding:22px; max-width:720px; }
.ws-invite h2 { margin-bottom:12px; }
.ws-invite form { display:grid; align-items:start; gap:10px; }
.ws-invite label { font-size:14px; font-weight:600; }
.ws-invite input { padding:10px 12px; border:1px solid #bec4ca; border-radius:5px; width:min(100%,400px); font:inherit; }
.ws-invite p { color:var(--muted); font-size:14px; margin:6px 0 10px; overflow-wrap:anywhere; }
.ws-invite-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px; }

.ws-presence { display:flex; flex-wrap:wrap; align-items:center; gap:10px 24px; margin:18px 0; padding:16px 20px; background:#fff; border:1px solid var(--line); border-radius:8px; }
.ws-presence div { display:flex; flex-wrap:wrap; gap:8px 22px; margin-right:auto; }
.ws-presence small { flex-basis:100%; color:var(--muted); }
.ws-connections { margin-top:22px; padding-top:18px; border-top:1px solid var(--line); }
.ws-connections ul { list-style:none; padding:0; margin:0; }
.ws-connections li { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr)); gap:5px 14px; padding:12px 0; border-bottom:1px solid var(--line); }
.ws-connections code { overflow-wrap:anywhere; }
.ws-connections p,.ws-connections small { color:var(--muted); }

.fl-tabs { display:flex; gap:4px; margin:18px 0 24px; border-bottom:1px solid var(--line); }
.fl-tabs button { padding:12px 20px; border:0; border-bottom:3px solid transparent; color:var(--muted); background:none; font-weight:600; }
.fl-tabs button[aria-pressed=true] { border-bottom-color:var(--blue); color:var(--blue); }
.fl-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.fl-heading h2,.fl-heading h3,.fl-list h3,.fl-section h3 { margin:0; }
.fl-stats { margin:16px 0 22px; }
.fl .fl-stats dd { font-size:24px; }
.fl-layout { display:grid; grid-template-columns:minmax(235px,0.85fr) minmax(0,2.8fr); gap:20px; align-items:start; }
.fl-list { padding:18px; }
.fl-list label { display:grid; gap:5px; margin-top:14px; font-size:13px; }
.fl select,.fl input { border:1px solid #b9c2c9; border-radius:5px; padding:8px; min-width:0; color:var(--ink); background:#fff; }
.fl-list-items { margin:16px -18px -18px; max-height:52vh; overflow:auto; }
.fl-list-items .ws-person span,.fl-list-items .ws-person small { display:block; }
.fl-list-items .ws-person span { font:12px var(--mono); margin-top:5px; }
.fl-vehicle { padding:22px; border-top:3px solid var(--blue); }
.fl-vehicle p { margin:5px 0; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.fl-vehicle .fl-vin { font:14px var(--mono); color:var(--ink); }
.fl-vehicle .fl-heading span { font-size:13px; color:var(--muted); }
.fl-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); margin:18px 0 0; border-top:1px solid var(--line); gap:16px 10px; padding-top:16px; }
.fl-metrics dt { color:var(--muted); font-size:13px; }
.fl-metrics dd { margin:5px 0 0; font-weight:650; }
.fl-day { margin:22px 0 12px; }
.fl-day label { font-size:13px; }
.fl-section-head,.fl-files summary { display:flex; gap:8px; justify-content:space-between; flex-wrap:wrap; padding:16px 20px; }
.fl-section-head span,.fl-note,.fl-distance { color:var(--muted); font-size:13px; }
.fl-note,.fl-distance { margin:0; padding:0 20px 12px; }
.fl-files { margin-top:12px; }
.fl-files summary { display:list-item; cursor:pointer; font-weight:600; }
.ws td .ws-download + .ws-btn { margin-left:6px; }
@media(max-width:800px){ .fl-layout {grid-template-columns:minmax(0,1fr);} .fl-list-items {max-height:230px;} .fl-metrics {grid-template-columns:repeat(2,minmax(0,1fr));} }
.fl-chart { margin:0 0 14px; padding:16px 20px; }
.fl-chart figcaption { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:8px; }
.fl-chart h3 { margin:0; }
.fl-chart figcaption span,.fl-axis,.fl-gridline small { font:12px var(--mono); color:var(--muted); }
.fl-plot { position:relative; height:100px; margin:18px 5px 0 40px; }
.fl-gridline { position:absolute; width:100%; border-top:1px dashed var(--line); }
.fl-gridline small { position:absolute; right:calc(100% + 7px); transform:translateY(-50%); }
.fl-dot { position:absolute; width:6px; height:6px; border-radius:50%; background:var(--blue); transform:translate(-50%,50%); }
.fl-axis { display:flex; justify-content:space-between; margin:8px 0 0 36px; }
