:root {
  --navy: #0b1024;
  --navy-2: #111a38;
  --red: #ef1b24;
  --red-dark: #c9141c;
  --white: #ffffff;
  --canvas: #f4f6fb;
  --ink: #161b2f;
  --muted: #6f7892;
  --line: #dfe3ed;
  --green: #17835c;
  --amber: #b86a00;
  --blue: #265ccf;
  --shadow: 0 12px 30px rgba(14, 19, 43, .08);
  --radius: 16px;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--canvas); }
body { margin: 0; min-height: 100%; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--canvas); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.app-shell { min-height: 100vh; }
.sidebar { position: fixed; inset: 0 auto 0 0; z-index: 20; width: 252px; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--navy), #070b19); color: white; padding: 24px 18px 18px; overflow-y: auto; }
.brand { display: block; text-decoration: none; padding: 4px 12px 22px; }
.brand img { width: 184px; height: 62px; object-fit: contain; object-position: left center; }
.brand small { display: block; margin-top: 8px; color: #8994b7; letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.nav-list { display: grid; gap: 4px; }
.nav-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: #bfc7de; text-decoration: none; font-size: 14px; font-weight: 650; }
.nav-list a:hover, .nav-list a.active { color: white; background: rgba(255,255,255,.09); }
.nav-list a.active .nav-dot { background: var(--red); box-shadow: 0 0 0 4px rgba(239,27,36,.18); }
.nav-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 99px; background: #4f5876; }
.sidebar-user { margin-top: auto; display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 6px 4px; font-size: 12px; }
.sidebar-user strong, .sidebar-user small { display: block; }
.sidebar-user small { color: #8994b7; margin-top: 2px; }
.sidebar-user > a { color: #ff8d92; text-decoration: none; }
.avatar { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 12px; background: var(--red); font-weight: 800; }
.main-content { min-height: 100vh; margin-left: 252px; padding: 0 30px 28px; }
.topbar { height: 94px; display: flex; align-items: center; gap: 16px; }
.topbar h1 { margin: 2px 0 0; font-size: clamp(22px, 3vw, 30px); letter-spacing: -.03em; }
.eyebrow { color: var(--red); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.topbar-user { margin-left: auto; color: var(--muted); font-size: 13px; }
.menu-button { display: none; border: 0; background: white; border-radius: 10px; width: 42px; height: 42px; box-shadow: var(--shadow); }
.page-footer { color: #9aa1b5; font-size: 12px; text-align: center; padding: 34px 0 4px; }
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { background: white; border: 1px solid rgba(25,35,70,.07); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.card-header h2, .card h2, .card h3 { margin: 0; }
.card-header p, .card > p { color: var(--muted); }
.stat { position: relative; overflow: hidden; }
.stat::after { content: ''; position: absolute; right: -22px; top: -22px; width: 80px; height: 80px; border-radius: 50%; background: rgba(239,27,36,.08); }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }
.stat-value { display: block; margin-top: 8px; font-size: 30px; font-weight: 850; letter-spacing: -.04em; }
.stat-note { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.button, button.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 11px; padding: 10px 15px; background: var(--red); color: white; text-decoration: none; font-weight: 750; cursor: pointer; }
.button:hover { background: var(--red-dark); }
.button.secondary { background: var(--navy-2); }
.button.ghost { background: #eef1f7; color: var(--ink); }
.button.success { background: var(--green); }
.button.large { width: 100%; min-height: 64px; font-size: 19px; text-transform: uppercase; letter-spacing: .03em; }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.coming-soon { max-width: 760px; min-height: 240px; display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; margin: 8vh auto 0; }
.coming-soon h2, .coming-soon p { margin: 0; }
.coming-soon p { max-width: 540px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 9px; align-items: center; }
.table-wrap { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: 13px; background: white; }
th, td { padding: 12px 13px; border-bottom: 1px solid #edf0f5; text-align: left; vertical-align: top; }
th { color: #626b82; background: #f8f9fc; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td a { color: var(--blue); font-weight: 720; text-decoration: none; }
.badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; background: #eceff5; color: #646c81; font-size: 11px; font-weight: 800; white-space: nowrap; }
.badge-success { background: #dff5ec; color: #116747; }
.badge-danger { background: #fde4e5; color: #b41620; }
.badge-warning { background: #fff0d7; color: #985800; }
.badge-info { background: #e2ecff; color: #204fbd; }
.badge-muted { background: #eceff5; color: #646c81; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.form-field { display: grid; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { color: #343b51; font-size: 12px; font-weight: 780; }
input, select, textarea { width: 100%; border: 1px solid #d7dce7; border-radius: 10px; background: white; padding: 10px 11px; color: var(--ink); outline: 0; }
input:focus, select:focus, textarea:focus { border-color: #7e8cb5; box-shadow: 0 0 0 3px rgba(38,92,207,.1); }
textarea { min-height: 100px; resize: vertical; }
.help { color: var(--muted); font-size: 11px; }
.check { display: flex; gap: 9px; align-items: center; }
.check input { width: auto; }
.alert { margin-bottom: 16px; padding: 13px 15px; border-radius: 11px; font-size: 13px; font-weight: 650; }
.alert-success { background: #dff5ec; color: #116747; }
.alert-error { background: #fde4e5; color: #a5161f; }
.alert-warning { background: #fff0d7; color: #985800; }
.alert-info { background: #e2ecff; color: #204fbd; }
.empty { padding: 34px; text-align: center; color: var(--muted); }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 24px; margin: 0; }
.detail-list div { border-bottom: 1px solid #eef0f5; padding-bottom: 10px; }
.detail-list dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.detail-list dd { margin: 4px 0 0; font-weight: 700; }
.timeline { display: grid; gap: 10px; }
.timeline-item { display: grid; grid-template-columns: 10px 1fr; gap: 12px; }
.timeline-item::before { content: ''; width: 10px; height: 10px; margin-top: 5px; border-radius: 99px; background: var(--red); }
.dropzone { position: relative; border: 2px dashed #cdd3e0; border-radius: 12px; background: #fafbfe; padding: 22px; text-align: center; color: var(--muted); transition: .2s; }
.dropzone.dragover { border-color: var(--red); background: #fff5f5; }
.dropzone input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone strong { color: var(--ink); }
.paste-preview { display: none; margin-top: 10px; padding: 10px; background: #eff7f3; color: var(--green); border-radius: 9px; font-size: 12px; }
.progress-board { display: grid; grid-template-columns: repeat(6, minmax(190px, 1fr)); gap: 12px; overflow-x: auto; padding-bottom: 8px; }
.board-column { background: #e9edf5; border-radius: 14px; min-height: 200px; padding: 12px; }
.board-column h3 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; color: #5b647b; letter-spacing: .05em; }
.job-card { display: block; margin-bottom: 9px; background: white; border-radius: 11px; padding: 12px; text-decoration: none; box-shadow: 0 4px 12px rgba(14,19,43,.06); }
.job-card strong, .job-card small { display: block; }
.job-card small { margin-top: 5px; color: var(--muted); }
.specs { display: flex; flex-wrap: wrap; gap: 7px; }
.spec { border-radius: 9px; background: #f0f2f7; padding: 7px 9px; font-size: 12px; }
.qr-wrap { width: min(260px, 100%); aspect-ratio: 1; display: grid; place-items: center; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.qr-wrap canvas, .qr-wrap img { max-width: 100%; height: auto; }
.label-sheet { max-width: 720px; margin: 0 auto; background: white; border: 2px solid var(--ink); padding: 26px; }
.label-code { font-size: clamp(24px, 5vw, 44px); font-weight: 900; letter-spacing: -.04em; }
.label-grid { display: grid; grid-template-columns: 1fr 220px; gap: 24px; align-items: center; }
.urgent { color: var(--red); font-weight: 850; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(300px, .85fr) minmax(420px, 1.15fr); background: var(--navy); }
.login-brand { position: relative; overflow: hidden; display: grid; place-content: center; padding: 60px; background: radial-gradient(circle at 20% 20%, #23305a, var(--navy) 50%); color: white; }
.login-brand::after { content: ''; position: absolute; width: 400px; height: 400px; right: -180px; bottom: -180px; border-radius: 50%; background: var(--red); opacity: .9; }
.login-brand img { width: min(430px, 85%); position: relative; z-index: 1; }
.login-brand p { position: relative; z-index: 1; color: #aeb7d3; max-width: 420px; }
.login-panel { display: grid; place-items: center; padding: 40px; background: #f7f8fb; }
.login-box { width: min(430px, 100%); }
.login-box h1 { font-size: 34px; margin: 0 0 8px; }
.login-box > p { color: var(--muted); margin-bottom: 28px; }
.login-box form { display: grid; gap: 15px; }
.login-note { margin-top: 18px; color: var(--muted); font-size: 12px; }
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sidebar { transform: translateX(-105%); transition: transform .2s; box-shadow: 20px 0 40px rgba(0,0,0,.2); }
  .sidebar.open { transform: translateX(0); }
  .main-content { margin-left: 0; padding-inline: 18px; }
  .menu-button { display: block; }
  .topbar-user { display: none; }
}
@media (max-width: 680px) {
  .grid-2, .grid-3, .grid-4, .form-grid, .detail-list { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .topbar { height: 82px; }
  .card { padding: 16px; border-radius: 13px; }
  .card-header { align-items: stretch; flex-direction: column; }
  .label-grid { grid-template-columns: 1fr; }
  .login-page { grid-template-columns: 1fr; }
  .login-brand { display: none; }
  .login-panel { min-height: 100vh; padding: 24px; }
}
@media print {
  .sidebar, .topbar, .page-footer, .no-print, .alert { display: none !important; }
  .main-content { margin: 0; padding: 0; }
  body, html { background: white; }
  .label-sheet { border: 2px solid #000; box-shadow: none; max-width: none; }
}

/* V0.02 operations, labels, messaging and permissions */
.topbar-tools { margin-left:auto; display:flex; align-items:center; gap:10px; }.top-search { display:flex; align-items:center; border:1px solid var(--line); border-radius:10px; background:#fff; overflow:hidden; }.top-search input{border:0;padding:9px 10px;width:190px}.top-search button,.top-icon{border:0;background:#fff;color:var(--ink);padding:9px 12px;text-decoration:none;position:relative;font-size:18px}.top-icon b{position:absolute;right:2px;top:1px;background:var(--red);color:#fff;font-size:9px;min-width:15px;height:15px;border-radius:99px;text-align:center}.top-profile{display:flex;align-items:center;gap:8px;text-decoration:none;font-size:13px;font-weight:700}.top-profile .avatar{width:34px;height:34px;border-radius:10px}.payment-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:12px;border-radius:12px;background:#edf5ff;color:#173b7b}.payment-summary strong{grid-column:1/-1}.payment-summary b{color:#0d6849}.job-card{cursor:grab}.job-card a{color:inherit;text-decoration:none;display:grid;gap:5px}.job-card strong{font-size:15px}.job-folio{font-size:10px;font-weight:800;color:#6f7892;letter-spacing:.08em}.board-column h3{display:flex;justify-content:space-between}.board-column h3 span{background:rgba(0,0,0,.08);padding:2px 6px;border-radius:99px}.board-pending{border-top:4px solid #9aa1b5}.board-production,.board-quality{border-top:4px solid var(--blue)}.board-finishing{border-top:4px solid #8155ca}.board-ready,.board-partial,.board-delivered{border-top:4px solid var(--green)}.board-dropzone{min-height:120px}.drag-over{background:#dfeaff;border-radius:10px;outline:2px dashed var(--blue)}.dragging{opacity:.45}.letter-label-page{width:8.5in;min-height:11in;margin:0 auto;background:#fff}.letter-label{height:5.5in;display:grid;grid-template-columns:1.1fr 2.2fr 1fr;align-items:center;gap:18px;padding:.35in;border-bottom:2px dashed #9da5b7}.letter-label:last-child{border-bottom:0}.label-brand{background:var(--navy);border-radius:12px;padding:14px}.label-brand img{width:100%}.label-copy h1{margin:4px 0;font-size:25px}.label-copy p{margin:4px 0 12px;color:#53607e}.label-code{font-size:17px}.label-handwrite{margin-top:22px;border-top:1px solid #20263a;padding-top:10px;font-size:18px;font-weight:800}.label-handwrite span{margin-left:6px}.label-qr{text-align:center}.label-qr small{display:block;margin-top:6px}.label-actions{max-width:8.5in;margin:20px auto}.permission-groups{display:grid;gap:16px}.permission-group{border:1px solid var(--line);border-radius:12px;overflow:hidden}.permission-group h4{margin:0;padding:10px 14px;background:#f7f8fb}.permission-row{display:grid;grid-template-columns:minmax(130px,1fr) 145px 1.6fr;gap:12px;padding:12px 14px;border-top:1px solid #edf0f5;align-items:start}.permission-row small{display:block;color:var(--muted);margin-top:3px}.permission-specials{display:flex;flex-wrap:wrap;gap:6px 11px}.permission-specials .check{font-size:11px}.user-link{text-decoration:none;color:inherit}.client-match{margin-top:8px;border-radius:10px;padding:10px;font-size:12px;display:grid;gap:5px}.client-match.found{background:#e7f7ee;color:#116747}.client-match.new{background:#eef1f7;color:#586176}.client-match a{display:block;border-top:1px solid rgba(0,0,0,.08);padding-top:6px;color:inherit;text-decoration:none}.client-match small{display:block}.search-large{display:flex;gap:9px;max-width:650px}.search-large input{font-size:17px}.search-results{display:grid;gap:8px}.search-results a{display:grid;padding:12px;border:1px solid var(--line);border-radius:10px;text-decoration:none}.search-results small{color:var(--muted);margin-top:3px}.chat-page{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px}.chat-person{display:grid;grid-template-columns:38px 1fr;gap:10px;padding:10px 0;text-decoration:none;border-top:1px solid var(--line)}.chat-person.active{color:var(--blue)}.chat-person .avatar{width:38px;height:38px;border-radius:10px}.chat-person small{display:block;color:var(--muted);margin-top:2px}.chat-thread{min-height:620px;display:flex;flex-direction:column}.message-feed{display:grid;gap:10px;flex:1;max-height:540px;overflow:auto;padding:6px}.message{max-width:72%;padding:10px 12px;border-radius:12px;background:#edf0f6}.message.mine{margin-left:auto;background:#e6efff}.message small{color:var(--muted);font-size:10px}.message p{margin:5px 0 0}.shared-card{display:block;margin-top:7px;background:#fff;border-radius:8px;padding:8px;color:var(--blue);font-size:12px}.chat-compose{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:14px}.chat-compose textarea{min-height:52px}
@media(max-width:680px){.top-search{display:none}.top-profile>span:last-child{display:none}.payment-summary,.permission-row,.chat-page{grid-template-columns:1fr}.letter-label-page{width:100%;min-height:0}.letter-label{height:auto;min-height:5in;grid-template-columns:1fr}.label-brand{max-width:170px}.label-qr{display:none}}
@media print{.label-page{padding:0}.letter-label-page{width:8.5in;min-height:11in}.letter-label{height:5.5in}.label-actions{display:none!important}}
.link-button{appearance:none;border:0;padding:0;background:transparent;color:var(--blue);text-align:left;cursor:pointer;font:inherit}.project-dialog{width:min(760px,calc(100vw - 32px));border:0;border-radius:18px;padding:24px;box-shadow:0 25px 70px rgba(0,0,0,.35)}.project-dialog::backdrop{background:rgba(7,11,25,.62)}
.sidebar-user{display:none}.profile-menu{position:relative}.profile-menu summary{list-style:none;cursor:pointer}.profile-menu summary::-webkit-details-marker{display:none}.profile-menu>div{position:absolute;right:0;top:44px;z-index:80;width:165px;padding:7px;background:#fff;border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow)}.profile-menu:not([open])>div{display:none}.profile-menu>div a{display:block;padding:9px 10px;text-decoration:none;font-size:13px;border-radius:7px}.profile-menu>div a:hover{background:#f2f4f8}.scan-qr-button{cursor:pointer;border-left:1px solid var(--line)!important}.qr-scanner-dialog{width:min(480px,calc(100vw - 28px));border:0;border-radius:18px;padding:20px;box-shadow:0 25px 70px rgba(0,0,0,.38)}.qr-scanner-dialog::backdrop{background:rgba(7,11,25,.65)}.qr-scanner-dialog video{display:block;width:100%;max-height:62vh;background:#080d25;border-radius:12px;object-fit:cover}
.shared-card{display:grid;gap:3px;text-decoration:none!important;color:var(--ink)!important;border-left:4px solid var(--red);box-shadow:0 2px 8px rgba(14,19,43,.08)}.shared-card>span{font-size:9px;color:var(--red);font-weight:850;letter-spacing:.08em}.shared-card strong{font-size:13px}.shared-card small{font-size:11px}.shared-card b{font-size:11px;color:var(--green)}

/* V0.02.2 payments, responsive tools and compact chat sharing */
.payment-summary.full{grid-column:1/-1;min-width:0;width:100%;box-sizing:border-box}.payment-summary>*{min-width:0;overflow-wrap:anywhere}.payment-summary .summary-item{display:grid;gap:2px}.payment-summary .summary-item small{color:#5c6f91}.payment-summary .summary-item b{font-size:14px}.form-field .help:empty{display:none}
.mobile-search-button,.mobile-camera-button{display:none}.top-icon{cursor:pointer}.top-profile{border:1px solid var(--line);border-radius:11px;padding:4px 8px 4px 4px;background:#fff;min-width:0}.top-profile-name{max-width:150px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.profile-caret{color:var(--muted);font-size:13px}.profile-menu>div{top:calc(100% + 8px);width:180px}.profile-menu>div .profile-logout{color:#b4232c;border-top:1px solid var(--line);border-radius:0;margin-top:4px;padding-top:11px}
.mobile-search-dialog{width:min(520px,calc(100vw - 24px));border:0;border-radius:18px;padding:20px;box-shadow:0 25px 70px rgba(0,0,0,.38)}.mobile-search-dialog::backdrop{background:rgba(7,11,25,.65)}.mobile-search-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:14px}.mobile-search-form input{min-width:0}.mobile-dialog-camera{width:100%;margin-top:10px}
.chat-compose{grid-template-columns:1fr;gap:9px}.chat-compose textarea{width:100%;box-sizing:border-box}.chat-compose-actions{display:flex;align-items:center;gap:8px;justify-content:flex-end}.chat-share-menu,.emoji-menu{position:relative}.chat-share-menu summary,.emoji-menu summary{list-style:none;cursor:pointer}.chat-share-menu summary::-webkit-details-marker,.emoji-menu summary::-webkit-details-marker{display:none}.chat-share-panel{position:absolute;z-index:70;right:0;bottom:calc(100% + 9px);width:min(430px,calc(100vw - 48px));padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(15,23,42,.2)}.chat-share-panel label{display:block;font-size:11px;font-weight:800;margin-bottom:6px}.chat-share-panel>input{width:100%;box-sizing:border-box}.chat-share-results{display:grid;gap:5px;max-height:310px;overflow:auto;margin-top:8px}.chat-share-option{display:grid;grid-template-columns:auto 1fr;column-gap:9px;text-align:left;padding:9px;border:0;border-radius:9px;background:#f6f7fa;color:var(--ink);cursor:pointer}.chat-share-option:hover,.chat-share-option:focus{background:#eaf1ff}.chat-share-option>span{grid-row:1/3;align-self:center;font-size:8px;font-weight:900;letter-spacing:.06em;color:var(--red);writing-mode:vertical-rl;transform:rotate(180deg)}.chat-share-option strong{font-size:12px}.chat-share-option small{font-size:10px;color:var(--muted)}.chat-share-empty{margin-top:8px;padding:12px}.emoji-menu>div{position:absolute;z-index:72;right:0;bottom:calc(100% + 9px);display:grid;grid-template-columns:repeat(5,38px);gap:4px;padding:8px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 16px 40px rgba(15,23,42,.2)}.emoji-menu:not([open])>div{display:none}.emoji-menu button{border:0;background:#f5f6f9;border-radius:8px;font-size:20px;padding:6px;cursor:pointer}
.chat-selected-card{max-width:430px;margin-left:auto}.chat-selected-card .shared-card{position:relative}.chat-remove-share{position:absolute;right:7px;bottom:7px;border:0;background:#eef0f5;color:var(--muted);border-radius:7px;padding:5px 7px;cursor:pointer}.shared-card{min-width:min(330px,100%);padding:12px;border:1px solid #e4e8f0;border-left:4px solid var(--red);border-radius:12px}.shared-card-head{display:flex!important;justify-content:space-between;align-items:center;gap:10px;color:inherit!important;letter-spacing:0!important}.shared-card-head em{font-style:normal;font-size:9px;color:var(--red);font-weight:850;letter-spacing:.08em}.shared-card-head .badge{font-size:9px}.shared-card>strong{font-size:15px}.shared-card>small{font-size:11px;color:var(--muted)}.shared-card-footer{display:flex!important;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;color:var(--muted)!important;font-size:11px!important;font-weight:500!important;letter-spacing:0!important}.shared-card-footer b{display:inline-block;padding:6px 10px;border-radius:8px;background:var(--navy);color:#fff;font-size:11px}.shared-card.missing{min-width:0;color:var(--muted)!important}.message{min-width:0}.message .shared-card{max-width:390px}
@media(max-width:680px){.mobile-search-button,.mobile-camera-button{display:inline-grid;place-items:center}.topbar-tools{gap:3px}.top-icon{padding:8px 9px;border-radius:9px}.top-profile{padding:3px;border:0}.top-profile-name,.profile-caret{display:none}.top-profile .avatar{width:33px;height:33px}.topbar>div:nth-child(2){min-width:0}.topbar>div:nth-child(2) h1{font-size:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:105px}.topbar>div:nth-child(2) .eyebrow{font-size:8px}.payment-summary{grid-template-columns:1fr;gap:10px}.payment-summary strong{grid-column:auto}.chat-thread{min-height:70vh}.message{max-width:88%}.shared-card{min-width:0}.chat-compose-actions{justify-content:space-between}.chat-share-panel{position:fixed;left:12px;right:12px;bottom:12px;width:auto;max-height:70vh}.chat-share-results{max-height:48vh}.mobile-search-form{grid-template-columns:1fr}.profile-menu>div{position:fixed;right:12px;top:72px}.chat-page{gap:12px}.chat-list .card{max-height:210px;overflow:auto}}
