@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --ink: #252a2e;
    --muted: #6f7880;
    --line: #dde1e4;
    --surface: #ffffff;
    --canvas: #f6f6f6;
    --green: #555555;
    --green-dark: #41484e;
    --green-soft: #e7eaec;
    --gold: #b88900;
    --gold-soft: #fff5c7;
    --progress: #ffe243;
    --red: #c85c4b;
    --red-soft: #fdeae6;
    --shadow: 0 16px 40px rgba(37, 42, 46, 0.07);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--canvas);
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
}
body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.app-shell { display: flex; min-height: 100vh; }
.sidebar { width: 250px; padding: 28px 18px 22px; background: #eeeeee; border-right: 1px solid #e2eae3; display: flex; flex-direction: column; flex-shrink: 0; }
.brand { display: flex; align-items: center; gap: 11px; padding: 0 11px 37px; }
.brand-mark { width: 35px; height: 35px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 11px 11px 11px 4px; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 18px; box-shadow: 0 5px 12px rgba(47, 109, 87, .2); }
.sidebar-storage-logo { width: 60px; height: 60px; flex: 0 0 60px; object-fit: contain; border-radius: 14px; }
.brand strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 14px; letter-spacing: -.3px; }
.brand span { display: block; color: var(--muted); margin-top: 2px; font-size: 11px; }
.nav-label, .eyebrow { margin: 0; color: #9aa59f; font-size: 10px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; }
.nav-label { padding: 0 13px 10px; }
.primary-nav { display: grid; gap: 4px; }
.nav-link { display: flex; align-items: center; gap: 12px; padding: 11px 13px; color: #66726b; text-decoration: none; border-radius: 9px; font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--green-dark); background: #dfe4e7; }
.nav-icon { width: 17px; color: #87948b; font-size: 19px; line-height: 1; text-align: center; }
.nav-link.active .nav-icon { color: var(--green); }
.nav-count { margin-left: auto; min-width: 22px; padding: 2px 6px; color: var(--green); background: #d8dde0; border-radius: 20px; font-size: 11px; text-align: center; }
.sidebar-note { margin: auto 8px 22px; padding: 17px; background: #e0e4e7; border-radius: 13px; }
.note-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--green); background: #d2d8dc; border-radius: 9px; }
.sidebar-note strong { display: block; margin-top: 12px; font-size: 12px; }
.sidebar-note p { margin: 6px 0 0; color: #738177; font-size: 11px; line-height: 1.55; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; padding: 0 11px; color: #89958d; font-size: 11px; }
.status-dot { width: 7px; height: 7px; background: #5cad75; border-radius: 50%; box-shadow: 0 0 0 3px #d5e9da; }

.main-content { min-width: 0; flex: 1; }
.topbar { height: 78px; padding: 0 5.2%; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .78); }
.breadcrumb { display: flex; align-items: center; gap: 10px; color: #a0aaa4; font-size: 12px; }
.breadcrumb b { color: #c3cbc5; font-weight: 400; }
.breadcrumb strong { color: #4c5952; font-weight: 600; }
.topbar-actions { display: flex; align-items: center; gap: 17px; }
.workspace-switcher { display: grid; gap: 2px; color: var(--muted); font-size: 9px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; }.workspace-switcher select { max-width: 160px; padding: 4px 20px 4px 0; color: var(--green-dark); border: 0; outline: 0; background: transparent; font-size: 11px; font-weight: 700; }
.global-search { width: 220px; display: flex; align-items: center; gap: 9px; padding: 9px 11px; color: #a0aaa4; border: 1px solid var(--line); background: white; border-radius: 8px; }
.global-search input { width: 100%; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 12px; }
.global-search input::placeholder { color: #a5ada8; }
kbd { padding: 2px 5px; color: #9ca6a0; border: 1px solid #e0e5e0; border-radius: 4px; font-size: 10px; }
.storage-meter { width: 150px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 7px; padding: 6px 8px; color: #718078; border: 1px solid var(--line); border-radius: 8px; background: #fbfcfb; }
.storage-meter-icon { color: var(--green); font-size: 14px; line-height: 1; }
.storage-meter-copy { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.storage-meter-copy strong { overflow: hidden; color: #53645a; font-size: 10px; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.storage-meter-copy small { overflow: hidden; color: #9ba69f; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.storage-meter-track { grid-column: 1 / -1; height: 4px; overflow: hidden; background: #e4ebe5; border-radius: 99px; }
.storage-meter-track span { display: block; width: 0; height: 100%; background: var(--progress); border-radius: inherit; transition: width .25s ease, background .25s ease; }
.storage-meter.is-warning .storage-meter-track span { background: var(--gold); }
.storage-meter.is-danger .storage-meter-track span { background: #b64c3f; }
.icon-button, .more-button, .close-button, .mobile-menu { border: 0; color: #829087; background: transparent; }
.account-button { display: inline-flex; align-items: center; gap: 7px; padding: 0; color: #53645a; border: 0; background: transparent; font-size: 11px; font-weight: 700; }
.icon-button { position: relative; font-size: 23px; line-height: 1; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; color: white; background: #41484e; border-radius: 50%; font-size: 10px; font-weight: 700; }
.mobile-menu { display: none; font-size: 20px; }

.page-wrap { max-width: 1440px; margin: 0 auto; padding: 47px 5.2% 64px; }
.page-heading, .section-heading, .toolbar, .panel-heading { display: flex; align-items: center; justify-content: space-between; }
.page-heading { margin-bottom: 34px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; }
h1 { margin: 8px 0 7px; font-size: clamp(27px, 3vw, 38px); letter-spacing: -1.6px; line-height: 1.05; }
.heading-copy { margin: 0; color: var(--muted); font-size: 14px; }
.primary-button, .secondary-button, .filter-button, .text-button { border: 0; font-weight: 700; transition: transform .15s, box-shadow .15s, background .15s; }
.primary-button { display: inline-flex; align-items: center; gap: 7px; padding: 12px 17px; color: white; background: var(--green); border-radius: 8px; box-shadow: 0 6px 13px rgba(47, 109, 87, .17); }
.primary-button:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: 0 8px 16px rgba(47, 109, 87, .22); }
.primary-button span { font-size: 19px; font-weight: 400; line-height: 0; }
.secondary-button { padding: 10px 14px; color: var(--green); background: var(--green-soft); border-radius: 7px; }
.secondary-button:hover { background: #d8dde1; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 48px; }
.stat-card { min-height: 142px; padding: 19px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 4px 14px rgba(37, 42, 46, .025); }
.stat-card.stat-primary { color: white; background: var(--green); border-color: var(--green); box-shadow: 0 10px 22px rgba(47, 109, 87, .16); }
.stat-card.stat-alert { background: #fffbea; border-color: #f2e3a5; }
.stat-topline { display: flex; align-items: center; justify-content: space-between; color: #89948d; font-size: 11px; font-weight: 600; }
.stat-primary .stat-topline { color: #d7dadd; }
.stat-symbol { width: 25px; height: 25px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 7px; font-size: 15px; }
.stat-primary .stat-symbol { color: white; background: rgba(255, 255, 255, .13); }
.stat-alert .stat-symbol { color: var(--gold); background: var(--gold-soft); }
.stat-card > strong { display: block; margin: 14px 0 4px; font-family: 'Space Grotesk', sans-serif; font-size: 31px; letter-spacing: -1px; }
.stat-card p { margin: 0; color: #9ba59f; font-size: 11px; }
.stat-primary p { color: #d7dadd; }
.trend-up { color: #d0d4d7; font-weight: 700; }
.section-heading { margin-bottom: 18px; }
.section-heading h2 { margin: 6px 0 0; font-size: 23px; letter-spacing: -.7px; }
.text-button { padding: 0; color: var(--green); background: transparent; font-size: 12px; }
.text-button span { margin-left: 5px; font-size: 16px; }
.toolbar { margin-bottom: 17px; }
.filter-group { display: flex; gap: 9px; }
.select-wrap { position: relative; }
select { appearance: none; min-width: 138px; padding: 9px 31px 9px 12px; color: #66736b; border: 1px solid var(--line); border-radius: 7px; outline: none; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23859289' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center; font-size: 11px; cursor: pointer; }
select:focus, input:focus, textarea:focus { border-color: #8bb89c; box-shadow: 0 0 0 3px #e2f0e6; }
.filter-button { padding: 9px 12px; color: #829087; background: transparent; border: 1px solid var(--line); border-radius: 7px; font-size: 11px; }
.filter-button.active { color: var(--red); background: var(--red-soft); border-color: #f5d5ce; }
.filter-button span { margin-right: 4px; }
.view-controls { display: flex; gap: 4px; padding: 3px; border: 1px solid var(--line); border-radius: 7px; background: white; }
.view-button { width: 26px; height: 24px; padding: 0; color: #abb5ae; border: 0; border-radius: 5px; background: transparent; font-size: 17px; }
.view-button.active { color: var(--green); background: var(--green-soft); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(240px, .75fr); align-items: start; gap: 17px; }
.panel { padding: 22px; background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); }
.panel-heading { align-items: flex-start; margin-bottom: 20px; }
.panel-heading h3 { margin: 0 0 5px; font-size: 16px; letter-spacing: -.4px; }
.panel-heading p { margin: 0; color: #99a39d; font-size: 11px; }
.more-button { letter-spacing: 2px; font-size: 14px; }
.item-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.item-card { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 12px; border: 1px solid #edf0ed; border-radius: 9px; transition: border-color .15s, box-shadow .15s; }
.item-card:hover { border-color: #ccd3d8; box-shadow: 0 5px 13px rgba(37, 42, 46, .06); }
.item-icon { width: 40px; height: 40px; display: grid; place-items: center; flex-shrink: 0; border-radius: 10px; font-size: 20px; }
.item-photo { width: 40px; height: 40px; overflow: hidden; flex-shrink: 0; border-radius: 10px; }.item-photo img { width: 100%; height: 100%; object-fit: cover; }
.item-icon.orange { background: #fff0df; }.item-icon.blue { background: #e6f0f8; }.item-icon.purple { background: #eee8f7; }.item-icon.green { background: #e6f2e8; }.item-icon.pink { background: #f9e8ed; }
.item-info { min-width: 0; flex: 1; }
.item-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.item-info p { overflow: hidden; margin: 4px 0 0; color: #9aa49e; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.item-description, .item-location { display: inline; }
.item-purchase-details { margin: 4px 0 0; color: #68766d; font-size: 10px; }.item-purchase-details a { color: var(--green); font-weight: 700; text-decoration: none; }.item-purchase-details a:hover { text-decoration: underline; }
.item-meta { text-align: right; }
.item-meta strong { display: block; color: #536159; font-size: 12px; }
.item-meta span { display: block; margin-top: 5px; color: #a3ada6; font-size: 10px; }
.edit-item { margin-top: 7px; padding: 0; color: var(--green); border: 0; background: transparent; font-size: 10px; font-weight: 700; }
.item-card.is-missing { border-color: #f3d7d0; background: #fffdfc; }.item-card.is-missing .item-meta strong { color: var(--red); }
.location-list { display: grid; gap: 14px; margin-bottom: 20px; }
.location-row { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; }
.location-filter-link, .container-browse-row, .report-browse-row { cursor: pointer; }
.location-filter-link:hover { background: #f8fafb; border-radius: 8px; }
.location-icon { width: 28px; height: 28px; display: grid; place-items: center; color: var(--green); background: var(--green-soft); border-radius: 8px; }
.location-row strong { display: block; font-size: 11px; }.location-row p { margin: 3px 0 0; color: #a0aaa4; font-size: 10px; }
.location-bar { width: 58px; height: 5px; overflow: hidden; background: #edf1ed; border-radius: 8px; }.location-bar span { display: block; height: 100%; background: var(--progress); border-radius: inherit; }
.location-row > b { color: #627067; font-size: 11px; font-weight: 600; }
.location-actions { display: flex; gap: 8px; margin-top: 3px; }
.location-actions .secondary-button { flex: 1; }
.shared-container-list { display: grid; gap: 10px; }
.shared-container-card { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid #edf0ed; border-radius: 9px; cursor: pointer; }
.shared-container-card:hover { border-color: #ccd3d8; background: #f8fafb; }
.shared-container-card img, .shared-container-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; overflow: hidden; color: var(--green); background: var(--green-soft); border-radius: 9px; object-fit: cover; }
.shared-container-card strong { display: block; font-size: 13px; }.shared-container-card p, .shared-container-card small { display: block; margin: 3px 0 0; color: var(--muted); font-size: 11px; }.shared-container-card small { color: #9aa49e; }
.share-members { display: grid; gap: 8px; margin-top: 18px; }.share-member-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }.share-member-row strong { color: var(--ink); }
.managed-container-share-list { display: grid; gap: 10px; }.managed-container-share-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px; border: 1px solid #edf0ed; border-radius: 9px; }.managed-container-share-row strong { display: block; font-size: 13px; }.managed-container-share-row p, .managed-container-share-row small { display: block; margin: 3px 0 0; color: var(--muted); font-size: 11px; }.managed-container-share-row small { color: #9aa49e; }
.shared-item-card { cursor: pointer; }.shared-item-card:hover { background: #fbfdfb; }.shared-item-details-modal { max-width: 560px; }.shared-item-description { margin: -3px 0 18px; color: var(--muted); line-height: 1.55; }.shared-item-details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }.shared-item-details-grid div { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }.shared-item-details-grid dt { color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; }.shared-item-details-grid dd { margin: 4px 0 0; color: var(--ink); overflow-wrap: anywhere; font-size: 12px; font-weight: 600; }.shared-item-details-grid a { color: var(--green); }.shared-item-detail-wide { grid-column: 1 / -1; }.shared-item-details-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }.shared-item-details-images img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }.shared-item-details-images .report-empty { grid-column: 1 / -1; }
.management-page { max-width: 900px; }
.reports-page { max-width: 1180px; }
.report-stats { margin-bottom: 30px; }
.report-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.report-panel { min-height: 250px; }
.report-list { display: grid; gap: 16px; }
.report-browse-row { padding: 5px 6px; margin: -5px -6px; border-radius: 7px; }.report-browse-row:hover { background: #f8fafb; }
.report-row { display: grid; grid-template-columns: minmax(0, 1fr) 42px; gap: 6px 12px; align-items: center; }
.report-row-heading { display: flex; justify-content: space-between; gap: 10px; min-width: 0; }
.report-row-heading strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.report-row-heading span { flex-shrink: 0; color: #9ba59f; font-size: 10px; }
.report-row b { grid-column: 2; grid-row: 1 / span 2; color: #627067; text-align: right; font-size: 11px; font-weight: 600; }
.report-bar { height: 6px; overflow: hidden; background: #edf1ed; border-radius: 8px; }
.report-bar span { display: block; height: 100%; background: var(--progress); border-radius: inherit; }
.report-empty { margin: 10px 0; color: #9ba59f; font-size: 12px; }
.report-attention-panel { margin-top: 17px; }
.missing-report-list { display: grid; gap: 8px; }
.missing-report-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; padding: 11px 12px; border: 1px solid #f2e3a5; border-radius: 8px; background: #fffbea; }
.missing-report-row strong, .missing-report-row span { display: block; }
.missing-report-row strong { font-size: 12px; }.missing-report-row span { margin-top: 4px; color: #806700; font-size: 10px; }.missing-report-row b { color: var(--red); font-size: 11px; }
.management-panel { min-height: 260px; }
.form-page { max-width: 720px; }
.settings-page { max-width: 820px; }.settings-panel { max-width: 820px; }.settings-form { display: grid; gap: 17px; }.settings-form label { display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }.settings-form input, .settings-form textarea { width: 100%; min-width: 0; padding: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; outline: 0; background: white; font-size: 12px; }.settings-form textarea { resize: vertical; }.field-help { margin: 0; color: #9ba59f; font-size: 10px; font-weight: 400; line-height: 1.45; }.field-help code, .settings-credential-note code { padding: 1px 4px; color: var(--green-dark); background: var(--green-soft); border-radius: 4px; font-family: monospace; font-size: 10px; }.settings-credential-note { margin: -2px 0 0; padding: 11px 12px; color: #68766d; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); font-size: 11px; line-height: 1.5; }.settings-credential-note strong { color: var(--ink); }.settings-status { align-self: center; margin-right: auto; color: var(--muted); font-size: 11px; }.settings-status.is-warning { color: var(--gold); }.settings-status.is-error { color: var(--red); }
.settings-key-diagnostic { margin: -8px 0 0; color: var(--green); font-family: monospace; font-size: 11px; }.settings-key-diagnostic.is-warning { color: var(--gold); }.settings-key-diagnostic.is-error { color: var(--red); }
.settings-usage { margin: -8px 0 0; color: #68766d; font-size: 11px; line-height: 1.5; }
.user-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.user-form label { display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }.user-form input, .user-form select { width: 100%; min-width: 0; padding: 11px; border: 1px solid var(--line); border-radius: 7px; background: white; }.user-list-panel { margin-top: 18px; }.user-list { display: grid; gap: 8px; }.user-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }.user-row strong, .user-row span { display: block; }.user-row span { margin-top: 3px; color: var(--muted); font-size: 11px; }.user-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }.user-row-actions button { padding: 7px 9px; font-size: 10px; }.user-ai-form { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: end; gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }.user-ai-form label { display: grid; gap: 5px; color: #57645c; font-size: 10px; font-weight: 700; }.user-ai-form input, .user-ai-form select { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 7px; background: white; }.user-ai-form .user-ai-toggle { align-self: center; display: flex; align-items: center; gap: 7px; }.user-ai-toggle input { width: auto; }.user-ai-summary { grid-column: 1 / -2; }.user-ai-summary strong { font-size: 10px; }.user-ai-summary span { margin-top: 2px; }
.login-screen { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: #eeeeee; }.login-card { width: min(100%, 410px); display: grid; gap: 15px; padding: 30px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: var(--shadow); }.login-card .brand-mark { margin-bottom: 5px; }.login-card h1 { margin: -5px 0 0; }.login-card > p:not(.eyebrow):not(.login-error) { margin: -8px 0 3px; color: var(--muted); line-height: 1.45; }.login-card label { display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }.login-card input { width: 100%; padding: 11px; border: 1px solid var(--line); border-radius: 7px; }.login-card .primary-button { justify-content: center; }.login-error { margin: -4px 0 0; color: var(--red); font-size: 12px; }
.password-field { position: relative; display: block; }.password-field input { padding-right: 43px; }.password-visibility-toggle { position: absolute; top: 50%; right: 5px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; color: #718078; border: 0; border-radius: 6px; background: transparent; transform: translateY(-50%); }.password-visibility-toggle:hover { color: var(--green-dark); background: var(--green-soft); }.password-visibility-toggle:focus-visible { outline: 2px solid #8bb89c; outline-offset: 1px; }.password-visibility-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }.password-visibility-toggle[aria-pressed="true"] { color: var(--green-dark); }
.primary-button { box-shadow: 0 6px 13px rgba(37, 42, 46, .17); }.primary-button:hover { box-shadow: 0 8px 16px rgba(37, 42, 46, .22); }.stat-card.stat-primary { box-shadow: 0 10px 22px rgba(37, 42, 46, .16); }.marketing-page { color: #2d3439; background: linear-gradient(135deg, #fafbfc 0%, #e8ecef 100%); }.marketing-brand { color: var(--green-dark); }.marketing-hero h1, .coming-soon-card h1 { color: #2d3439; }.marketing-hero > p:not(.eyebrow), .coming-soon-card > p:not(.eyebrow) { color: #626c74; }.marketing-placeholder { border-color: #b9c1c6; box-shadow: 0 18px 40px rgba(37, 42, 46, .08); }.marketing-placeholder h2 { color: #394249; }.marketing-placeholder p:last-child { color: #707a82; }.coming-soon-card { border-color: #d4dadd; box-shadow: 0 18px 40px rgba(37, 42, 46, .1); }
.marketing-page { min-height: 100vh; padding: 22px clamp(20px, 5vw, 80px) 58px; color: #263e32; background: linear-gradient(135deg, #f7fbf7 0%, #e9f3ea 100%); }.marketing-header { display: flex; align-items: center; justify-content: space-between; max-width: 1180px; margin: 0 auto; gap: 18px; }.marketing-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--green-dark); text-decoration: none; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }.marketing-brand .brand-mark { width: 38px; height: 38px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 12px 12px 12px 4px; box-shadow: 0 5px 12px rgba(47, 109, 87, .2); }.marketing-actions { display: flex; align-items: center; gap: 10px; }.marketing-main { max-width: 1180px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(32px, 8vw, 120px); margin: clamp(70px, 15vh, 145px) auto 0; }.marketing-hero { max-width: 650px; }.marketing-hero h1, .coming-soon-card h1 { max-width: 700px; margin: 10px 0 18px; color: #20362a; font-size: clamp(42px, 6vw, 72px); letter-spacing: -3px; }.marketing-hero > p:not(.eyebrow), .coming-soon-card > p:not(.eyebrow) { max-width: 590px; margin: 0; color: #627067; font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }.marketing-hero-actions { margin-top: 30px; }.marketing-placeholder { min-height: 310px; padding: clamp(28px, 5vw, 52px); border: 1px dashed #a9c9b2; border-radius: 24px; background: rgba(255, 255, 255, .68); box-shadow: 0 18px 40px rgba(47, 109, 87, .08); }.marketing-placeholder-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 22px; color: var(--green); border-radius: 14px; background: var(--green-soft); font-size: 25px; }.marketing-placeholder h2 { margin: 9px 0 10px; color: #284535; font-size: 25px; }.marketing-placeholder p:last-child { margin: 0; color: #718078; line-height: 1.6; }.coming-soon-card { width: min(100%, 650px); margin: clamp(90px, 18vh, 180px) auto 0; padding: clamp(32px, 6vw, 60px); border: 1px solid #d6e6d9; border-radius: 24px; background: rgba(255, 255, 255, .8); box-shadow: 0 18px 40px rgba(47, 109, 87, .1); text-align: center; }.coming-soon-card .marketing-placeholder-icon { margin: 0 auto 22px; }.coming-soon-card h1 { margin-inline: auto; font-size: clamp(34px, 5vw, 56px); }.coming-soon-card > p:not(.eyebrow) { margin-inline: auto; }.coming-soon-card .secondary-button { margin-top: 28px; }.login-home-button { justify-self: center; }
.form-page-heading { align-items: flex-start; }
.ai-description-button { justify-self: start; }
.back-button { display: block; margin-bottom: 25px; padding: 0; color: var(--green); border: 0; background: transparent; font-size: 12px; font-weight: 700; }
.item-form-panel form { display: grid; gap: 16px; }
.item-form-panel label { display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }
.item-form-panel input, .item-form-panel textarea, .item-form-panel select { width: 100%; min-width: 0; padding: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; outline: 0; background: white; font-size: 12px; }
.item-form-panel textarea { resize: vertical; }
.quantity-control { display: grid; grid-template-columns: 38px minmax(0, 1fr) 38px; }.quantity-control input { border-radius: 0; text-align: center; }.quantity-step { padding: 0; color: var(--green); border: 1px solid var(--line); background: var(--green-soft); font-size: 20px; line-height: 1; }.quantity-step:first-child { border-radius: 7px 0 0 7px; }.quantity-step:last-child { border-radius: 0 7px 7px 0; }.quantity-step:hover { background: #d7eadc; }
.form-page-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 9px; margin-top: 6px; }
.consume-panel { max-width: 720px; margin-top: 16px; }.consume-form { display: flex; align-items: end; gap: 12px; }.consume-form label { flex: 1; display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }.consume-form input { width: 100%; padding: 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; outline: 0; background: white; font-size: 12px; }
.location-management-list { display: grid; gap: 8px; }.location-management-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(135px, 1fr) auto; align-items: center; gap: 14px; padding: 13px 12px; border: 1px solid #edf0ed; border-radius: 9px; }.location-management-row:hover { border-color: #cce0d1; background: #fbfdfb; }.location-management-name { display: flex; align-items: center; gap: 10px; min-width: 0; }.location-management-name > div { min-width: 0; }.location-management-name strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.location-management-name p { overflow: hidden; margin: 4px 0 0; color: #a0aaa4; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }.location-management-count { color: #627067; font-size: 11px; }.location-management-count span { display: block; margin-top: 3px; color: #a0aaa4; font-size: 10px; }.location-management-actions { display: flex; justify-content: flex-end; gap: 10px; }.edit-location, .delete-location { padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 700; }.edit-location { color: var(--green); }.delete-location { color: var(--red); }
.container-table { display: grid; gap: 8px; }
.container-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 90px auto; align-items: center; gap: 14px; padding: 13px 12px; border: 1px solid #edf0ed; border-radius: 9px; }
.container-row:hover { border-color: #cce0d1; background: #fbfdfb; }
.container-name { display: flex; align-items: center; gap: 10px; min-width: 0; }.container-name strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }.container-name span { width: 28px; height: 28px; display: grid; place-items: center; flex-shrink: 0; color: var(--green); background: var(--green-soft); border-radius: 8px; }
.container-photo { overflow: hidden; }.container-photo img { width: 100%; height: 100%; object-fit: cover; }
.container-location { color: #68766d; font-size: 11px; }.container-location span { display: block; margin-top: 3px; color: #a0aaa4; font-size: 10px; }.container-count { color: #627067; text-align: right; font-size: 11px; }
.container-actions { display: flex; justify-content: flex-end; gap: 8px; }.edit-container, .delete-container { padding: 0; border: 0; background: transparent; font-size: 10px; font-weight: 700; }.edit-container { color: var(--green); }.delete-container { color: var(--red); }
.danger-panel { max-width: 720px; margin-top: 16px; border-color: #f2d9d4; }.danger-button { padding: 10px 14px; color: var(--red); border: 1px solid #f0cfc9; border-radius: 7px; background: var(--red-soft); font-size: 11px; font-weight: 700; }.danger-button:hover { background: #f9dcd7; }
.empty-state { padding: 35px 10px; color: var(--muted); text-align: center; }.empty-icon { font-size: 28px; color: #a5b0a8; }.empty-state h3 { margin: 10px 0 5px; color: var(--ink); font-size: 15px; }.empty-state p { margin: 0; font-size: 12px; }
.item-grid.list-view { grid-template-columns: 1fr; }.item-grid.list-view .item-card { padding: 10px 12px; }
.item-grid.list-view .item-info { align-self: flex-start; }.item-grid.list-view .item-summary { overflow: visible; line-height: 1.4; white-space: normal; }.item-grid.list-view .item-description { display: block; color: #68766d; font-size: 11px; }.item-grid.list-view .item-location { display: block; margin-top: 3px; color: #a0aaa4; }

.modal-backdrop { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; overflow-y: auto; padding: 20px; background: rgba(24, 38, 30, .42); backdrop-filter: blur(3px); }
.modal { width: min(100%, 510px); max-height: calc(100vh - 40px); overflow-y: auto; padding: 25px; background: white; border-radius: 14px; box-shadow: 0 20px 60px rgba(19, 36, 27, .2); }
.modal-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 22px; }.modal-header h2 { margin: 6px 0 0; font-size: 23px; }.close-button { font-size: 27px; line-height: 1; }
.modal form { display: grid; gap: 15px; }.modal label { display: grid; gap: 6px; color: #57645c; font-size: 11px; font-weight: 700; }.optional { color: #a1aba4; font-weight: 400; }
.modal input, .modal textarea, .modal select { width: 100%; min-width: 0; padding: 10px 11px; color: var(--ink); border: 1px solid var(--line); border-radius: 7px; outline: 0; background: white; font-size: 12px; }.modal textarea { resize: vertical; }.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.modal-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 6px; }
.image-preview { width: 100%; padding: 6px; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
.image-preview-grid, .image-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.image-preview-grid img, .image-gallery img { width: 100%; aspect-ratio: 1; overflow: hidden; object-fit: cover; border-radius: 6px; }
.image-gallery { margin: -3px 0 2px; }.image-gallery-empty { grid-column: 1 / -1; margin: 0; padding: 9px 0; color: #9ba59f; font-size: 11px; font-weight: 400; }.image-gallery-hint { margin: -5px 0 0; color: #9ba59f; font-size: 10px; font-weight: 400; }
.item-image-card { position: relative; min-width: 0; }.item-image-card button { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 6px; background: transparent; }.item-image-card button:hover img { opacity: .72; }.image-delete-mark { position: absolute; top: 5px; right: 5px; width: 21px; height: 21px; display: grid; place-items: center; color: white; background: rgba(31, 37, 35, .72); border-radius: 50%; font-size: 17px; line-height: 1; }.image-primary-label { position: absolute; right: 4px; bottom: 4px; padding: 3px 5px; color: white; background: rgba(47, 109, 87, .85); border-radius: 4px; font-size: 8px; font-weight: 700; }
.photo-action-modal { max-width: 360px; }.photo-action-image { display: block; width: 100%; max-height: 300px; margin: -3px 0 18px; object-fit: contain; border-radius: 8px; background: var(--canvas); }.photo-action-buttons { justify-content: stretch; }.photo-action-buttons button { flex: 1; }.danger-button:disabled, .secondary-button:disabled { cursor: not-allowed; opacity: .45; }
.conflict-modal { max-width: 650px; }.conflict-message { margin: -8px 0 15px; color: var(--muted); line-height: 1.5; }.conflict-item-name { margin: 0 0 12px; font-size: 16px; }.conflict-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }.conflict-comparison section { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: var(--canvas); }.conflict-comparison section:last-child { border-color: #f2d9d4; background: #fffaf8; }.conflict-comparison h3 { margin: 0 0 10px; font-size: 13px; }.conflict-details { display: grid; gap: 8px; }.conflict-details div { display: grid; gap: 2px; }.conflict-details span { color: var(--muted); font-size: 10px; }.conflict-details strong { overflow-wrap: anywhere; font-size: 11px; font-weight: 600; }.conflict-footnote { margin: 14px 0 0; color: var(--red); font-size: 11px; }.conflict-actions { margin-top: 18px; }
.toast { position: fixed; z-index: 30; right: 25px; bottom: 25px; display: flex; align-items: center; gap: 12px; max-width: min(420px, calc(100vw - 32px)); padding: 12px 16px; color: white; background: #263e32; border-radius: 8px; box-shadow: var(--shadow); font-size: 12px; }
.toast span { flex: 1; }
.toast-dismiss { flex: 0 0 auto; padding: 5px 8px; color: white; background: transparent; border: 1px solid rgba(255, 255, 255, 0.65); border-radius: 5px; font-size: 11px; cursor: pointer; }

@media (max-width: 1000px) { .stats-grid { grid-template-columns: repeat(2, 1fr); }.content-grid { grid-template-columns: 1fr; }.report-grid { grid-template-columns: 1fr; }.locations-panel { order: -1; }.location-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .sidebar { position: fixed; z-index: 10; top: 0; bottom: 0; left: 0; transform: translateX(-100%); transition: transform .2s; box-shadow: 10px 0 30px rgba(31, 54, 43, .1); }.sidebar.open { transform: translateX(0); }.mobile-menu { display: block; flex: 0 0 auto; }.topbar { width: 100%; min-width: 0; gap: 8px; padding: 0 14px; }.breadcrumb { display: none; }.topbar-actions { min-width: 0; flex: 1; justify-content: flex-end; gap: 8px; }.workspace-switcher { min-width: 0; max-width: 130px; }.workspace-switcher > span { display: none; }.workspace-switcher select { width: 100%; min-width: 0; max-width: 130px; padding-right: 19px; }.global-search { width: 35px; flex: 0 0 35px; padding: 8px; border: 0; background: transparent; }.global-search input, .global-search kbd { display: none; }.storage-meter { width: 104px; flex: 0 1 104px; padding: 6px; }.account-button { flex: 0 0 auto; }.account-button #account-name, #share-workspace-button { display: none; }.page-wrap { width: 100%; min-width: 0; padding: 32px 20px 45px; }.page-heading { align-items: flex-start; flex-direction: column; gap: 20px; }.stats-grid { gap: 10px; margin-bottom: 35px; }.stat-card { min-width: 0; min-height: 125px; padding: 15px; }.stat-card > strong { font-size: 26px; }.filter-group { max-width: 100%; flex-wrap: wrap; }.filter-group .select-wrap, .filter-group select { min-width: 0; max-width: 100%; }.toolbar { max-width: 100%; align-items: flex-start; gap: 12px; }.panel, .modal { min-width: 0; max-width: 100%; }.user-ai-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }.user-ai-summary { grid-column: 1; }.location-list { grid-template-columns: 1fr; }.item-grid { grid-template-columns: 1fr; }.location-actions { flex-direction: column; }.location-management-row { grid-template-columns: minmax(0, 1fr) auto; gap: 9px; }.location-management-count { grid-column: 2; grid-row: 1; text-align: right; }.location-management-actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: 38px; }.container-row { grid-template-columns: minmax(0, 1fr) 82px; gap: 9px; }.container-location { grid-column: 1; margin-left: 38px; margin-top: -8px; }.container-count { grid-column: 2; grid-row: 1 / span 2; }.container-actions { grid-column: 1 / -1; justify-content: flex-start; margin-left: 38px; } }
@media (max-width: 480px) { .global-search, .storage-meter { display: none; } }
@media (max-width: 420px) { .topbar { padding-inline: 12px; }.topbar-actions { gap: 7px; }.workspace-switcher { max-width: min(150px, 55vw); }.workspace-switcher select { max-width: 100%; }.icon-button { display: none; }.stats-grid { grid-template-columns: 1fr 1fr; }.form-row, .user-ai-form { grid-template-columns: 1fr; }.user-ai-summary { grid-column: 1; }.conflict-comparison { grid-template-columns: 1fr; }.marketing-header { align-items: flex-start; flex-wrap: wrap; }.marketing-actions { width: 100%; }.marketing-actions a { flex: 1; justify-content: center; } }
@media (max-width: 720px) { .marketing-page { width: 100%; max-width: 100%; padding: 18px 22px 40px; overflow-x: hidden; }.marketing-main { min-width: 0; grid-template-columns: 1fr; margin-top: 80px; }.marketing-hero, .marketing-placeholder { min-width: 0; }.marketing-hero h1 { overflow-wrap: anywhere; letter-spacing: -2px; }.marketing-placeholder { min-height: 0; }.marketing-actions { gap: 8px; } }
.marketing-page { background: linear-gradient(135deg, #fafafa 0%, #e9ecef 100%); }
