:root {
  --canvas: #f4f3ed;
  --paper: #fffefa;
  --ink: #23322d;
  --muted: #606b61;
  --green: #345e43;
  --green-light: #e8eee2;
  --line: #e0e3d8;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 17.6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; }
button, input, select, textarea { font: inherit; }
button, select, summary { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; opacity: .4; }
button, input, select, textarea, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #91ad7e; outline-offset: 3px; }
[hidden] { display: none !important; }
.app-shell { max-width: 1512px; margin: 0 auto; padding: 0 58px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; margin-bottom: 22px; border-bottom: 1px solid var(--line); }
.site-header p { margin: 0; color: var(--muted); font-size: 15.4px; }
.status-dot { display: inline-block; width: 6px; height: 6px; flex: 0 0 6px; background: #6b8956; border-radius: 50%; }
h1 { margin: 0; font-size: 26.4px; line-height: 1.3; font-weight: 600; letter-spacing: -.5px; }
.mono { font-family: var(--mono); }
.workspace { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 22px; align-items: stretch; }
.panel { background: var(--paper); border: 1px solid #dbdfd4; border-radius: 12px; box-shadow: 0 2px 3px #38452403, 0 9px 24px #38452403; overflow: hidden; }
.archive-panel { display: flex; flex-direction: column; min-width: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; padding: 23px 20px 18px; }
h2 { font-size: 16.5px; font-weight: 600; letter-spacing: -.15px; margin: 0; }
.count { margin-left: 5px; background: #ecefe6; border-radius: 4px; color: #596753; padding: 1px 5px; font-family: var(--mono); font-size: 14.3px; font-weight: 500; }
.text-button { border: 0; background: none; padding: 4px 0 4px 7px; color: #616b60; font-size: 14.3px; }
.text-button:hover:enabled { color: var(--green); text-decoration: underline; }
.drop-zone { position: relative; display: flex; flex-direction: column; align-items: center; margin: 0 16px; padding: 25px 9px 22px; border: 1px dashed #bdc9b4; border-radius: 7px; color: #626f5b; background: #f6f8f0; text-align: center; font-size: 15.4px; cursor: pointer; transition: border-color .15s, background .15s; }
.drop-zone:hover, .drop-zone.drag-over { background: #edf3e6; border-color: #628457; }
.drop-zone:focus-within { outline: 3px solid #91ad7e; outline-offset: 3px; }
.drop-zone input { opacity: 0; position: absolute; width: 1px; height: 1px; top: 50%; left: 50%; }
.drop-zone strong { display: block; color: #375032; font-size: 15.4px; font-weight: 550; margin-bottom: 7px; }
.browse-link { color: #43623c; text-decoration: underline; text-underline-offset: 3px; }
.drop-zone small { margin-top: 18px; font-size: 13.2px; color: #6c7669; }
.archive-list { padding: 15px 10px 18px; min-height: 124px; }
.archive-empty { white-space: pre-line; color: #717a6f; font-size: 14.3px; line-height: 1.9; text-align: center; padding: 11px 0; margin: 0; }
.archive-item { position: relative; margin-bottom: 5px; border: 1px solid transparent; border-radius: 6px; }
.archive-item.selected { background: #eff3e7; border-color: #dbe4d0; }
.archive-item:not(.selected):hover { background: #f7f8f1; }
.archive-select { display: flex; width: 100%; min-width: 0; gap: 9px; align-items: flex-start; padding: 13px 29px 13px 10px; border: 0; text-align: left; background: transparent; border-radius: 6px; }
.archive-icon { flex: 0 0 25px; height: 30px; display: grid; place-items: center; background: #f4f6ed; color: #617455; border: 1px solid #d3ddc9; border-radius: 3px; font-family: var(--mono); font-size: 12.1px; margin-top: 1px; }
.selected .archive-icon { background: #e0e9d6; border-color: #c0d0b1; }
.archive-name { display: block; font-size: 15.4px; font-weight: 550; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; margin: 1px 0 6px; }
.archive-info { min-width: 0; flex: 1; }
.archive-meta { font-family: var(--mono); color: #697564; font-size: 12.1px; line-height: 1.6; overflow-wrap: anywhere; }
.archive-remove { position: absolute; top: 9px; right: 5px; width: 23px; height: 23px; padding: 0; background: transparent; border: 0; border-radius: 4px; color: #788373; font-size: 20.9px; }
.archive-remove:hover:enabled { color: #625243; background: #e3e8d9; }
.archive-item.failed { border-color: #ecdcca; background: #fcf7ee; }
.archive-item.failed .archive-meta { color: #8e623d; }
.archive-item.queued { opacity: .7; }
.archive-item.opening .archive-icon { animation: pulse 1.2s ease-in-out infinite; }
.archive-warnings { margin: 0 9px 10px 44px; font-size: 13.2px; color: #866841; }
.archive-warnings summary { line-height: 1.7; }
.archive-warnings ul { padding-left: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.sidebar-bottom { margin-top: auto; padding: 0 20px 18px; }
.password-details { border-top: 1px solid var(--line); padding-top: 17px; }
.password-details summary { list-style: none; display: flex; align-items: center; justify-content: space-between; font-size: 14.3px; color: #5b6756; }
.password-details summary::-webkit-details-marker { display: none; }
.password-details summary svg { transition: transform .15s; }
.password-details[open] summary svg { transform: rotate(90deg); }
.password-details p { font-size: 14.3px; line-height: 1.7; color: #657062; margin: 14px 0; }
.password-details label { display: block; font-size: 14.3px; margin-bottom: 7px; }
.optional { font-size: 13.2px; font-weight: 400; margin-left: 6px; color: #717a6d; }
.password-details textarea { font-family: var(--mono); font-size: 14.3px; width: 100%; border: 1px solid #d8ded0; background: #fafbf5; border-radius: 5px; padding: 9px; color: var(--ink); resize: vertical; }
.sidebar-note { color: #717a6b; font-size: 13.2px; line-height: 1.7; margin: 17px 0 0; }
.sidebar-note span { margin-right: 3px; color: #5f7256; }
.contents-panel { display: flex; flex-direction: column; min-width: 0; min-height: 540px; }
.contents-heading { display: flex; justify-content: space-between; align-items: center; padding: 24px 26px 23px; }
.contents-heading h2 { font-size: 17.6px; }
.contents-heading p { color: #71796d; font-size: 14.3px; margin: 7px 0 0; }
.total-size { color: #5f6d59; font-size: 14.3px; background: #f4f6ee; border: 1px solid #e4e9dc; padding: 6px 8px; border-radius: 4px; }
.filter-area { padding: 0 26px; }
.field-label { display: block; font-size: 14.3px; margin-bottom: 9px; font-weight: 500; }
.pattern-wrap { display: flex; align-items: center; position: relative; }
.pattern-wrap > svg { position: absolute; top: 13px; left: 13px; color: #6d7967; pointer-events: none; }
.pattern-wrap input { width: 100%; height: 45px; padding: 0 36px 0 41px; border: 1px solid #d9dfd1; border-radius: 6px; background: #fcfcf8; color: #31402b; font-family: var(--mono); font-size: 15.4px; }
.pattern-wrap input::placeholder { color: #7b8574; }
.pattern-wrap input:focus { border-color: #8da57b; outline: 2px solid #8da57b1f; outline-offset: 0; }
.clear-input { position: absolute; right: 7px; top: 8px; width: 28px; height: 28px; background: transparent; border: 0; color: #707e6b; font-size: 26.4px; border-radius: 4px; }
.clear-input:hover { background: #eef2e6; }
.field-help { margin: 9px 0 21px; color: #717b6e; font-size: 13.2px; line-height: 1.6; }
.field-help .mono { color: #5b6f50; }
.table-toolbar { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding-bottom: 16px; }
.view-tabs { display: inline-flex; gap: 3px; padding: 3px; background: #f0f2e9; border-radius: 6px; }
.view-tab { display: inline-flex; align-items: center; gap: 7px; font-size: 14.3px; color: #6b7767; border: 1px solid transparent; border-radius: 4px; padding: 7px 9px; background: transparent; }
.view-tab span { color: #778372; font-size: 13.2px; font-family: var(--mono); }
.view-tab.active { background: var(--paper); color: #405c39; border-color: #e0e5d7; box-shadow: 0 1px 3px #3642270a; }
.view-tab.active span { background: #e9efdf; color: #5c7450; padding: 1px 4px; border-radius: 3px; }
.source-control { min-width: 0; max-width: 44%; }
.source-control select { max-width: 100%; font-size: 14.3px; color: #63715e; border: 1px solid #e1e6d8; background: #fcfdf8; border-radius: 5px; padding: 7px 24px 7px 9px; text-overflow: ellipsis; }
.empty-state { min-height: 220px; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-top: 1px solid #e8ebe1; text-align: center; padding: 28px; }
.empty-state h3 { font-size: 17.6px; font-weight: 500; letter-spacing: -.2px; margin: 0 0 9px; }
.empty-state p { font-size: 15.4px; color: #6d7969; line-height: 1.8; margin: 0; max-width: 380px; white-space: pre-line; }
.file-table-wrap { overflow-x: auto; border-top: 1px solid #e6eadd; }
.file-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.file-table thead { background: #f7f8f1; }
.file-table th { padding: 12px 13px; color: #758070; font-family: var(--mono); font-size: 12.1px; font-weight: 400; letter-spacing: 1px; text-align: left; border-bottom: 1px solid #e5e9dc; }
.file-table th:first-child, .file-table td:first-child { padding-left: 26px; }
.file-table th:last-child, .file-table td:last-child { width: 91px; padding-right: 26px; text-align: right; }
.file-table th.size-cell { width: 104px; text-align: right; }
.file-table th.archive-cell { width: 24%; }
.file-table td { padding: 14px 13px; border-bottom: 1px solid #edf0e6; }
.file-table tr:last-child td { border-bottom: 0; }
.file-table tbody tr:hover { background: #f9fbf3; }
.file-name { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 15.4px; color: #3b4e34; min-width: 0; }
.file-name-text { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-type-icon { color: #7b8773; flex: 0 0 13px; }
.file-path { margin: 5px 0 0 20px; font-family: var(--mono); font-size: 12.1px; line-height: 1.5; color: #7b8576; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.file-size { text-align: right; font-family: var(--mono); font-size: 13.2px; color: #6d7a67; white-space: nowrap; }
.file-archive { font-family: var(--mono); color: #6a7765; font-size: 12.1px; line-height: 1.6; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.download-button { display: inline-flex; justify-content: center; align-items: center; gap: 5px; color: #536f47; border: 1px solid #dde7d2; border-radius: 4px; padding: 6px 7px; background: #f2f7eb; font-size: 13.2px; }
.download-button:hover:enabled { border-color: #a6bd93; background: #e8f1dd; color: #315727; }
.download-button span { display: none; }
.pagination { display: flex; align-items: center; justify-content: space-between; padding: 15px 26px; border-top: 1px solid #e6eadf; margin-top: auto; }
.pagination p { margin: 0; color: #6d7a67; font-size: 13.2px; }
.page-controls { display: flex; align-items: center; gap: 10px; }
.page-controls span { font-size: 13.2px; color: #6d7a67; }
.page-button { background: #fafbf5; border: 1px solid #e1e7d7; border-radius: 4px; width: 26px; height: 25px; color: #5e7850; }
.page-button:hover:enabled { background: #ecf2e4; }
.contents-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #e6eadf; padding: 13px 26px; color: #757f72; font-size: 13.2px; margin-top: auto; }
.contents-footer > :first-child { display: flex; gap: 6px; align-items: center; min-width: 0; }
.contents-footer .status-dot { width: 5px; height: 5px; flex-basis: 5px; background: #8fa379; }
.contents-footer > .mono { font-size: 12.1px; letter-spacing: 1px; white-space: nowrap; }
.notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid #d6e2c9; background: #edf4e6; color: #567147; font-size: 15.4px; line-height: 1.7; border-radius: 6px; overflow-wrap: anywhere; }
.notice.warning { background: #fcf4e7; border-color: #e9d9bd; color: #836840; }
.notice.error { background: #fff1e9; border-color: #eed4c5; color: #905d41; }
.progress-panel { padding: 18px 20px 0; }
.progress-heading { display: flex; gap: 10px; align-items: center; justify-content: space-between; color: #607452; font-size: 13.2px; }
.progress-heading > :first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.progress-track { height: 4px; border-radius: 4px; overflow: hidden; background: #e8eedf; margin: 9px 0; }
.progress-fill { background: #6d8b54; height: 100%; width: 0; border-radius: inherit; transition: width .12s; }
.progress-track.indeterminate .progress-fill { width: 33%; animation: progress 1.3s ease-in-out infinite; }
.progress-panel p { font-size: 13.2px; line-height: 1.6; color: #717e6b; margin: 0; overflow-wrap: anywhere; }
.noscript-message { background: #fff1e9; border: 1px solid #eed4c5; padding: 18px; border-radius: 6px; color: #905d41; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes pulse { 50% { opacity: .4; } }
@keyframes progress { 0% { transform: translateX(-110%); } 100% { transform: translateX(405%); } }
@media (min-width: 1300px) { .download-button span { display: inline; } .file-table th:last-child, .file-table td:last-child { width: 136px; } }
@media (max-width: 1100px) { .app-shell { padding: 0 30px; } .workspace { grid-template-columns: 265px minmax(0, 1fr); gap: 17px; } .privacy-note { font-size: 13.2px; } .file-table th.archive-cell { width: 21%; } }
@media (max-width: 860px) { .app-shell { padding: 0 22px; } .site-header { min-height: 88px; } .intro { padding: 32px 0 26px; } .privacy-note { display: none; } .workspace { grid-template-columns: 235px minmax(0, 1fr); gap: 14px; } .contents-heading { padding: 22px 18px; } .filter-area { padding: 0 18px; } .field-help { font-size: 12.1px; } .file-table .archive-cell { display: none; } .file-table td.file-archive { display: none; } .file-table th:first-child, .file-table td:first-child { padding-left: 18px; } .file-table th:last-child, .file-table td:last-child { padding-right: 18px; width: 66px; } .file-table th.size-cell { width: 90px; } .file-table td { padding-left: 8px; padding-right: 8px; } .source-control { max-width: 40%; } .source-control select { font-size: 13.2px; } .table-toolbar { flex-wrap: wrap; } .view-tab { font-size: 13.2px; padding: 7px; } .view-tabs { gap: 0; } .pagination, .contents-footer { padding-left: 18px; padding-right: 18px; } .site-footer { font-size: 12.1px; } }
@media (max-width: 650px) { .app-shell { padding: 0 16px; } .site-header { min-height: 78px; } .local-badge { font-size: 13.2px; padding: 7px 9px; } .brand { font-size: 18.7px; gap: 9px; } .brand-mark { width: 36px; height: 35px; font-size: 23.1px; } .brand-caption { font-size: 9.9px; letter-spacing: 1.2px; } .intro { padding: 29px 0 24px; } h1 { font-size: 35.2px; letter-spacing: -1.1px; } .intro-copy { font-size: 15.4px; } .eyebrow { font-size: 12.1px; letter-spacing: 1.2px; } .workspace { grid-template-columns: minmax(0, 1fr); gap: 18px; } .panel-heading { padding-top: 18px; } .drop-zone { padding: 19px 10px; } .drop-zone small { margin-top: 12px; } .upload-icon { width: 35px; height: 35px; margin-bottom: 10px; } .upload-icon svg { width: 21px; height: 21px; } .archive-list { min-height: 0; padding-bottom: 12px; } .archive-empty { padding: 0; } .sidebar-bottom { padding-bottom: 15px; } .sidebar-note { margin-top: 13px; } .contents-panel { min-height: 570px; } .filter-area { padding: 0 18px; } .field-help { font-size: 13.2px; } .table-toolbar { flex-wrap: wrap; } .source-control { max-width: 43%; } .file-table .size-cell { width: 88px !important; } .site-footer { flex-direction: column; gap: 3px; padding-bottom: 24px; } .file-name { font-size: 14.3px; } .file-path { font-size: 12.1px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Compact utility layout. */
main { padding-bottom: 28px; }
@media (max-width: 650px) { .site-header { min-height: 70px; margin-bottom: 16px; } .site-header h1 { font-size: 24.2px; letter-spacing: -.4px; } .site-header p { font-size: 14.3px; } .contents-panel { min-height: 480px; } }

/* Keep larger labels readable on narrow screens. */
@media (max-width: 650px) { .source-control { flex: 1 1 180px; max-width: 100%; } .source-control select { width: 100%; } .pagination, .contents-footer { flex-wrap: wrap; gap: 10px; } }
