:root {
    color-scheme: light;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    color: #242a33;
    background: #e7edf1;
    font-synthesis: none;
    --accent: #245d91;
    --accent-focus: #287fa6;
    --accent-cyan: #2aa9c2;
    --accent-soft: #d7ebf4;
    --accent-teal: #276c70;
    --profile-size: 49px;
    --muted: #526b7c;
    --surface: #eaf1f5;
    --shadow: 9px 9px 22px #c4d3dda8, -8px -8px 22px #ffffffc9;
    --inset: inset 3px 3px 7px #c7d5dfa1, inset -3px -3px 7px #ffffffd9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; min-width: 320px; line-height: 1.5; background: radial-gradient(ellipse at 15% 0%, #f3f8faa6, transparent 50%), #e7edf1; }
h1, h2, h3, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button, input { color: inherit; }
button { border: 0; }
button:disabled { cursor: wait; opacity: .65; }
button, a, input { outline-offset: 5px; }
:focus-visible { outline: 2px solid var(--accent); }
.icon { display: block; width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.app-shell { max-width: 1450px; width: calc(100% - 88px); margin: 50px auto 30px; padding: 24px; border: 1px solid #ffffff9c; border-radius: 46px; background: linear-gradient(130deg, #f2f7faa8, #e7eef3b8 55%, #e1eaf0a1); box-shadow: 15px 18px 38px #bccdd87a, -12px -12px 35px #ffffffc9, inset 4px 4px 12px #ffffffb8, inset -3px -3px 9px #c9d8e270; }
.topbar { min-height: 78px; display: flex; align-items: center; gap: 24px; padding: 11px 17px 11px 28px; border: 1px solid #ffffffba; border-radius: 40px; box-shadow: 5px 8px 14px #bfd0dcb0, -5px -5px 14px #ffffffc4; background: linear-gradient(120deg, #eff5f8, #e5edf3); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 27px; font-weight: 650; letter-spacing: -1.2px; white-space: nowrap; }
.brand-logo { position: relative; display: block; width: var(--profile-size); height: var(--profile-size); flex: 0 0 auto; overflow: hidden; border: 1px solid #ffffffbd; border-radius: 50%; background: linear-gradient(135deg, #f2f7fa, #dfe9f0); box-shadow: 5px 5px 11px #bdcfddc4, -5px -5px 11px #ffffffd9, inset 1px 1px 2px #ffffffc9; transition: box-shadow .2s; }
.brand-logo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 1px 1px 3px #ffffffc9, inset -1px -1px 3px #b8ccdb66; pointer-events: none; }
.brand:hover .brand-logo { box-shadow: 6px 6px 13px #b8ccdbe0, -5px -5px 12px #ffffffd9, inset 1px 1px 2px #ffffffc9; }
.brand:active .brand-logo { box-shadow: var(--inset); }
/* Frame the supplied logo tightly while preserving the original image file. */
.brand-logo img { display: block; width: 200%; height: 200%; max-width: none; object-fit: cover; mix-blend-mode: multiply; transform: translate(-25%, -25%); }
.topbar-tools { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.search-field { display: flex; align-items: center; gap: 11px; width: clamp(170px, 23vw, 320px); padding: 10px 16px; border: 1px solid #ffffffc4; border-radius: 28px; box-shadow: var(--inset); color: #617b8d; }
.search-field input { width: 100%; min-width: 0; border: 0; background: transparent; font-size: 13px; outline: none; }
.search-field:focus-within { outline: 2px solid var(--accent-focus); outline-offset: 3px; }
input::placeholder { color: #6d8495; opacity: 1; }
.search-field .icon { width: 19px; height: 19px; }
kbd { display: grid; place-items: center; width: 20px; height: 21px; border: 1px solid #cbdbe5; border-radius: 5px; font: 11px inherit; color: #6e8393; }
.profile-button, .round-button { display: inline-grid; place-items: center; flex-shrink: 0; border: 1px solid #ffffffbd; background: linear-gradient(135deg, #f2f7fa, #dfe9f0); box-shadow: 4px 4px 9px #bdcfddb8, -4px -4px 9px #ffffffc9; border-radius: 50%; }
.profile-button { width: var(--profile-size); height: var(--profile-size); }
.profile-button .icon { width: 22px; height: 22px; }
.dashboard { display: grid; grid-template-columns: minmax(305px, .98fr) minmax(0, 1.87fr); gap: 22px; margin-top: 27px; }
.sidebar { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0; }
.panel { border: 1px solid #ffffffc9; border-radius: 27px; background: linear-gradient(130deg, #eff6faa6, #e4eef491); box-shadow: var(--shadow); }
.welcome-card { display: grid; grid-template-columns: clamp(96px, 10vw, 136px) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 18px 20px; align-items: center; padding: 24px; }
.welcome-copy { min-width: 0; }
.clock { position: relative; grid-row: 1; justify-self: center; width: 100%; max-width: 136px; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #e0eaf0, #f0f6f9); border: 3px solid #f5fafcb3; box-shadow: inset 3px 3px 5px #aebfcd9c, inset -4px -4px 8px #fff, 2px 2px 6px #ffffffb0; }
.clock-tick { position: absolute; width: 1px; height: 10px; background: #6c8596; left: calc(50% - .5px); top: 10%; }
.tick-3 { top: calc(50% - 5px); left: 86%; transform: rotate(90deg); }
.tick-6 { top: 83%; }
.tick-9 { top: calc(50% - 5px); left: 13%; transform: rotate(90deg); }
.clock-hand { position: absolute; bottom: 50%; left: 50%; border-radius: 4px; transform-origin: bottom center; background: #2d353e; box-shadow: 1px 1px 2px #91a6b5; }
.hour-hand { height: 25%; width: 3px; margin-left: -1.5px; transform: rotate(280deg); }
.minute-hand { height: 34%; width: 2px; margin-left: -1px; transform: rotate(45deg); }
.second-hand { height: 38%; width: 1px; margin-left: -.5px; background: var(--accent-cyan); transform: rotate(180deg); box-shadow: none; }
.clock-pin { position: absolute; width: 7px; height: 7px; left: calc(50% - 3.5px); top: calc(50% - 3.5px); border-radius: 50%; background: #303842; }
.greeting { font-size: 14px; margin-bottom: 0; }
.welcome-copy h2 { font-size: 27px; letter-spacing: -.6px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.welcome-description { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.ready-note { display: flex; align-items: center; gap: 11px; grid-column: 1 / -1; grid-row: 2; margin-top: 0; padding: 12px 13px; border: 1px solid #c9dfe9; border-radius: 16px; background: linear-gradient(110deg, #edf8fca8, #dfeff5a8); box-shadow: inset 1px 1px 2px #ffffffa1, 1px 2px 2px #b9d5e147; }
.sparkle-badge { display: grid; place-items: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.ready-note strong { font-size: 11px; font-weight: 500; }
.ready-note p { margin-top: 2px; font-size: 10px; color: #56768b; }
.summary-card { display: flex; flex-direction: column; min-width: 0; padding: 24px 24px 18px; }
.summary-card .card-heading { flex-wrap: wrap; row-gap: 8px; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-heading h2 { display: flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; letter-spacing: -.2px; }
.card-heading .icon { width: 20px; height: 20px; color: var(--accent); }
.small-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 18px; background: #d8e9f2a3; color: #4d6c82; font-size: 10px; white-space: nowrap; font-weight: 400; }
.small-badge .icon { width: 13px; height: 13px; }
.summary-list { display: flex; flex-direction: column; flex: 1; margin-top: 18px; }
.summary-list > div { flex: 1; display: flex; align-items: center; gap: 16px; min-height: 45px; padding: 10px 12px; border-top: 1px solid #d5e2eb; border-radius: 16px; }
.summary-list .icon { width: 19px; height: 19px; color: var(--accent); }
.summary-list dt { flex: 1; color: var(--muted); font-size: 12px; }
.summary-list dd { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.summary-footnote { display: flex; align-items: center; justify-content: center; gap: 6px; color: #607d90; font-size: 10px; margin-top: 12px; }
.summary-footnote .icon { width: 12px; height: 12px; }
.hero { min-height: 635px; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 66% 65%, #f7fcff9c, transparent 60%), linear-gradient(125deg, #edf4f8, #e0eaf1); }
.hero-copy { position: relative; z-index: 2; padding: 76px 30px 0; pointer-events: none; }
.hero-copy a { pointer-events: auto; }
.eyebrow { font-size: 9px; font-weight: 600; letter-spacing: 1.6px; color: #57778e; }
.hero .eyebrow { display: flex; align-items: center; gap: 7px; font-size: 8px; letter-spacing: 1.3px; }
.status-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--accent-cyan); box-shadow: 0 0 0 3px #2aa9c217; }
h1 { margin-top: 14px; font-size: clamp(44px, 5vw, 71px); font-weight: 650; line-height: 1.15; letter-spacing: -4px; color: #171e26; }
.title-dot { color: var(--accent); }
.hero-subtitle { margin-top: 13px; font-size: clamp(18px, 2vw, 25px); font-weight: 350; letter-spacing: -.65px; }
.hero-description { margin: 26px 0 27px; min-height: 53px; font-size: 16px; line-height: 1.65; color: #526c7e; font-weight: 350; }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 12px 22px; border-radius: 27px; border: 1px solid #202932; background: linear-gradient(130deg, #303943, #20272f); color: #fff; font-size: 13px; font-weight: 500; box-shadow: 4px 6px 10px #aeb2ba70, inset 1px 1px 1px #65707b6b; transition: transform .2s, box-shadow .2s; }
.primary-button .icon { width: 19px; height: 19px; }
.primary-button .icon:last-child:not(:first-child) { width: 16px; margin-left: 3px; }
.primary-button:hover { transform: translateY(-2px); box-shadow: 4px 8px 14px #939aa480; background: #343e49; }
.hero-caption { display: flex; align-items: center; gap: 6px; margin-top: 17px; font-size: 9px; color: #607d90; }
.hero-caption .icon { width: 12px; height: 12px; }
.hero-art { position: absolute; width: 72%; max-width: 620px; right: -4%; bottom: 45px; z-index: 1; pointer-events: none; animation: drift 7s ease-in-out infinite; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-footer { position: absolute; bottom: 22px; left: 30px; right: 28px; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-footer-note { color: #668296; font-size: 10px; letter-spacing: .2px; }
.round-button { width: 39px; height: 39px; }
.round-button .icon { width: 15px; height: 15px; }
.round-button:hover, .profile-button:hover { box-shadow: var(--inset); }
.organizer { margin-top: 26px; padding: 28px 30px; scroll-margin-top: 24px; }
.organizer-header, .results-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.section-title { display: flex; align-items: center; gap: 17px; }
.section-icon { display: grid; place-items: center; width: 51px; height: 51px; border-radius: 17px; background: var(--accent-soft); box-shadow: var(--inset); color: var(--accent); }
.section-icon .icon { width: 25px; height: 25px; }
.organizer h2 { font-size: 22px; font-weight: 550; letter-spacing: -.6px; }
.section-description { margin-top: 4px; font-size: 12px; color: var(--muted); }
#scan-form { margin-top: 26px; }
label { display: block; font-size: 12px; font-weight: 500; }
.input-row { display: flex; gap: 13px; margin-top: 9px; }
.path-input { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; padding: 0 16px; border: 1px solid #ffffffb8; border-radius: 15px; box-shadow: var(--inset); }
.path-input .icon { width: 20px; height: 20px; color: #5d7d93; }
.path-input:focus-within { outline: 2px solid var(--accent-focus); outline-offset: 3px; }
.path-input:has([aria-invalid="true"]) { outline: 2px solid #a36f72; }
.path-input input { width: 100%; min-width: 0; padding: 14px 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.input-row .primary-button { border-radius: 15px; }
.helper { margin-top: 8px; color: var(--muted); font-size: 11px; overflow-wrap: anywhere; }
.scan-note { display: flex; align-items: center; gap: 8px; margin-top: 17px; color: var(--muted); font-size: 11px; }
.scan-note .icon { width: 15px; height: 15px; }
.results { margin-top: 26px; padding-top: 24px; border-top: 1px solid #cfdee8; scroll-margin-top: 28px; }
.results-header h2 { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.count-badge { display: inline-grid; place-items: center; min-width: 25px; height: 24px; padding: 0 7px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 11px; letter-spacing: 0; }
.secondary-button { min-height: 41px; padding: 10px 16px; background: #e8f3f9; border-color: #ffffffa6; color: var(--accent); border-radius: 13px; box-shadow: 3px 3px 8px #bdd0dfa1, -3px -3px 8px #fff9; font-size: 12px; }
.secondary-button .icon { width: 17px; height: 17px; }
.secondary-button:hover { box-shadow: var(--inset); }
.ai-helper { display: flex; align-items: center; gap: 6px; margin: 15px 0; }
.ai-helper .icon { width: 13px; height: 13px; }
.empty-state { display: flex; flex-direction: column; align-items: center; margin-top: 22px; padding: 30px 20px; border: 1px dashed #b9d0df; border-radius: 18px; text-align: center; }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 13px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.empty-icon .icon { width: 25px; height: 25px; }
.empty-state h3 { font-size: 13px; font-weight: 500; }
.empty-state p { max-width: 370px; margin-top: 6px; font-size: 11px; color: var(--muted); }
.error-message { display: flex; align-items: flex-start; gap: 9px; margin-top: 15px; padding: 12px 15px; border: 1px solid #d2b5b8; border-radius: 12px; background: #f0e5e6; color: #81494e; font-size: 12px; overflow-wrap: anywhere; }
.error-message .icon { width: 17px; height: 17px; margin-top: 1px; }
.suggestion-note { display: flex; align-items: center; gap: 7px; margin: 14px 0; font-size: 11px; color: var(--accent-teal); }
.suggestion-note .icon { width: 16px; height: 16px; }
.file-list { margin-top: 17px; overflow: hidden; border: 1px solid #ffffffb3; border-radius: 16px; box-shadow: 2px 2px 6px #c0d2df5c; }
.file-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 12px; text-align: left; }
.file-table th, .file-table td { padding: 15px 18px; vertical-align: middle; overflow-wrap: anywhere; }
.file-table thead { background: #d7e8f36b; color: #526e83; font-size: 10px; }
.file-table th { font-weight: 500; }
.file-table thead th:first-child { width: 58%; }
.file-table.has-suggestions thead th:first-child { width: 43%; }
.file-table tbody tr { border-top: 1px solid #d1e0ea; }
.file-table tbody tr:hover { background: #ffffff45; }
.file-name .cell-value { display: flex; align-items: center; gap: 10px; }
.file-name .icon { width: 18px; height: 18px; color: var(--accent); }
.file-size { color: var(--muted); font-variant-numeric: tabular-nums; }
.cell-label { display: none; }
.extension-badge, .category-badge { display: inline-block; padding: 3px 8px; border-radius: 6px; background: #d4e8f38c; color: var(--accent); font-size: 10px; }
.category-badge { background: #dceff0; color: var(--accent-teal); }
.search-status { margin-top: 12px; font-size: 12px; color: var(--muted); }
.search-status:empty { display: none; }
.app-footer { display: flex; justify-content: space-between; gap: 15px; padding: 23px 8px 0; font-size: 9px; color: #637f92; }
.app-footer span { display: inline-flex; align-items: center; gap: 6px; }
.app-footer .icon { width: 12px; height: 12px; }
dialog { width: min(460px, calc(100% - 32px)); padding: 28px; border: 1px solid #ffffffd1; border-radius: 27px; background: #eaf2f7; color: #242a33; box-shadow: 12px 20px 70px #343b4c40; }
dialog::backdrop { background: #343b4c3d; backdrop-filter: blur(7px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 26px; }
.dialog-header h2 { margin-top: 6px; font-size: 22px; font-weight: 550; letter-spacing: -.6px; }
#display-name { width: 100%; margin-top: 10px; padding: 12px 14px; border: 1px solid #ffffffc4; border-radius: 12px; background: #e5eff6; box-shadow: var(--inset); }
.settings-note { display: flex; align-items: flex-start; gap: 10px; margin: 23px 0; padding: 14px; border-radius: 12px; background: #dcebf4; color: #4f718a; font-size: 11px; }
.settings-note .icon { width: 17px; height: 17px; margin-top: 1px; }
#preferences-form .primary-button { width: 100%; }
.toast { position: fixed; z-index: 10; bottom: 25px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 13px 23px; border: 1px solid #ffffff8a; border-radius: 16px; background: #303743; color: #fff; box-shadow: 0 6px 20px #353b4c30; font-size: 12px; text-align: center; }
.skip-link { position: fixed; left: 20px; top: -70px; z-index: 20; padding: 10px 20px; border-radius: 10px; background: #292f3a; color: #fff; }
.skip-link:focus { top: 15px; }
[hidden] { display: none !important; }
body.pause-animation .hero-art { animation-play-state: paused; }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-.5deg); } 50% { transform: translateY(-9px) rotate(.5deg); } }
@media (min-width: 1600px) { .app-shell { margin-top: 65px; padding: 28px; } .hero { min-height: 700px; } .hero-copy { padding-top: 110px; } .summary-list > div { min-height: 51px; } }
@media (max-width: 1180px) { .app-shell { width: calc(100% - 40px); padding: 20px; margin-top: 25px; border-radius: 35px; } .topbar { gap: 12px; padding-left: 20px; } .brand { font-size: 23px; } .topbar-tools { gap: 13px; } .search-field { width: 190px; } .dashboard { gap: 18px; grid-template-columns: minmax(290px, 1fr) minmax(0, 1.65fr); } .hero-copy { padding-left: 25px; padding-top: 64px; } .hero-art { width: 85%; right: -12%; bottom: 53px; } .hero-subtitle { font-size: 21px; } h1 { font-size: 56px; } .small-badge { padding-left: 7px; padding-right: 7px; font-size: 9px; } .card-heading h2 { font-size: 14px; gap: 8px; } .hero-footer-note { max-width: 120px; } }
@media (max-width: 960px) { .topbar { flex-wrap: wrap; border-radius: 25px; padding: 14px 18px; gap: 12px; } .topbar-tools { margin-left: auto; } .search-field { width: min(37vw, 280px); } .dashboard { grid-template-columns: minmax(260px, .9fr) minmax(0, 1.2fr); gap: 16px; margin-top: 20px; } .welcome-description { font-size: 11px; } .greeting { font-size: 12px; } .welcome-copy h2 { font-size: 23px; } .ready-note p { font-size: 9px; } .sparkle-badge { width: 30px; height: 30px; } .hero-copy { padding: 48px 22px 0; } h1 { font-size: 47px; letter-spacing: -2.7px; } .hero-subtitle { font-size: 18px; } .hero-description { font-size: 14px; margin: 20px 0; } .hero .eyebrow { font-size: 6.5px; letter-spacing: 1px; } .hero-art { width: 112%; right: -16%; bottom: 25px; } .hero { min-height: 596px; } .hero-footer { left: 20px; right: 20px; bottom: 15px; } .hero-footer-note { display: none; } .summary-list > div { gap: 10px; padding-left: 6px; padding-right: 6px; } .summary-list dt { font-size: 11px; } .card-heading h2 { font-size: 13px; } .card-heading .icon { width: 17px; height: 17px; } .small-badge { font-size: 8px; } .organizer { padding: 24px; } }
@media (max-width: 700px) { :root { --profile-size: 36px; } .app-shell { width: calc(100% - 24px); margin: 12px auto; padding: 13px; border-radius: 29px; } .topbar { padding: 12px 14px; gap: 10px; border-radius: 23px; } .brand { font-size: 22px; gap: 8px; } .search-field { width: 130px; padding: 9px 11px; gap: 7px; } .search-field input { font-size: 11px; } kbd { display: none; } .search-field .icon { width: 16px; height: 16px; } .topbar-tools { gap: 10px; } .profile-button .icon { width: 18px; height: 18px; } .dashboard { display: flex; flex-direction: column; gap: 18px; margin-top: 18px; } .hero { order: -1; min-height: 530px; border-radius: 23px; } .hero-copy { padding: 33px 24px 0; } h1 { margin-top: 12px; font-size: 51px; letter-spacing: -3px; } .hero-subtitle { font-size: 20px; margin-top: 7px; } .hero .eyebrow { font-size: 7px; } .hero-description { margin: 17px 0 19px; font-size: 13px; } .hero .primary-button { min-height: 43px; padding: 10px 17px; font-size: 11px; } .hero-art { width: 93%; right: 0; bottom: 24px; } .hero-caption { font-size: 8px; max-width: 140px; align-items: flex-start; } .hero-footer { bottom: 14px; left: 22px; right: 15px; } .hero-footer-note { display: block; font-size: 8px; max-width: 160px; } .round-button { width: 32px; height: 32px; } .welcome-copy h2 { font-size: 25px; } .greeting { font-size: 12px; } .welcome-description { margin-top: 6px; font-size: 12px; } .welcome-description br { display: none; } .ready-note strong { font-size: 10px; } .ready-note p { font-size: 9px; } .card-heading h2 { font-size: 14px; } .card-heading .icon { width: 19px; height: 19px; } .small-badge { font-size: 9px; } .summary-list dt { font-size: 12px; } .summary-list > div { min-height: 42px; padding-left: 9px; padding-right: 9px; gap: 13px; } .organizer { padding: 22px 18px; margin-top: 20px; border-radius: 23px; } .organizer-header > .small-badge { display: none; } .section-title { gap: 12px; } .section-icon { width: 43px; height: 43px; border-radius: 13px; } .organizer h2 { font-size: 18px; } .eyebrow { font-size: 7px; } .section-description { font-size: 11px; } .input-row { flex-direction: column; gap: 11px; } .input-row .primary-button { min-height: 44px; } .scan-note { align-items: flex-start; font-size: 10px; } .scan-note .icon { margin-top: 2px; } .results-header { align-items: flex-start; flex-direction: column; gap: 13px; } .results-header h2 { font-size: 18px; } .suggestion-actions { width: 100%; } .suggestion-actions button { width: 100%; } .file-table, .file-table tbody { display: block; } .file-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } .file-table tbody tr { display: grid; gap: 12px; padding: 17px 14px; } .file-table tbody tr:first-child { border-top: 0; } .file-table tbody th, .file-table tbody td { display: grid; grid-template-columns: 75px minmax(0,1fr); gap: 10px; padding: 0; align-items: start; } .file-table .cell-label { display: block; color: var(--muted); font-size: 10px; font-weight: 400; } .file-name .cell-value { align-items: flex-start; gap: 7px; } .file-name .icon { width: 15px; height: 15px; } .cell-value { min-width: 0; } .extension-badge, .category-badge { justify-self: start; } .app-footer { padding: 20px 5px 5px; font-size: 8px; } .app-footer > span:nth-child(2) { display: none; } }
@media (max-width: 390px) { .search-field { width: 105px; } .topbar-tools { gap: 6px; } .brand { font-size: 20px; } .hero-art { width: 95%; right: 0; bottom: 28px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body.pause-animation { scroll-behavior: auto; }
body.pause-animation *, body.pause-animation *::before, body.pause-animation *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
@media print { body, .app-shell { background: #fff; box-shadow: none; } .app-shell { margin: 0; width: 100%; padding: 0; } .topbar, .dashboard, .app-footer, .suggestion-actions, #scan-form, .toast { display: none; } .organizer { box-shadow: none; border: 0; padding: 0; } }

/* The chatbot carries its own animation; keep its SVG timeline controllable. */
.hero-art--chatbot { animation: none; }
.hero-art--chatbot object { display: block; width: 100%; height: auto; aspect-ratio: 952 / 784; }
@media (min-width: 701px) and (max-width: 960px) {
    .hero:has(.hero-art--chatbot) { min-height: 720px; }
    .hero-art--chatbot { width: 100%; right: 0; bottom: 55px; }
}
@media (max-width: 700px) {
    .hero:has(.hero-art--chatbot) { min-height: 620px; }
    .hero-art--chatbot { width: 100%; right: 0; bottom: 55px; }
}

/* Balanced sidebar cards share the hero height while the mobile stack stays natural. */
@media (min-width: 701px) and (max-width: 1180px) {
    .welcome-card { padding: 22px 18px; column-gap: 16px; }
    .summary-card { padding: 22px 18px 18px; }
}
@media (max-width: 700px) {
    .sidebar { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; gap: 18px; }
    .welcome-card { min-height: 236px; grid-template-columns: clamp(88px, 22vw, 112px) minmax(0, 1fr); padding: 22px; gap: 18px; }
    .summary-card { min-height: 260px; padding: 22px 22px 18px; }
    .ready-note { grid-column: 1 / -1; grid-row: 2; margin-top: 0; }
}
@media (max-width: 390px) {
    .welcome-card { padding: 20px 18px; column-gap: 16px; }
    .summary-card { padding: 20px 18px 18px; }
}

/* Organization plan and selection controls. */
.organization-preview { margin-top: 20px; }
.organization-preview > summary { cursor: pointer; width: fit-content; }
.organization-preview > summary::marker { content: ""; }
.organization-preview > summary::-webkit-details-marker { display: none; }
.organization-preview[open] > summary { margin-bottom: 16px; }
.preview-content { border-top: 1px solid #d1e0ea; padding-top: 16px; }
.preview-content h3 { font-size: 16px; }
.preview-root { overflow-wrap: anywhere; }
.preview-select-all { display: flex; align-items: center; gap: 9px; margin: 16px 0; font-size: 12px; cursor: pointer; }
.organization-preview input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--accent); cursor: pointer; }
.preview-table thead th:first-child { width: 80px; }
.preview-table thead th:nth-child(2) { width: 40%; }
.preview-summary { margin: 14px 0; font-size: 12px; color: var(--accent-teal); }
#preview-selection-count { font-weight: 600; }
#preview-folder-summary { margin-top: 5px; overflow-wrap: anywhere; }

.organize-selected { margin-top: 14px; }
.organize-selected:disabled { opacity: .5; cursor: default; }
.organization-report { margin-bottom: 22px; padding: 16px; border: 1px solid #d1e0ea; border-radius: 14px; }
.organization-report h3 { font-size: 16px; }
.organization-report ul { padding-left: 20px; font-size: 12px; overflow-wrap: anywhere; }

.organization-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 12px 0; }
.organization-toolbar .organize-selected { flex-shrink: 0; margin-top: 0; }
.organization-toolbar .preview-summary { margin: 0; }
.scan-details { margin-top: 24px; }
.scan-details > summary { cursor: pointer; color: var(--muted); font-size: 12px; margin-bottom: 12px; }
@media (max-width: 700px) {
    .organization-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    .organization-toolbar .organize-selected { width: 100%; }
}
