
*{box-sizing:border-box}
body{margin:0;min-height:100vh}
button,input,select,textarea{font:inherit;color:inherit;border:1px solid var(--line);border-radius:10px;padding:.7rem .9rem}
button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--primary);outline-offset:2px}
button.danger,.error{color:#b3261e}
label{display:grid;gap:.35rem;font-weight:600}small,.muted{color:var(--muted)}
h1,h2,h3,p{margin:0}p{line-height:1.55}img{max-width:100%;object-fit:cover}
[hidden]{display:none!important}.skip{position:fixed;left:-999px}.skip:focus{left:1rem;top:1rem;z-index:9;background:var(--surface);padding:1rem}
#sidebar{position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}
.brand strong{min-width:0;overflow-wrap:anywhere}.brand{display:flex;align-items:center;gap:.65rem}.brand small{display:block;font-weight:500;font-size:.75rem}
nav{display:grid;gap:.4rem}nav button,.side-footer button{background:transparent;border-color:transparent;text-align:left;width:100%}
.side-footer{margin-top:auto;overflow-wrap:anywhere}
.side-footer small{display:block}
main{min-height:100vh}.page{max-width:1320px;margin:auto}
.top,.toolbar,.actions{display:flex;align-items:center;justify-content:space-between;gap:.65rem;flex-wrap:wrap}
.top p{color:var(--muted);margin-top:.45rem}.toolbar input{flex:1;min-width:0}
.panel,.login,.empty{border:1px solid var(--line);border-radius:15px}
.panel{padding:1.15rem;margin-bottom:1rem}.empty{text-align:center;padding:2.5rem;color:var(--muted)}
.pill{display:inline-block;border-radius:100px;padding:.27rem .65rem;width:max-content;font-size:.8rem;font-weight:700}
.pill.low{background:#fbe9cf;color:#784719}
.user-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;align-items:center;padding:1rem;border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.user-row:last-child{border:0}.login{max-width:440px;margin-inline:auto}.login p{margin-bottom:1.2rem}
.stack{display:grid;gap:.85rem}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.75rem}
.form-grid input,.form-grid select,.form-grid textarea{width:100%;min-width:0}.wide{grid-column:1/-1}
dialog{width:min(680px,calc(100% - 1.5rem));max-height:90dvh;border:1px solid var(--line);color:inherit}
dialog::backdrop{background:#17122399}.dialog-head{display:flex;justify-content:space-between;gap:1rem;margin-bottom:1rem}
.detail-photo{border-radius:12px}dl{display:grid;grid-template-columns:1fr 1fr;gap:.7rem}
dt{font-size:.8rem;color:var(--muted)}dd{margin:0;overflow-wrap:anywhere}
#notice:empty{display:none}#notice{position:fixed;z-index:10;right:1rem;bottom:1rem;padding:.8rem 1rem;border-radius:10px;background:#241744;color:white;max-width:calc(100vw - 2rem)}
#reader video{border-radius:10px}.qr{width:160px;height:160px}
@media(max-width:600px){
  .user-row{grid-template-columns:1fr 1fr;font-size:.9rem}
  .form-grid{grid-template-columns:1fr}
  dialog{max-height:85dvh}
}

:root {
  color-scheme: light dark;
  font: 15px Roboto, "Segoe UI", system-ui, sans-serif;
  color: #1c1b20;
  background: #fffbff;
  --primary: #6750a4;
  --rail: #f5effa;
  --surface: #fff;
  --surface-low: #f7f2fa;
  --line: #ddd5e2;
  --muted: #49454f;
  --selected: #e8def8;
  --on-selected: #241744;
}
h1,h2,h3,.brand {font-family:inherit;letter-spacing:normal}
h1 {font-size:1.6rem;line-height:1.25}
h2 {font-size:1.3rem}
#sidebar {width:210px;background:var(--rail);color:inherit;padding:1.3rem 1rem;gap:1.7rem;border-right:1px solid var(--line)}
#sidebar:not([hidden])+main {margin-left:210px}
#sidebar .brand small,.side-footer small {color:var(--muted)}
nav button,.side-footer button {border-radius:100px}
nav button:hover,.side-footer button:hover {background:var(--surface-low)}
nav button[aria-current=page],.chips button[aria-pressed=true] {background:var(--selected);color:var(--on-selected);font-weight:700}
main {padding:1.1rem clamp(1rem,3vw,2.2rem)}
.app-bar {display:flex;align-items:center;justify-content:space-between;gap:.6rem;min-height:70px;padding:0 .4rem;margin-bottom:1.1rem;border-bottom:1px solid var(--line)}
.app-bar strong {font-size:1.2rem;display:block}
.app-bar small {display:block;margin-top:.2rem}
.app-bar button,.text-button {border-color:transparent;color:var(--primary);background:transparent}
.app-bar button:hover,.text-button:hover {background:var(--selected)}
button,input,select,textarea {background:var(--surface);border-color:var(--line);color:inherit}
button:hover {background:var(--surface-low)}
button.primary {border-radius:100px;background:var(--primary);border-color:var(--primary);color:white}
button.primary:hover {filter:brightness(.93);background:var(--primary)}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {outline-color:var(--primary)}
.top {margin-bottom:.4rem}
.toolbar {padding:.55rem 0}
.toolbar input {border-radius:100px;background:var(--surface-low);min-height:46px}
.chips {display:flex;gap:.45rem;overflow:auto;padding:.4rem .125rem .85rem;margin-bottom:.45rem}
.chips button {white-space:nowrap;padding:.45rem .75rem;border-radius:8px}
.chips button[aria-pressed=true] {border-color:transparent}
.results,.history-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem}
.article-card {padding:0;text-align:left;display:flex;min-width:0;flex-direction:column;overflow:hidden;border-radius:16px;background:var(--surface);min-height:140px}
.article-card:hover {box-shadow:0 2px 6px #20183719}
.article-image {width:100%;height:138px;object-fit:cover}
.article-content {display:grid;padding:.85rem 1rem;gap:.34rem;width:100%;overflow-wrap:anywhere}
.article-top {display:flex;align-items:center;justify-content:space-between;gap:.5rem;flex-wrap:wrap}
.article-content strong,.history-card strong {font-size:1.075rem}
.category {border-radius:8px;background:var(--surface-low);padding:.24rem .5rem;font-weight:700;width:max-content}
.pill {color:#1d572c;background:#e4f3e5}
.pill.out {color:#8c1720;background:#ffdada}
.stock-alert {color:#a84c1a;margin:.4rem 0}
.panel,.empty,.login,dialog {background:var(--surface);border-color:var(--line)}
.history-card {display:grid;gap:.3rem;margin:0;overflow-wrap:anywhere}
.login {text-align:center;padding:2rem clamp(1rem,4vw,2.2rem);margin-top:min(9vh,5rem);box-shadow:0 5px 18px #23164115}
.login h1 {font-size:clamp(1.35rem,5vw,1.75rem);margin:.75rem 0 .35rem}
.login .stack {text-align:left}
.login-logo {display:block;width:96px;height:96px;object-fit:cover;border-radius:23px;margin:auto}
.brand-logo {width:38px;height:38px;flex:none;border-radius:10px}
.login .text-button {margin:.15rem auto;padding:.45rem .6rem}
dialog {border-radius:26px;padding:1.35rem}
.dialog-head button {border-radius:100px;line-height:1}
.dialog-head {align-items:center}
 dialog form {margin-top:.9rem}
fieldset {border:1px solid var(--line);border-radius:12px;padding:.65rem;margin:0;min-width:0}
fieldset input[type=file],.file-grid input {max-width:100%;min-width:0}
.radio {display:flex;align-items:center;gap:.65rem;padding:.3rem}
.radio input {accent-color:var(--primary)}
.detail-photo {width:100%;height:clamp(170px,38vw,265px)}
.profile-header,.label-preview {display:flex;align-items:center;gap:1rem;overflow-wrap:anywhere;margin-bottom:.75rem}
.avatar {display:grid;place-items:center;width:64px;height:64px;flex:none;border-radius:50%;color:var(--on-selected);background:var(--selected);font-size:1.6rem}
.profile-actions {display:grid;gap:.5rem;margin-top:.8rem}
.profile-actions button {text-align:left}
.label-preview img {flex:none}
@media(max-width:1150px) {
  .results,.history-list {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px) {
  .app-bar {margin-bottom:.6rem}
  .app-bar strong {font-size:1rem}
  .app-bar small {font-size:.73rem}
  .results,.history-list {grid-template-columns:1fr}
  .article-card {min-height:108px;flex-direction:row}
  .article-image {align-self:stretch;width:25%;height:auto;min-height:115px}
  .fab {position:fixed;right:1rem;bottom:5.15rem;z-index:2;box-shadow:0 3px 12px #18122236}
  .results {padding-bottom:2rem}
  dialog:has(.profile-header) {margin:auto 0 0;width:100%;max-width:none;border-radius:26px 26px 0 0}
  .label-preview img {width:100px;height:100px}
}
@media(prefers-color-scheme:dark) {
  :root {color:#e8e0e9;background:#141218;--primary:#cdbdff;--surface:#1e1b22;--surface-low:#29252f;--rail:#211d28;--line:#4c4555;--muted:#cac4d0;--selected:#4a3965;--on-selected:#efe6ff}
  button.primary {color:#251746}
  .stock-alert {color:#ffc092}
}

/* Desktop navigation and account controls */
#sidebar {width:226px}
#sidebar:not([hidden])+main {margin-left:226px}
.app-bar .touch-actions,.profile-actions .touch-logout {display:none}
.side-footer {border-top:1px solid var(--line);padding-top:.75rem;display:grid;gap:.25rem}
.side-footer #identity {display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:.65rem;padding:.55rem;border-radius:14px;background:var(--surface);border:1px solid var(--line)}
.side-footer #identity:hover {border-color:var(--primary);background:var(--surface-low)}
.account-avatar {display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--selected);color:var(--on-selected);font-weight:700}
.account-label {min-width:0}
.account-label strong,.account-label small {display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.account-arrow {color:var(--primary);font-size:1.35rem}
.side-footer #logout {font-size:.88rem;padding:.55rem .85rem}
nav button {display:flex;align-items:center;min-height:44px;gap:.65rem}
nav button[aria-current=page] {box-shadow:inset 3px 0 0 var(--primary)}

/* Compact windows and touch-first tablets follow Android navigation. */
@media (max-width:767px), (hover:none) and (pointer:coarse) {
  #sidebar {inset:auto 0 0;z-index:4;gap:0;width:auto;border-right:0;border-top:1px solid var(--line);padding:.4rem .45rem max(.4rem,env(safe-area-inset-bottom))}
  #sidebar:not([hidden])+main {margin-left:0;padding-bottom:6rem}
  #sidebar .brand,.side-footer,#navigation [data-page="scan"] {display:none}
  #navigation {display:flex;width:min(100%,680px);margin:auto;gap:.15rem}
  nav button {flex:1;display:grid;justify-items:center;align-content:center;gap:.15rem;min-height:48px;padding:.25rem;text-align:center;font-size:.75rem}
  nav .android-icon {width:22px;height:22px;margin:0}
  nav button[aria-current=page] {box-shadow:none}
  .app-bar .touch-actions {display:flex;gap:.25rem;flex-wrap:nowrap}
  .touch-actions button {width:42px;height:42px;display:grid;place-items:center;padding:0;border-radius:50%;font-size:1.2rem}
  .profile-actions .touch-logout {display:inline-flex}
  dialog:has(.profile-header) {margin:auto auto 0;width:min(100%,680px);border-radius:26px 26px 0 0}
  #notice {bottom:5rem}
}

.android-icon {
  display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle;
  background:currentColor;-webkit-mask:var(--icon) center/contain no-repeat;mask:var(--icon) center/contain no-repeat;
}
button:not([data-page]) > .android-icon {margin-inline-end:.45rem}
#identity .android-icon,.touch-actions .android-icon {margin:0}
.avatar .android-icon {width:44px;height:44px}
.toolbar-avatar {width:32px;height:32px;border-radius:50%}
.current-photo {display:block;width:min(100%,320px);max-height:180px;object-fit:contain;margin:0 auto 1rem;border-radius:12px}
#dialog-content > [data-action="person-status"],#dialog-content > [data-action="remove-photo"] {margin-top:.8rem}
.side-footer #logout,.profile-actions .touch-logout {
  --logout-color:#b3261e;align-items:center;justify-content:center;text-align:center;
  justify-self:center;width:max-content;max-width:100%;color:var(--logout-color);
  border:1px solid var(--logout-color);border-radius:100px;background:transparent;
}
.side-footer #logout {display:inline-flex}
.side-footer #logout:hover,.profile-actions .touch-logout:hover {background:color-mix(in srgb,var(--logout-color) 12%,transparent)}
@media(prefers-color-scheme:dark) {
  .side-footer #logout,.profile-actions .touch-logout {--logout-color:#ffb4ab}
  button.danger {color:#ffb4ab}
}

/* Inventory workspace */
.touch-inventory,.chips.touch-inventory,.results.touch-inventory {display:none}
.page:has(.inventory) > .app-bar {display:none}
.inventory-heading {display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.25rem 0 1.5rem}
.inventory-heading h1 {font-size:clamp(1.9rem,3vw,2.6rem);letter-spacing:-.04em}
.inventory-heading p {margin-top:.25rem}
.inventory-filters {padding:1rem 1.15rem;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.inventory-controls {display:grid;grid-template-columns:minmax(0,2fr) minmax(145px,1fr) auto;align-items:end;gap:.8rem}
.inventory-controls label {min-width:0;font-size:.82rem;color:var(--muted)}
.inventory-controls input,.inventory-controls select,.inventory-low {width:100%;height:43px;background:var(--surface-low);color:inherit;font-size:.93rem}
.inventory-controls input::placeholder {color:var(--muted);opacity:.83}
.inventory-low {display:flex;align-items:center;gap:.55rem;white-space:nowrap}
.inventory-low[aria-pressed=true] {background:var(--selected);color:var(--on-selected);border-color:var(--primary)}
.inventory-low span:not(:empty) {padding:.1rem .44rem;border-radius:20px;background:var(--selected);color:var(--on-selected);font-variant-numeric:tabular-nums}
.inventory-count {margin:1rem .1rem .55rem;color:var(--muted);font-size:.87rem}
.inventory-table {overflow:auto;background:var(--surface);border:1px solid var(--line);border-radius:16px}
.inventory-table table {width:100%;min-width:510px;border-collapse:collapse;text-align:left;font-size:.9rem}
.inventory-table thead {background:var(--surface-low);color:var(--muted)}
.inventory-table th,.inventory-table td {padding:.78rem 1rem}
.inventory-table tbody th,.inventory-table tbody td {border-top:1px solid var(--line)}
.inventory-table tbody th {width:38%;padding:.35rem .75rem}
.inventory-table tbody tr:hover,.inventory-table tbody tr:focus-within {background:var(--surface-low)}
.inventory-table td:nth-child(2),.inventory-table td:nth-child(3) {color:var(--muted);overflow-wrap:anywhere}
.table-article {display:flex;align-items:center;gap:.72rem;width:100%;text-align:left;padding:.35rem .25rem;border:0;background:transparent;overflow-wrap:anywhere}
.table-article strong,.table-article small {display:block}
.table-article small {margin-top:.18rem;font-weight:500}
.inventory-thumb {width:42px;height:42px;border-radius:9px;flex:none}
.article-placeholder {display:grid;place-items:center;color:var(--primary);background:var(--selected)}
.inventory-thumb.article-placeholder .android-icon {width:19px;height:19px}
.table-stock {font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.inventory-table .pill,.article-detail .pill {font-weight:700}
@media (min-width:768px) and (max-width:1050px) {
  .inventory-table th,.inventory-table td {padding-inline:.6rem}
  .inventory-controls {gap:.55rem}
}
@media (max-width:767px), (hover:none) and (pointer:coarse) {
  .inventory .desktop-inventory {display:none}
  .page:has(.inventory) > .app-bar {display:flex}
  .inventory-heading {margin:0}
  .inventory-heading > div {display:none}
  .inventory-heading .fab {position:fixed;right:1rem;bottom:5rem;z-index:2}
  .inventory-filters {padding:0;background:none;border:0}
  .inventory-controls {display:block}
  .inventory-controls input {border-radius:30px}
  .inventory-search > span {position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .chips.touch-inventory {display:flex;margin-top:.55rem}
  .results.touch-inventory {display:grid}
  .inventory .article-image {height:110px}
  .inventory .article-placeholder .android-icon {width:28px;height:28px}
  .inventory-count {margin-top:.48rem}
}
@media (max-width:600px) {
  .inventory .article-image {width:24%;height:auto;min-height:100px}
}

/* The item remains in context behind a side panel on desktop. */
#dialog:has(.article-detail) {inset:0 0 0 auto;margin:0;width:min(500px,100vw);height:100dvh;max-width:none;max-height:none;padding:0;
  border:0;border-left:1px solid var(--line);border-radius:22px 0 0 22px;box-shadow:-12px 0 48px #10101842}
#dialog:has(.article-detail)::backdrop {background:#16112368}
#dialog-content:has(.article-detail) {display:flex;flex-direction:column;height:100%;min-height:0}
#dialog-content:has(.article-detail) .dialog-head {padding:1.25rem 1.35rem .85rem;margin:0;border-bottom:1px solid var(--line)}
#dialog-content:has(.article-detail) .dialog-head h2 {font-size:clamp(1.2rem,3vw,1.55rem);overflow-wrap:anywhere}
#dialog-content:has(.article-detail) .dialog-head button {flex:none;width:38px;height:38px;padding:0}
.article-detail {min-height:0;flex:1;display:flex;flex-direction:column}
.article-detail-main {flex:1;min-height:0;overflow:auto;padding:1.15rem 1.35rem}
.detail-meta {display:flex;align-items:center;gap:.65rem;flex-wrap:wrap;color:var(--muted);font-size:.84rem}
.detail-overview {display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:.65rem;margin:.9rem 0 1.1rem}
.detail-overview section {display:grid;align-content:start;justify-items:start;gap:.4rem;overflow-wrap:anywhere;padding:.9rem;border-radius:14px;background:var(--surface-low)}
.detail-overview section > span:first-child {color:var(--muted);font-size:.8rem;font-weight:700}
.detail-stock > strong {font-size:clamp(1.3rem,4vw,1.65rem);line-height:1.2}
.detail-location > strong {font-size:1.05rem}
.detail-group {margin:1rem 0 0;padding-top:1rem;border-top:1px solid var(--line)}
.detail-group h3 {font-size:1rem}
.detail-group dl {margin:.65rem 0 0}
.detail-group dd {margin-top:.2rem}
.detail-notes p {margin-top:.5rem;color:var(--muted);white-space:pre-wrap;overflow-wrap:anywhere}
.article-detail-actions {padding:.9rem 1.35rem max(.9rem,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--surface)}
.detail-primary-actions,.detail-secondary-actions {display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.detail-secondary-actions {margin-top:.55rem}
.detail-secondary-actions button {padding:.45rem .6rem;font-size:.84rem}
@media (max-width:767px), (hover:none) and (pointer:coarse) {
  #dialog:has(.article-detail) {inset:auto 0 0;margin:0 auto;width:min(600px,100%);height:90dvh;border:0;border-top:1px solid var(--line);border-radius:22px 22px 0 0}
  .article-detail-main,.article-detail-actions,#dialog-content:has(.article-detail) .dialog-head {padding-inline:1rem}
}


/* Desktop actions sit beside the information they affect. */
.article-detail-actions {display:none}
.detail-desktop-tools {margin-inline-start:auto;display:flex;align-items:center;gap:.4rem}
.detail-desktop-tools > button,.detail-menu summary {min-height:36px;padding:.35rem .65rem;font-size:.84rem;border-radius:9px;color:inherit;background:var(--surface)}
.detail-menu {position:relative;z-index:1}
.detail-menu summary {display:grid;place-items:center;min-width:36px;border:1px solid var(--line);cursor:pointer;list-style:none;font-weight:700}
.detail-menu summary::-webkit-details-marker {display:none}
.detail-menu summary:hover,.detail-menu[open] summary {background:var(--surface-low)}
.detail-menu summary:focus-visible {outline:2px solid var(--primary);outline-offset:2px}
.detail-menu-items {position:absolute;inset-block-start:calc(100% + .35rem);inset-inline-end:0;display:grid;min-width:150px;
  padding:.25rem;border:1px solid var(--line);border-radius:12px;background:var(--surface);box-shadow:0 6px 20px #10101840}
.detail-menu-items button {border:0;text-align:left;white-space:nowrap}
.detail-desktop-move {margin:-.35rem 0 1rem}
.detail-desktop-photo {display:flex;justify-content:flex-start;margin-top:.5rem}
.detail-desktop-photo button {font-size:.86rem;padding:.4rem .6rem;background:transparent;border-color:transparent}
.detail-desktop-photo button:hover {background:var(--surface-low);border-color:var(--line)}
@media (max-width:767px), (hover:none) and (pointer:coarse) {
  .detail-desktop-tools,.detail-desktop-move,.detail-desktop-photo,.detail-image-area:not(:has(img)) {display:none}
  .article-detail-actions {display:block}
}

/* File inputs remain native and keyboard accessible beneath the styled control. */
.file-picker {position:relative;display:flex;align-items:center;gap:.75rem;min-width:0;min-height:66px;padding:.65rem .78rem;
  border:1px dashed var(--line);border-radius:12px;background:var(--surface-low);cursor:pointer}
.file-picker:hover,.file-picker:focus-within,.file-picker.has-file {border-color:var(--primary);background:var(--surface)}
.file-picker:focus-within {outline:2px solid var(--primary);outline-offset:2px}
.file-picker input[type=file] {position:absolute;inset:0;width:100%;height:100%;padding:0;border:0;margin:0;opacity:0;cursor:pointer}
.file-picker-badge {width:36px;height:36px;display:grid;place-items:center;flex:none;border-radius:10px;color:var(--on-selected);background:var(--selected)}
.file-picker-copy {display:grid;gap:.15rem;min-width:0;font-size:.87rem}
.file-picker-copy small {font-weight:400;overflow-wrap:anywhere}
.photo-fieldset {padding:.75rem}
.files-workspace {max-width:1050px;margin-inline:auto}
.files-feature {display:grid;grid-template-columns:minmax(0,1.6fr) minmax(105px,.4fr);align-items:center;gap:1.5rem;
  padding:clamp(1.2rem,4vw,2.6rem);border:1px solid var(--line);border-radius:20px;
  background:linear-gradient(125deg,var(--surface),var(--surface-low) 55%,var(--selected))}
.files-feature h1 {font-size:clamp(1.55rem,4vw,2.35rem);letter-spacing:-.035em;line-height:1.15}
.files-feature p {max-width:49ch;margin:.55rem 0 1rem;color:var(--muted)}
.files-sheet {display:grid;grid-template-columns:repeat(2,1fr);gap:8px;justify-self:center;width:min(100%,120px);padding:14px;
  aspect-ratio:3/4;border:1px solid var(--line);border-radius:12px;background:var(--surface);transform:rotate(8deg);box-shadow:0 8px 25px #14121820}
.files-sheet i {border:1px solid var(--line);border-radius:4px;background:linear-gradient(90deg,var(--selected) 48%,transparent 48%) center/72% 55% no-repeat}
.files-operations {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:1rem;margin-top:1rem}
.files-operation {display:flex;flex-direction:column;gap:.65rem;margin:0;padding:1.15rem}
.files-operation h2 {font-size:1.12rem}
.files-operation p {color:var(--muted);margin-bottom:.3rem}
.files-buttons {display:flex;gap:.55rem;flex-wrap:wrap;margin-top:auto}
.files-operation .file-picker {margin-top:auto}
.label-preview > div {min-width:0;overflow-wrap:anywhere}
@media(max-width:600px) {
  .files-feature {grid-template-columns:1fr;gap:.65rem}
  .files-sheet {display:none}
}
