:root {
  --bg: #f7f5f0;
  --paper: #fffefa;
  --sidebar-bg: #eeece5;
  --ink: #34322e;
  --sub: #777168;
  --faint: #928b80;
  --line: #e2ded5;
  --soft: #efebe3;
  --accent: #a9573e;
  --accent-hover: #91472f;
  --accent-soft: #f1e3d9;
  --sidebar: 224px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
button { border: 0; background: none; cursor: pointer; }
button:disabled { opacity: .5; cursor: wait; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #bba48e; outline-offset: 1px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 27px; font-weight: 600; letter-spacing: -.4px; }
h2 { font-size: 21px; font-weight: 600; }
h3 { font-size: 16px; font-weight: 600; }
small, .muted { color: var(--sub); }
svg.icon { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex-shrink: 0; }
.icon.small { width: 16px; height: 16px; }
.hidden { display: none !important; }
.sr-only { position: absolute; clip: rect(0,0,0,0); width: 1px; height: 1px; overflow: hidden; }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.spacer { flex: 1; }
.loading-screen { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 20px; color: var(--sub); }

/* Navigation */
.sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar); background: var(--sidebar-bg); border-right: 1px solid var(--line); display: flex; flex-direction: column; padding: 27px 16px 16px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; padding: 0 10px 27px; }
.brand > .icon { width: 23px; height: 23px; color: #746351; }
.brand-name { font-size: 17px; font-weight: 600; white-space: nowrap; letter-spacing: -.2px; }
.household-switch { display: flex; align-items: center; gap: 9px; width: 100%; padding: 11px 10px; border: 1px solid var(--line); border-radius: 7px; background: #f7f5f0; font-size: 13px; text-align: left; }
.household-switch .icon { color: var(--sub); width: 17px; height: 17px; }
.household-switch span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.household-switch .icon:last-child { margin-left: auto; width: 13px; }
.nav-label { font-size: 11px; color: var(--sub); margin: 25px 11px 9px; }
.nav-list { display: flex; flex-direction: column; gap: 4px; }
.nav-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px; border-radius: 6px; text-align: left; font-size: 13px; color: #69635a; }
.nav-item:hover { background: #e7e3da; }
.nav-item.active { background: #e1dacf; color: #40372e; font-weight: 550; }
.nav-item .icon { width: 18px; height: 18px; }
.nav-count { margin-left: auto; font-size: 12px; font-variant-numeric: tabular-nums; color: #83786b; font-weight: 400; }
.location-nav { margin-top: 2px; overflow: auto; min-height: 65px; }
.location-home { padding: 9px 11px; display: flex; align-items: center; width: 100%; gap: 9px; font-size: 13px; color: #69635a; text-align: left; }
.location-home span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.location-home .icon:first-child { width: 16px; }
.location-home .icon:last-child { width: 12px; margin-left: auto; }
.location-room { padding: 7px 0 7px 35px; color: #81796d; font-size: 12px; width: 100%; text-align: left; display: flex; align-items: center; gap: 9px; }
.location-room:before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #bcb1a2; flex-shrink: 0; }
.location-room:hover, .location-room.active { color: var(--accent); }
.location-room.active:before { background: var(--accent); }
.side-bottom { margin-top: auto; padding-top: 20px; }
.local-card { margin: 10px 4px 0; padding: 14px 7px 2px; border-top: 1px solid var(--line); font-size: 11px; line-height: 1.9; color: #81796d; }
.local-card strong { display: flex; gap: 7px; align-items: center; color: #666052; font-weight: 500; }
.online-dot { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: #859078; }
.workspace { margin-left: var(--sidebar); min-height: 100vh; }
.topbar { height: 65px; padding: 0 36px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.breadcrumb { font-size: 12px; color: var(--faint); display: flex; align-items: center; gap: 12px; }
.breadcrumb .icon { width: 15px; height: 15px; }
.breadcrumb strong { font-weight: 400; color: #686156; }
.top-actions { display: flex; gap: 17px; align-items: center; }
.connection-state { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--sub); }
.round-btn { width: 31px; height: 31px; display: grid; place-items: center; color: #81776b; border-radius: 6px; }
.round-btn:hover { background: var(--soft); }
.round-btn .icon { width: 18px; }
.icon-btn.mobile-menu, .sidebar-scrim { display: none; }

/* Inventory */
.main { max-width: 1420px; margin: 0 auto; padding: 33px 36px 26px; }
.page-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 25px; }
.page-heading p { font-size: 13px; color: var(--sub); margin-top: 8px; line-height: 1.7; }
.title-count { font-size: 15px; color: #8b8173; margin-left: 12px; vertical-align: middle; font-weight: 400; }
.btn { padding: 10px 15px; border: 1px solid #d9d2c6; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 12px; background: var(--paper); white-space: nowrap; min-height: 39px; }
.btn:hover { background: var(--soft); border-color: #bdb2a2; }
.btn .icon { width: 17px; height: 17px; }
.btn.primary, .btn.green { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.primary:hover, .btn.green:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.subtle { background: transparent; border-color: transparent; }
.btn.subtle:hover { background: var(--soft); }
.btn.danger { color: #a44836; border-color: #dcc2b8; }
.btn.small { padding: 7px 11px; min-height: 32px; font-size: 11px; }
.icon-btn { width: 33px; height: 33px; display: inline-grid; place-items: center; border-radius: 6px; color: #81766b; }
.icon-btn:hover { background: var(--soft); color: #4e4135; }
.icon-btn .icon { width: 18px; }
.overview { display: grid; grid-template-columns: repeat(4,1fr); padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.stat { display: flex; align-items: center; gap: 13px; padding: 0 23px; text-align: left; border-right: 1px solid var(--line); }
.stat:first-child { padding-left: 0; }
.stat:last-child { border: 0; }
.stat-icon { display: none; }
.stat-num { font-size: 22px; font-weight: 500; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-num small { font-size: 11px; font-weight: 400; margin-left: 5px; color: var(--sub); }
.stat-label { font-size: 12px; color: var(--sub); margin-top: 7px; }
.search-section { margin-bottom: 21px; }
.search-box { display: flex; align-items: center; gap: 13px; background: var(--paper); border: 1px solid #d9d1c5; border-radius: 9px; padding: 0 15px; }
.search-box:focus-within { border-color: #a9917b; box-shadow: 0 0 0 2px #d8cabc4d; }
.search-box > .icon { color: #8c7b68; width: 21px; height: 21px; }
.search-box input { flex: 1; border: 0; background: transparent; height: 53px; min-width: 0; font-size: 14px; outline: none; }
.search-box input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-box input::placeholder { color: #8d8477; }
.search-key { font-family: inherit; color: #978c7e; font-size: 11px; border: 1px solid var(--line); border-radius: 4px; padding: 2px 5px; white-space: nowrap; }
.search-suggestions { display: flex; align-items: center; gap: 11px; margin-top: 10px; color: #82796d; font-size: 11px; flex-wrap: wrap; }
.search-suggestions button { font-size: 11px; color: #776b5e; padding: 0; text-decoration: underline; text-decoration-color: #cdc2b3; text-underline-offset: 3px; }
.search-suggestions button:hover { color: var(--accent); }
.filterbar { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 20px; gap: 10px; }
.tabs { display: flex; gap: 23px; flex-shrink: 0; }
.tab { padding: 11px 0 14px; color: #82776a; font-size: 13px; position: relative; display: flex; gap: 7px; align-items: center; }
.tab.active { color: #4a4035; font-weight: 550; }
.tab.active:after { position: absolute; content: ""; height: 2px; background: #8f745b; bottom: -1px; left: 0; right: 0; }
.tab-count { font-size: 10px; line-height: 1; padding: 3px 5px; background: #eae4da; color: #7d6d5b; border-radius: 4px; }
.filters { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
.filters select { border: 0; background: transparent; max-width: 130px; font-size: 12px; color: #7b6f60; cursor: pointer; padding: 8px 2px; }
.view-toggle { display: flex; gap: 2px; border: 1px solid var(--line); border-radius: 5px; padding: 2px; background: var(--paper); margin-left: 5px; }
.view-toggle button { padding: 5px; display: grid; place-items: center; color: #9a8e7e; border-radius: 3px; }
.view-toggle button.active { background: #eae3d9; color: #594b3c; }
.view-toggle .icon { width: 14px; height: 14px; }
.result-info { display: flex; align-items: center; gap: 9px; margin: -4px 0 17px; font-size: 12px; color: var(--sub); }
.result-info button { color: var(--accent); font-size: 12px; }
.result-info:empty { display: none; }
.item-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 19px; }
.item-card { background: var(--paper); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; position: relative; }
.item-card:hover { border-color: #bdb09d; }
.item-open { width: 100%; padding: 0; text-align: left; display: block; }
.item-art { height: 166px; position: relative; background: #efebe3; overflow: hidden; }
.item-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-label { position: absolute; top: 10px; left: 11px; color: #746b5f; background: #fffefae6; padding: 3px 5px; border-radius: 3px; font-size: 10px; z-index: 1; }
.favorite-btn { position: absolute; right: 10px; top: 9px; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 6px; background: #fffefacc; color: #9d9181; z-index: 2; }
.favorite-btn .icon { width: 15px; height: 15px; }
.favorite-btn.active { color: #97754f; }
.favorite-btn.active .icon { fill: #e5d1af; stroke: #97754f; }
.quantity-pill { position: absolute; bottom: 10px; right: 11px; background: #fffefad9; border-radius: 4px; color: #786c5d; padding: 4px 7px; font-size: 10px; line-height: 1; }
.item-info { padding: 15px 16px 0; }
.item-name { font-size: 14px; font-weight: 550; line-height: 1.5; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.item-meta { display: flex; align-items: center; gap: 9px; margin-top: 8px; font-size: 11px; color: #817568; height: 17px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; display: inline-block; background: #839079; margin-right: 5px; }
.status { white-space: nowrap; font-size: 11px; color: #6f7863; }
.status.loaned { color: #936d42; }
.status.loaned .status-dot { background: #b4915e; }
.status.low { color: #a15a42; }
.status.low .status-dot { background: #b67358; }
.meta-separator { width: 1px; height: 9px; background: var(--line); }
.card-location { border-top: 1px solid #ece7dd; margin-top: 13px; padding: 12px 0; display: flex; align-items: center; gap: 7px; color: #7a6e5f; font-size: 11px; }
.card-location .icon { width: 13px; height: 13px; }
.card-location span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.card-location .chevron { margin-left: auto; color: #a29686; width: 12px; }
.main-footer { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #8d8274; margin-top: 23px; padding: 14px 0; gap: 12px; }
.main-footer .icon { width: 13px; height: 13px; margin-right: 6px; }
.item-list { display: flex; flex-direction: column; gap: 9px; }
.item-list .item-open { display: flex; align-items: center; }
.item-list .item-art { width: 110px; height: 91px; flex-shrink: 0; }
.item-list .category-label { display: none; }
.item-list .item-info { padding: 0 20px; flex: 1; min-width: 0; display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 16px; align-items: center; }
.item-list .card-location { grid-column: 2; grid-row: 1 / 3; border: 0; margin: 0; padding-right: 24px; }
.item-list .favorite-btn { top: 30px; }
.item-list .quantity-pill { bottom: 5px; right: 5px; }
.empty-state { text-align: center; grid-column: 1/-1; min-height: 265px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #cec4b5; border-radius: 9px; padding: 35px; color: var(--sub); }
.empty-state > .icon { width: 36px; height: 36px; margin-bottom: 15px; color: #aa9983; }
.empty-state h3 { font-size: 16px; margin-bottom: 10px; }
.empty-state p { font-size: 13px; max-width: 380px; line-height: 1.8; margin-bottom: 18px; }

/* Locations, activity and settings */
.panel { border: 1px solid var(--line); border-radius: 9px; background: var(--paper); padding: 25px; }
.places-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.place-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.place-head > .icon { width: 24px; height: 24px; color: #947e65; }
.place-head small { font-size: 12px; margin-top: 5px; display: block; }
.place-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 0; border-top: 1px solid #eee8dd; text-align: left; }
.place-row:hover { color: var(--accent); }
.place-row .icon { color: #9c8b75; width: 18px; }
.place-row strong { font-size: 13px; font-weight: 500; }
.place-row small { display: block; margin-top: 6px; font-size: 12px; }
.place-row .place-count { margin-left: auto; font-size: 11px; white-space: nowrap; color: #897a67; }
.section-intro { color: var(--sub); font-size: 13px; line-height: 1.8; margin-bottom: 24px; }
.timeline { max-width: 840px; }
.activity-row { display: flex; gap: 17px; padding: 0 0 25px; position: relative; }
.activity-row:before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 1px; background: var(--line); }
.activity-row:last-child:before { display: none; }
.activity-icon { flex-shrink: 0; width: 36px; height: 36px; display: grid; place-items: center; background: var(--soft); border-radius: 7px; color: #95816a; }
.activity-icon .icon { width: 16px; }
.activity-body { flex: 1; padding-top: 4px; min-width: 0; }
.activity-body p { font-size: 13px; line-height: 1.7; }
.activity-body p strong { font-weight: 500; }
.activity-body small { font-size: 12px; display: block; margin-top: 5px; line-height: 1.7; overflow-wrap: anywhere; }
.activity-time { font-size: 11px; color: #958775; padding-top: 6px; white-space: nowrap; }
.settings-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
.settings-grid .panel h3 { margin-bottom: 7px; }
.settings-grid .panel p { color: var(--sub); font-size: 13px; line-height: 1.8; margin-bottom: 20px; }
.settings-grid .panel + .panel { margin-top: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; min-width: 0; }
.field label { font-size: 13px; color: #675c4e; font-weight: 500; }
.field input, .field select, .field textarea { border: 1px solid #d9d0c1; border-radius: 6px; padding: 11px 12px; min-height: 42px; background: var(--paper); width: 100%; font-size: 13px; }
.field textarea { resize: vertical; min-height: 90px; line-height: 1.7; }
.field input::placeholder, .field textarea::placeholder { color: #a09483; }
.field small { font-size: 11px; line-height: 1.7; color: #8a7c6b; }
.required { color: var(--accent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row.three { grid-template-columns: 1fr 1fr 1fr; }
.helper-card { padding: 15px; border-radius: 7px; background: #f0ece4; font-size: 12px; line-height: 1.9; color: #7d6f5c; margin-top: 18px; }
.helper-card strong { font-weight: 500; color: #685641; display: block; margin-bottom: 3px; }
.settings-meta { display: flex; justify-content: space-between; border-top: 1px solid #ece5d9; padding: 13px 0; font-size: 12px; }
.settings-meta span:last-child { color: #8a7963; }

/* Forms and details */
dialog { padding: 0; border: 1px solid #d8cdbd; border-radius: 11px; box-shadow: 0 15px 60px #30291f24; background: var(--paper); width: 660px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 60px); color: var(--ink); }
dialog::backdrop { background: #302a214d; }
.modal-head { padding: 23px 26px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 3; background: var(--paper); }
.modal-head h2 { font-size: 19px; }
.modal-head p { font-size: 12px; color: var(--sub); margin-top: 6px; line-height: 1.7; }
.modal-body { padding: 24px 26px; }
.modal-actions { padding: 16px 26px; border-top: 1px solid var(--line); display: flex; justify-content: flex-end; gap: 9px; background: #f8f5ef; position: sticky; bottom: 0; z-index: 2; }
.modal-actions .left-action { margin-right: auto; }
.form-note { font-size: 12px; color: var(--sub); margin-bottom: 20px; line-height: 1.8; }
.photo-upload { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.photo-preview { width: 126px; height: 102px; flex-shrink: 0; border: 1px dashed #c8baa5; border-radius: 7px; background: #f0ece4; display: grid; place-items: center; overflow: hidden; color: #a49279; }
.photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.photo-preview > .icon { width: 30px; height: 30px; }
.photo-upload p { font-size: 11px; color: #8e7e68; margin-top: 9px; line-height: 1.7; }
.upload-buttons { display: flex; gap: 5px; }
.upload-label { cursor: pointer; }
.upload-label input { position: absolute; opacity: 0; max-width: 1px; }
.form-section-title { font-size: 13px; font-weight: 500; color: #7b6852; display: flex; align-items: center; gap: 8px; margin: 9px 0 17px; }
.form-section-title:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.field-label-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.text-link { color: var(--accent); font-size: 12px; padding: 0; }
.details-top { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; margin-bottom: 25px; }
.detail-art { height: 210px; border-radius: 7px; background: var(--soft); overflow: hidden; }
.detail-art img { width: 100%; height: 100%; object-fit: cover; }
.detail-summary { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; justify-content: center; min-width: 0; }
.detail-summary h2 { font-size: 22px; line-height: 1.45; overflow-wrap: anywhere; }
.detail-summary .detail-category { font-size: 12px; color: #8f7c63; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--soft); font-size: 11px; color: #7c684f; padding: 5px 8px; border-radius: 4px; }
.location-callout { background: #f0eae0; border: 1px solid #e3d8c8; border-radius: 7px; padding: 17px; display: flex; gap: 13px; align-items: center; margin-bottom: 22px; }
.location-callout > .icon { width: 23px; height: 23px; color: #917758; }
.location-callout small { display: block; font-size: 11px; color: #8b775d; margin-bottom: 5px; }
.location-callout strong { font-size: 13px; font-weight: 550; line-height: 1.8; }
.location-callout .text-link { margin-left: auto; flex-shrink: 0; }
.detail-data { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; }
.detail-data dt { font-size: 12px; color: #8b7b66; margin-bottom: 7px; }
.detail-data dd { font-size: 13px; margin: 0; line-height: 1.8; overflow-wrap: anywhere; }
.detail-data .full { grid-column: 1/-1; }
.detail-bottom { display: flex; gap: 10px; align-items: center; margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); color: #9a8b77; font-size: 11px; }
.demo-tag { font-size: 10px; padding: 3px 5px; border: 1px solid #e0d4c1; border-radius: 3px; color: #907c61; }
.borrow-note { background: #f6ecdd; border: 1px solid #e8d9c2; border-radius: 7px; padding: 13px; margin-bottom: 20px; font-size: 12px; color: #937242; line-height: 1.9; }
.barcode-preview { padding: 25px; border: 1px dashed #c6b79f; border-radius: 7px; text-align: center; max-width: 400px; margin: 0 auto 20px; background: white; }
.barcode-preview h3 { margin-bottom: 8px; }
.barcode-preview p { font-size: 11px; line-height: 1.8; color: var(--sub); margin-bottom: 15px; }
.barcode-preview svg { max-width: 100%; height: 65px; }
.barcode-digits { font-size: 12px; letter-spacing: 3px; font-family: ui-monospace, SFMono-Regular, monospace; }
.scanner-symbol { margin: 10px auto 20px; width: 70px; height: 70px; background: var(--soft); display: grid; place-items: center; border-radius: 10px; color: #9b7f59; }
.scanner-symbol > .icon { width: 36px; height: 36px; }
.scan-body { text-align: center; }
.scan-body > p { font-size: 13px; line-height: 1.9; color: var(--sub); margin-bottom: 20px; }
.scan-input { text-align: center; font-family: ui-monospace, SFMono-Regular, monospace !important; font-size: 19px !important; letter-spacing: 2px; }
.inline-error { color: #a44d36; background: #f6e8df; padding: 10px 12px; border-radius: 6px; font-size: 12px; line-height: 1.7; margin-bottom: 14px; }
.inline-error:empty { display: none; }
#toast { position: fixed; bottom: 27px; left: calc(50% + var(--sidebar)/2); transform: translate(-50%,15px); background: #504538; color: #fff; box-shadow: 0 6px 20px #30291f1a; padding: 13px 20px; border-radius: 7px; font-size: 13px; z-index: 100; opacity: 0; pointer-events: none; transition: .15s; max-width: calc(100vw - 36px); line-height: 1.6; }
#toast.show { opacity: 1; transform: translate(-50%,0); }
#toast.error { background: #a15b43; }
.login-page { min-height: 100vh; display: grid; grid-template-columns: minmax(0,1fr); place-items: center; background: var(--bg); padding: 25px; }
.login-card { width: 410px; max-width: 100%; padding: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; }
.login-card .brand { padding: 0 0 28px; }
.login-card h2 { margin-bottom: 10px; }
.login-card > p { font-size: 13px; color: var(--sub); line-height: 1.8; margin-bottom: 25px; }
.login-card .btn { width: 100%; }
.login-card .login-foot { margin: 20px 0 0; text-align: center; font-size: 11px; color: #94836c; }
#print-area { display: none; }

@media (min-width:1600px) {
  .item-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .item-art { height: 174px; }
}
@media (max-width:1180px) {
  :root { --sidebar: 210px; }
  .sidebar { padding: 25px 12px 15px; }
  .brand { gap: 8px; padding-left: 7px; }
  .brand-name { font-size: 16px; }
  .topbar { padding: 0 26px; }
  .main { padding: 29px 26px; }
  .stat { padding: 0 17px; }
  .stat-num { font-size: 21px; }
  .item-art { height: 151px; }
  .tabs { gap: 17px; }
  .filters { gap: 5px; }
  .filters select { max-width: 108px; font-size: 11px; }
  .filterbar { flex-wrap: wrap; }
  .item-info { padding: 13px 13px 0; }
  .item-name { font-size: 13px; }
}
@media (max-width:950px) {
  .item-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .item-art { height: 174px; }
  .page-heading { align-items: flex-start; }
  .page-heading > .row { flex-direction: column-reverse; align-items: stretch; gap: 7px; }
  .places-grid, .settings-grid { grid-template-columns: 1fr; }
  .activity-time { max-width: 75px; white-space: normal; line-height: 1.6; }
  .item-list .item-info { display: block; }
  .item-list .card-location { padding: 6px 0 0; }
  .item-list .item-art { height: 105px; }
  .stat-label { font-size: 11px; }
}
@media (max-width:680px) {
  :root { --sidebar: 0px; }
  .sidebar { width: 240px; transform: translateX(-100%); transition: transform .16s; z-index: 41; visibility: hidden; }
  .menu-open .sidebar { transform: translateX(0); visibility: visible; }
  .menu-open .sidebar-scrim { display: block; position: fixed; inset: 0; background: #342c224d; z-index: 40; }
  .workspace { margin-left: 0; }
  .topbar { height: 58px; padding: 0 17px; }
  .icon-btn.mobile-menu { display: inline-grid; }
  .breadcrumb { gap: 8px; font-size: 11px; }
  .breadcrumb > .icon { display: none; }
  .top-actions { gap: 7px; }
  .connection-state { font-size: 10px; gap: 5px; }
  .main { padding: 25px 17px 15px; }
  .page-heading { gap: 10px; margin-bottom: 21px; }
  .page-heading p { font-size: 12px; max-width: 218px; }
  .page-heading h1 { font-size: 24px; }
  .page-heading > .row .btn { font-size: 12px; padding: 9px 11px; min-height: 37px; }
  .page-heading > .row .btn .icon { width: 15px; }
  .page-heading > .row .btn.subtle { padding: 3px 8px; min-height: 27px; }
  .overview { margin-bottom: 20px; padding: 15px 0; }
  .stat { padding: 0 12px; display: block; }
  .stat-num { font-size: 21px; }
  .stat-num small { display: none; }
  .stat-label { font-size: 10px; margin-top: 6px; line-height: 1.5; }
  .search-box { padding: 0 11px; gap: 9px; }
  .search-box input { font-size: 16px; height: 51px; }
  .search-key { display: none; }
  .search-suggestions { gap: 9px; font-size: 11px; }
  .search-suggestions button { font-size: 11px; }
  .filterbar { margin-bottom: 17px; gap: 7px; }
  .tabs { gap: 23px; }
  .tab { font-size: 12px; padding: 9px 0 12px; }
  .filters { width: 100%; justify-content: flex-start; border-top: 1px solid var(--line); padding-top: 4px; margin-bottom: 5px; gap: 7px; }
  .filters select { max-width: 120px; font-size: 11px; }
  .view-toggle { margin-left: auto; }
  .item-grid { gap: 15px 12px; }
  .item-art { height: 138px; }
  .item-info { padding: 12px 11px 0; }
  .item-name { font-size: 13px; }
  .item-meta { font-size: 10px; gap: 6px; }
  .category-label { top: 11px; left: 11px; font-size: 10px; }
  .favorite-btn { top: 8px; right: 8px; width: 25px; height: 25px; }
  .quantity-pill { font-size: 10px; padding: 4px 5px; bottom: 8px; right: 8px; }
  .card-location { padding: 10px 0; margin-top: 10px; font-size: 10px; gap: 5px; }
  .card-location .icon { width: 11px; }
  .card-location .chevron { display: none; }
  .status { font-size: 10px; }
  .main-footer { font-size: 10px; align-items: flex-start; line-height: 1.7; margin-top: 17px; }
  .main-footer > span:last-child { max-width: 150px; text-align: right; }
  .search-section { margin-bottom: 18px; }
  .panel { padding: 20px; }
  .modal-head { padding: 18px 20px 15px; }
  .modal-body { padding: 20px; }
  .modal-actions { padding: 14px 17px; flex-wrap: wrap; gap: 7px; }
  .modal-actions .btn { font-size: 12px; padding: 9px; }
  .field-row { gap: 12px; }
  .field-row.three { grid-template-columns: 1fr 1fr; }
  .field-row.three .field:last-child { grid-column: 1/-1; }
  .field label { font-size: 12px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .details-top { gap: 17px; }
  .detail-art { height: 165px; }
  .detail-summary h2 { font-size: 18px; }
  .detail-summary { gap: 11px; }
  .detail-data { gap: 18px; }
  .location-callout { padding: 13px; gap: 9px; }
  .location-callout strong { font-size: 12px; }
  .detail-data dd { font-size: 12px; }
  .photo-preview { width: 100px; height: 90px; }
  .photo-upload { gap: 13px; }
  .photo-upload p { font-size: 10px; }
  dialog { max-height: calc(100dvh - 25px); max-width: calc(100vw - 20px); border-radius: 10px; }
  .item-list .item-art { width: 90px; }
  .item-list .item-info { padding: 10px 15px; }
  .activity-time { font-size: 10px; }
  .activity-row { gap: 12px; }
  .title-count { font-size: 14px; margin-left: 8px; }
}
@media (max-width:360px) {
  .connection-state { display: none; }
  .stat { padding: 0 8px; }
  .filters { gap: 2px; }
  .filters select { max-width: 95px; }
  .search-suggestions { gap: 7px; }
  .item-art { height: 124px; }
}
@media (prefers-reduced-motion:reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body > * { display: none !important; }
  body { background: #fff; }
  #print-area { display: block !important; color: #000; }
  .print-label { width: 70mm; padding: 5mm; border: 1px dashed #aaa; break-inside: avoid; text-align: center; font-family: sans-serif; }
  .print-label h3 { font-size: 12pt; margin-bottom: 3mm; }
  .print-label p { font-size: 8pt; margin-bottom: 3mm; }
  .print-label svg { width: 58mm; max-height: 18mm; }
  .print-label .barcode-digits { font-size: 9pt; margin-top: 2mm; color: #000; }
  @page { margin: 12mm; }
}

/* PThings members and collection actions */
.brand-copy { display:flex; flex-direction:column; gap:4px; }
.brand-copy .brand-name { font-size:22px; letter-spacing:-.5px; font-weight:600; }
.brand-copy small { font-size:11px; font-weight:400; color:var(--sub); letter-spacing:1px; }
.member-chip { display:flex; align-items:center; gap:7px; padding:7px; border-radius:6px; max-width:180px; font-size:12px; }
.member-chip span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.member-chip .icon { width:15px; }
.wrap { flex-wrap:wrap; }
.auth-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:22px; font-size:12px; line-height:1.8; justify-content:space-between; }
.login-card { width:min(440px,100%); min-width:0; overflow-wrap:anywhere; }
.login-card > .btn + .btn { margin-top:12px; }
.login-card .brand { padding-bottom:25px; }
.family-invite { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; margin-bottom:20px; }
.family-invite code { display:block; font:500 22px ui-monospace,monospace; color:var(--accent); letter-spacing:1px; margin:16px 0; overflow-wrap:anywhere; }
.family-invite p { font-size:13px; line-height:1.8; color:var(--sub); max-width:600px; }
.member-row { display:flex; align-items:center; justify-content:space-between; gap:18px; padding:18px 0; border-bottom:1px solid var(--line); }
.member-row:first-child { padding-top:0; }
.member-row:last-child { border:0; padding-bottom:0; }
.member-row small { display:block; font-size:12px; margin-top:7px; line-height:1.8; overflow-wrap:anywhere; }
.batch-toolbar { display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap; margin:0 0 18px; font-size:12px; min-height:36px; }
.batch-count { font-variant-numeric:tabular-nums; }
.select-item { position:absolute; left:10px; top:10px; z-index:3; width:30px; height:30px; background:var(--paper); display:grid; place-items:center; border:1px solid var(--line); border-radius:6px; cursor:pointer; }
.select-item input { width:18px; height:18px; accent-color:var(--accent); cursor:pointer; }
.item-card.selectable .category-label { left:47px; }
.item-card.selected { border-color:var(--accent); box-shadow:0 0 0 1px var(--accent); }
.operation-items { padding-left:22px; margin:0 0 22px; line-height:2; font-size:14px; max-height:220px; overflow:auto; }
.mfa-setup { text-align:center; margin-bottom:20px; }
.mfa-setup img { width:220px; max-width:100%; }
.mfa-setup code { display:block; word-break:break-all; font-size:15px; padding:14px; background:var(--soft); margin:15px 0; }
.mfa-setup p { font-size:12px; line-height:1.8; color:var(--sub); }
.recovery-codes { display:grid; grid-template-columns:1fr 1fr; gap:10px; background:var(--soft); padding:20px; margin-bottom:20px; }
.recovery-codes code { font-size:14px; }
@media(max-width:680px){
 .top-actions { gap:3px; }
 .member-chip { max-width:96px; font-size:11px; }
 .member-chip .icon { display:none; }
 .family-invite, .member-row { flex-direction:column; align-items:flex-start; gap:14px; }
 .family-invite code { font-size:17px; }
 .login-page { padding:18px; }
 .login-card { padding:26px 22px; }
 .login-card .field input { font-size:16px; }
 .batch-toolbar { gap:10px; }
 .batch-toolbar .row { gap:6px; }
 .recovery-codes { grid-template-columns:1fr; }
 .item-card.selectable .category-label { display:none; }
}
@media(max-width:680px){ .recovery-codes code { font-size:12px; overflow-wrap:anywhere; } }

/* Location hierarchy management */
.place-name { min-width:0; flex:1; overflow-wrap:anywhere; }
.place-head { flex-wrap:wrap; }
.place-actions { display:flex; flex-shrink:0; gap:2px; }
.place-actions .btn { padding:6px 8px; }
.place-room { border-top:1px solid var(--line); padding-top:14px; margin-top:12px; }
.room-heading, .place-entry { display:flex; align-items:center; gap:8px; justify-content:space-between; }
.room-name { display:flex; align-items:center; gap:8px; min-width:0; text-align:left; font-size:13px; }
.room-name strong { overflow-wrap:anywhere; }
.room-name .icon { width:17px; flex-shrink:0; color:var(--sub); }
.place-entry { padding-left:25px; }
.place-entry .place-row { border:0; width:auto; flex:1; min-width:0; padding:12px 0; }
.place-entry .place-row > div { min-width:0; overflow-wrap:anywhere; }
.place-entry .place-row > .icon { margin-left:auto; flex-shrink:0; }
@media(max-width:520px){
 .place-head > .place-actions { width:100%; justify-content:flex-end; }
 .place-entry { padding-left:8px; }
 .place-actions .btn { padding:6px; font-size:12px; }
}

/* Clear quantities and quiet, stationary reminders. */
.reminder-strip { display:flex; align-items:center; gap:12px; padding:14px 16px; margin:-5px 0 22px; background:#f0eae0; border:1px solid #e3d9c9; border-left:3px solid #b3a088; border-radius:7px; color:#79664e; }
.reminder-strip > .icon { width:18px; }
.reminder-strip > div { flex:1; min-width:0; line-height:1.7; }
.reminder-strip strong { display:block; font-size:12px; font-weight:550; }
.reminder-strip span { font-size:12px; }
.reminder-strip button { display:flex; align-items:center; white-space:nowrap; }
.card-stock { display:flex; align-items:baseline; gap:8px; margin:9px 0; color:#5d574e; }
.card-stock strong { font-size:23px; font-weight:550; font-variant-numeric:tabular-nums; }
.card-stock span { font-size:12px; }
.card-stock small { font-size:11px; }
.expiry-badge { display:inline-flex; align-items:center; gap:5px; padding:4px 6px; border-radius:4px; background:#f3ecdf; color:#826d49; font-size:11px; line-height:1.4; }
.expiry-badge .icon { width:13px; height:13px; }
.expiry-badge.expired, .expiry-badge.today { color:#995c48; background:#f3e7e0; }
.expiry-badge.warranty { color:#706d66; background:#ecebe5; }
.stock-actions { display:flex; border-top:1px solid var(--line); margin:0 16px; }
.stock-actions button { flex:1; padding:11px 3px; font-size:12px; color:#82624b; display:flex; align-items:center; justify-content:center; gap:4px; min-height:40px; }
.stock-actions button:hover { background:var(--soft); }
.stock-actions button:disabled { cursor:default; }
.item-grid .item-card { display:flex; flex-direction:column; }
.item-grid .stock-actions { margin-top:auto; }
.item-list .item-art { height:142px; }
.item-list .item-info { grid-template-columns:minmax(0,1fr) minmax(0,1fr); padding-top:14px; padding-bottom:14px; gap:6px 16px; }
.item-list .item-name, .item-list .card-stock, .item-list .item-meta, .item-list .expiry-badge { grid-column:1; }
.item-list .item-meta, .item-list .card-stock { margin:0; }
.item-list .expiry-badge { justify-self:start; }
.item-list .card-location { grid-column:2; grid-row:1 / 5; }
.item-list .stock-actions { justify-content:flex-end; }
.item-list .stock-actions button { flex:0 1 130px; }
.detail-quantity strong { font-size:22px; font-weight:550; }
.detail-quantity { font-size:12px; }
.detail-stock { background:#f4f0e8; border:1px solid var(--line); border-radius:7px; padding:15px; margin-bottom:22px; display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; }
.detail-stock strong { font-size:13px; font-weight:550; }
.detail-stock small { display:block; font-size:11px; line-height:1.7; margin-top:5px; }
.stock-settings { padding:15px; background:#f4f0e8; border:1px solid var(--line); border-radius:7px; margin-bottom:20px; }
.stock-toggle { display:flex; align-items:flex-start; gap:9px; font-size:13px; cursor:pointer; }
.stock-toggle input { margin:2px 0; accent-color:var(--accent); width:16px; height:16px; }
.stock-toggle small { display:block; font-size:11px; line-height:1.8; margin-top:5px; }
#stock-settings-extra { margin-top:18px; }
#stock-settings-extra .form-note { margin-bottom:0; }
.field input:disabled, .field select:disabled { background:#eeece6; color:#898176; cursor:default; }
.stock-balance { display:flex; justify-content:space-between; align-items:center; margin-bottom:22px; }
.stock-balance small { display:block; font-size:12px; margin:5px 0; }
.stock-balance strong { font-size:30px; font-weight:550; font-variant-numeric:tabular-nums; }
.stock-balance strong span { font-size:13px; color:var(--sub); font-weight:400; margin-left:7px; }
.stock-tabs { display:flex; gap:8px; margin-bottom:22px; padding-bottom:14px; border-bottom:1px solid var(--line); }
.stock-tabs .active { background:#eae1d5; border-color:#bba58d; color:#6a5039; }
.stock-preview { margin:0 0 20px; padding:10px 12px; background:#f2eee6; border-radius:6px; font-size:13px; line-height:1.7; }
.count-row { display:grid; grid-template-columns:minmax(0,1.6fr) minmax(0,1fr); gap:12px; }
.count-row input { min-width:0; }
.batch-list { font-size:12px; }
.batch-list > div { display:flex; gap:14px; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--line); }
.batch-list strong { font-weight:500; white-space:nowrap; }
.stock-batch-details, .stock-history { border-top:1px solid var(--line); padding-top:14px; margin-top:20px; }
.stock-batch-details summary, .stock-history summary { font-size:12px; color:var(--sub); cursor:pointer; margin-bottom:14px; }
.stock-history .activity-row { gap:10px; }
.stock-history .activity-time { white-space:normal; max-width:65px; }
.sidebar { overflow-y:auto; }
@media(max-width:700px) {
  .reminder-strip { gap:9px; padding:12px; }
  .reminder-strip > .icon { display:none; }
  .card-stock strong { font-size:21px; }
  .stock-actions { margin:0 12px; }
  .stock-actions button { font-size:11px; }
  .item-list .item-info { display:flex; flex-direction:column; align-items:flex-start; gap:6px; padding:10px 14px; }
  .item-list .item-art { width:85px; height:155px; }
  .item-list .card-location { padding:0; max-width:100%; }
  .item-list .item-name { max-width:calc(100% - 10px); }
  .item-list .item-card .favorite-btn { top:8px; right:8px; }
  .stock-balance { gap:12px; }
  .count-row { grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); gap:8px; }
  .count-row .field input { padding:10px 5px; }
}
#site-registration { padding: 12px 24px; text-align: center; font-size: 12px; color: #77736b; }
#site-registration a { color: inherit; text-decoration: none; }
#site-registration a:hover { text-decoration: underline; }

/* Household catalogs and virtual records use the same quiet, warm palette. */
.recent-tags { margin-top:12px; }
.recent-tags > div { display:flex; flex-wrap:wrap; gap:7px; margin-top:7px; }
.tag-choice { max-width:100%; overflow-wrap:anywhere; padding:5px 9px; border:1px solid var(--line); border-radius:5px; color:var(--sub); font-size:12px; text-align:left; }
.tag-choice:hover,.tag-choice.chosen { background:var(--accent-soft); color:var(--accent); border-color:#d9bba8; }
.category-manager { max-height:360px; overflow:auto; margin-top:12px; }
.category-row { display:flex; justify-content:space-between; gap:14px; align-items:center; padding:12px 0; border-top:1px solid var(--line); }
.category-row > div:first-child { min-width:0; }
.category-row strong { font-weight:500; overflow-wrap:anywhere; }
.category-row small { display:block; margin-top:5px; font-size:11px; }
.virtual-overview { display:grid; grid-template-columns:1fr 1.6fr 1fr; border:1px solid var(--line); border-radius:8px; background:var(--paper); margin-bottom:24px; }
.virtual-overview > div { padding:22px; border-right:1px solid var(--line); }
.virtual-overview > div:last-child { border-right:0; }
.virtual-overview small { font-size:12px; }
.virtual-overview strong { display:block; font-size:28px; font-weight:550; margin-top:12px; font-variant-numeric:tabular-nums; }
.virtual-overview strong > span { font-size:12px; font-weight:400; color:var(--sub); margin-left:7px; }
.virtual-overview .balance-summary { display:flex; flex-wrap:wrap; gap:10px 16px; font-size:20px; }
.virtual-overview .balance-summary > span { margin:0; font-size:22px; font-weight:550; color:var(--ink); }
.virtual-filter { display:flex; flex-direction:column; gap:20px; margin:22px 0 18px; }
.virtual-filter .tabs { flex-wrap:wrap; gap:8px 24px; }
.virtual-search { max-width:620px; }
#virtual-results { font-size:12px; color:var(--sub); margin-bottom:15px; }
.virtual-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.virtual-card { display:flex; flex-direction:column; gap:12px; min-width:0; padding:20px; border:1px solid var(--line); border-radius:8px; background:var(--paper); }
.virtual-card > .row { font-size:11px; }
.virtual-kind { display:flex; align-items:center; gap:6px; color:#8a7058; }
.virtual-title { text-align:left; font-size:17px; font-weight:550; line-height:1.5; overflow-wrap:anywhere; padding:0; }
.virtual-title:hover { color:var(--accent); }
.virtual-owner { color:var(--sub); font-size:12px; margin-top:-6px; overflow-wrap:anywhere; }
.virtual-main-value { margin:6px 0 0; }
.virtual-main-value strong { display:block; font-size:23px; font-weight:550; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.virtual-main-value small { display:block; font-size:11px; line-height:1.7; margin-top:8px; }
.virtual-labels { display:flex; flex-wrap:wrap; gap:6px; min-height:24px; align-items:center; margin-bottom:5px; }
.virtual-actions { display:flex; flex-wrap:wrap; gap:8px; border-top:1px solid var(--line); padding-top:14px; margin-top:auto; }
.virtual-actions > .text-link { margin-left:auto; }
.virtual-empty { grid-column:1 / -1; padding:70px 18px; }
.virtual-footnote { margin-top:24px; }
.virtual-detail-top { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px; margin-bottom:24px; }
.virtual-detail-top strong { display:block; font-size:28px; margin-top:9px; font-weight:550; }
.virtual-detail-top small { font-size:12px; }
.virtual-history > div { border-top:1px solid var(--line); padding:14px 0; }
.virtual-history strong { font-size:13px; font-weight:550; }
.virtual-history small { font-size:11px; }
.virtual-history p { font-size:12px; line-height:1.8; margin-top:7px; }
.preserve-lines { white-space:pre-wrap; overflow-wrap:anywhere; }
#virtual-form [data-kind-fields] { margin-bottom:20px; }
.virtual-history .row { flex-wrap:wrap; }
@media(max-width:1100px) { .virtual-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:680px) {
 .virtual-grid { grid-template-columns:1fr; gap:14px; }
 .virtual-overview { grid-template-columns:1fr 1fr; }
 .virtual-overview > div { padding:16px; }
 .virtual-overview > div:nth-child(2) { border-right:0; }
 .virtual-overview > div:last-child { grid-column:1/-1; border-top:1px solid var(--line); }
 .virtual-overview .balance-summary > span { font-size:20px; }
 .virtual-filter .tab { padding:10px 11px; font-size:12px; }
 .virtual-card { padding:18px; }
 .category-row { gap:8px; }
 .virtual-history .row { align-items:flex-start; flex-direction:column; gap:5px; }
}

/* Remembered devices & UX polish */
.password-input { position:relative; display:flex; align-items:center; }
.password-input input { padding-right:42px; }
.password-toggle { position:absolute; right:5px; width:32px; height:32px; color:var(--sub); }
.remember-box { padding:13px 14px; background:#f4f0e8; border:1px solid var(--line); border-radius:7px; margin-bottom:18px; }
.remember-box .field { margin:12px 0 0; }
.device-remember-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 14px; background:#f4f0e8; border:1px solid var(--line); border-radius:7px; margin-bottom:14px; font-size:12px; color:#675c4e; line-height:1.7; }
.device-list { display:flex; flex-direction:column; }
.device-row { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0; border-top:1px solid var(--line); }
.device-row:first-child { border-top:0; padding-top:4px; }
.device-row:last-child { padding-bottom:0; }
.device-main { min-width:0; flex:1; }
.device-title-line { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
.device-title-line .icon { color:#8a745d; }
.device-title-line strong { font-weight:550; overflow-wrap:anywhere; }
.device-badge { font-size:10px; padding:2px 6px; border-radius:4px; background:var(--accent-soft); color:var(--accent); font-weight:500; white-space:nowrap; }
.device-main small { display:block; margin-top:6px; font-size:11px; line-height:1.7; }
.tag-filter { cursor:pointer; transition:background .12s, color .12s; }
.tag-filter:hover { background:var(--accent-soft); color:var(--accent); }
.copy-value { display:inline-flex; align-items:center; gap:6px; flex-wrap:wrap; }
.inline-copy { width:26px; height:26px; }
.search-clear { width:28px; height:28px; color:#8d8274; }
@media(max-width:680px) {
  .device-row { flex-direction:column; align-items:flex-start; gap:10px; }
  .device-row > .row { width:100%; justify-content:flex-end; }
}
