*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}:root{--sidebar-w: 220px;--bg: #111113;--surface: #1c1c1f;--surface2: #28282c;--sidebar-bg: #0d0d0f;--sidebar-text: #e4e4e7;--sidebar-muted: #71717a;--sidebar-active: #ffffff;--sidebar-active-bg: #2a2a2e;--accent: #D4CFCA;--accent-hover: #bfb9b3;--danger: #ef4444;--danger-hover: #dc2626;--success: #22c55e;--text: #f4f4f5;--text1: #f4f4f5;--text2: #a1a1aa;--border: #2e2e33;--radius: 12px;--radius-sm: 8px;--shadow: 0 1px 3px rgba(0,0,0,.4), 0 1px 2px rgba(0,0,0,.3);--shadow-md: 0 4px 6px rgba(0,0,0,.4), 0 2px 4px rgba(0,0,0,.3);--shadow-lg: 0 10px 15px rgba(0,0,0,.5), 0 4px 6px rgba(0,0,0,.4)}body{font-family:Poppins,-apple-system,BlinkMacSystemFont,sans-serif;background:var(--bg);color:var(--text);line-height:1.5;font-size:14px}.app-layout{display:flex;min-height:100vh}.sidebar{width:var(--sidebar-w);background:var(--sidebar-bg);display:flex;flex-direction:column;position:fixed;top:0;left:0;bottom:0;z-index:100}.sidebar-brand{padding:20px 20px 16px;border-bottom:1px solid var(--border)}.sidebar-logo{height:30px;width:auto;display:block}.sidebar-brand-fallback{font-size:18px;font-weight:700;color:#fff;letter-spacing:-.5px}.sidebar-nav{padding:12px 0;flex:1}.sidebar-nav a{display:flex;align-items:center;gap:10px;padding:10px 20px;color:var(--sidebar-muted);text-decoration:none;font-size:13px;font-weight:500;border-radius:0;transition:color .15s,background .15s}.sidebar-nav a:hover{color:var(--sidebar-active);background:var(--sidebar-active-bg)}.sidebar-nav a.active{color:var(--accent);background:#d4cfca14}.main-content{margin-left:var(--sidebar-w);flex:1;height:100vh;overflow:hidden;display:flex;flex-direction:column}.page-header{background:var(--surface);border-bottom:1px solid var(--border);padding:20px 32px;display:flex;align-items:center;justify-content:space-between;gap:16px}.page-header h2{font-size:20px;font-weight:600;letter-spacing:-.3px}.page-header p{color:var(--text2);font-size:13px;margin-top:2px}.page-body{padding:28px 32px;flex:1;overflow-y:auto;min-height:0}.btn{display:inline-flex;align-items:center;gap:6px;padding:8px 16px;border-radius:var(--radius-sm);font-size:13px;font-weight:500;cursor:pointer;border:none;transition:background .15s,transform .1s,opacity .15s;font-family:inherit;white-space:nowrap}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:var(--accent);color:#111113}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-secondary{background:var(--surface2);color:var(--text);border:1px solid var(--border)}.btn-secondary:hover:not(:disabled){background:var(--border)}.btn-danger{background:var(--danger);color:#fff}.btn-danger:hover:not(:disabled){background:var(--danger-hover)}.btn-ghost{background:transparent;color:var(--text2);border:1px solid var(--border)}.btn-ghost:hover:not(:disabled){background:var(--surface2);color:var(--text)}.btn-sm{padding:5px 10px;font-size:12px}.card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden}.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}.grid-lg{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.clothing-card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .2s,transform .2s;cursor:pointer}.clothing-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.clothing-card-img{aspect-ratio:1/1;background:var(--surface2);display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}.clothing-card-img img{width:100%;height:100%;object-fit:cover}.clothing-card-body{padding:12px 12px 16px;height:100px;overflow:hidden;flex-shrink:0}.clothing-card-body .tags-row{flex-wrap:nowrap;overflow:hidden}.clothing-card-body h4{font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clothing-card-body .meta{font-size:11px;color:var(--text2);margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.clothing-card-actions{display:flex;gap:6px;padding:8px 12px 12px}.tag{display:inline-block;padding:2px 8px;background:var(--surface2);border-radius:20px;font-size:11px;font-weight:500;color:var(--text2);border:1px solid var(--border)}.tags-row{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px}.color-dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:1px solid rgba(255,255,255,.15);flex-shrink:0}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.modal{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-lg);width:100%;max-width:560px;max-height:90vh;overflow-y:auto;display:flex;flex-direction:column}.modal-lg{max-width:800px}.modal-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px 16px;border-bottom:1px solid var(--border);position:sticky;top:0;background:var(--surface);z-index:1}.modal-header h3{font-size:16px;font-weight:600}.modal-close{background:none;border:none;cursor:pointer;font-size:18px;color:var(--text2);padding:4px;border-radius:4px;line-height:1}.modal-close:hover{background:var(--surface2);color:var(--text)}.modal-body{padding:20px 24px;flex:1}.modal-footer{padding:16px 24px;border-top:1px solid var(--border);display:flex;justify-content:flex-end;gap:8px;position:sticky;bottom:0;background:var(--surface)}.form-group{margin-bottom:16px}.form-group label,.form-label{display:block;font-size:11px;font-weight:600;color:var(--text2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:6px}.form-input{width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;font-family:inherit;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s;outline:none}.form-input:focus{border-color:var(--accent);box-shadow:0 0 0 3px #d4cfca1f}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}input[type=text],input[type=date],input[type=color],select,textarea{width:100%;padding:8px 12px;border:1px solid var(--border);border-radius:var(--radius-sm);font-size:13px;font-family:inherit;background:var(--surface);color:var(--text);transition:border-color .15s,box-shadow .15s;outline:none}input[type=text]:focus,input[type=date]:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #d4cfca1f}input[type=color]{padding:2px 4px;height:36px;cursor:pointer}textarea{resize:vertical;min-height:80px}select{cursor:pointer}.photo-upload{border:2px dashed var(--border);border-radius:var(--radius-sm);padding:20px;text-align:center;cursor:pointer;transition:border-color .15s,background .15s;position:relative}.photo-upload:hover{border-color:var(--accent);background:var(--surface2)}.photo-upload input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer;width:100%}.photo-upload-preview{max-height:120px;border-radius:var(--radius-sm);object-fit:contain}.transparent-bg{background-color:#1a1a1a;background-image:linear-gradient(45deg,#2a2a2a 25%,transparent 25%),linear-gradient(-45deg,#2a2a2a 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#2a2a2a 75%),linear-gradient(-45deg,transparent 75%,#2a2a2a 75%);background-size:14px 14px;background-position:0 0,0 7px,7px -7px,-7px 0px}.tag-input-row{display:flex;gap:8px}.tag-input-row input{flex:1}.filters-bar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px;align-items:center}.filters-bar input,.filters-bar select{flex:0 0 auto;width:auto;min-width:130px}.filters-bar input[type=text]{min-width:200px}.empty-state{text-align:center;padding:60px 24px;color:var(--text2)}.empty-state h3{font-size:16px;font-weight:600;color:var(--text);margin-bottom:6px}.empty-state p{font-size:13px;max-width:280px;margin:0 auto 20px}.outfit-card{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);overflow:hidden;transition:box-shadow .2s,transform .2s;cursor:pointer}.outfit-card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.outfit-card-img{aspect-ratio:4/3;background:var(--surface2);display:flex;align-items:center;justify-content:center;overflow:hidden}.outfit-card-img img{width:100%;height:100%;object-fit:cover}.outfit-items-strip{display:flex;gap:4px;padding:8px 12px;overflow-x:auto;scrollbar-width:none;background:var(--surface2);border-top:1px solid var(--border)}.outfit-items-strip::-webkit-scrollbar{display:none}.outfit-item-thumb{width:36px;height:36px;border-radius:6px;background:var(--surface);border:1px solid var(--border);overflow:hidden;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:16px}.outfit-item-thumb img{width:100%;height:100%;object-fit:cover}.outfit-card-body{padding:12px}.outfit-card-body h4{font-size:13px;font-weight:600}.outfit-card-body .meta{font-size:11px;color:var(--text2);margin-top:2px}.outfit-card-actions{display:flex;gap:6px;padding:8px 12px 12px}.wear-log-list{display:flex;flex-direction:column;gap:12px}.wear-log-entry{background:var(--surface);border-radius:var(--radius);border:1px solid var(--border);box-shadow:var(--shadow);padding:16px;display:flex;gap:16px;align-items:flex-start}.wear-log-date{flex-shrink:0;text-align:center;background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:var(--radius-sm);padding:8px 12px;min-width:56px}.wear-log-date .day{font-size:22px;font-weight:700;line-height:1}.wear-log-date .month{font-size:10px;font-weight:500;text-transform:uppercase;margin-top:2px}.wear-log-content{flex:1}.wear-log-content h4{font-size:14px;font-weight:600}.wear-log-content .note{font-size:12px;color:var(--text2);margin-top:4px;font-style:italic}.wear-log-actions{display:flex;gap:6px;flex-shrink:0}.item-selector-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;max-height:320px;overflow-y:auto;padding:4px}.item-selector-card{border:2px solid var(--border);border-radius:var(--radius-sm);overflow:hidden;cursor:pointer;transition:border-color .15s;position:relative}.item-selector-card.selected{border-color:var(--accent)}.item-selector-card.selected:after{content:"✓";position:absolute;top:4px;right:4px;background:var(--accent);color:#111113;width:18px;height:18px;border-radius:50%;font-size:10px;display:flex;align-items:center;justify-content:center}.item-selector-card img,.item-selector-card .no-img{width:100%;aspect-ratio:3/4;object-fit:cover;display:flex;align-items:center;justify-content:center;background:var(--surface2);font-size:28px}.item-selector-card .lbl{font-size:10px;font-weight:500;padding:4px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--surface)}.stats-row{display:flex;gap:16px;margin-bottom:24px}.stat-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px;flex:1;box-shadow:var(--shadow)}.stat-card .stat-num{font-size:28px;font-weight:700;letter-spacing:-1px}.stat-card .stat-label{font-size:12px;color:var(--text2);font-weight:500;margin-top:2px}.divider{border:none;border-top:1px solid var(--border);margin:20px 0}.loading{text-align:center;padding:48px;color:var(--text2);font-size:13px}.error-msg{background:#2d1515;border:1px solid #5c2020;border-radius:var(--radius-sm);padding:10px 14px;color:#fca5a5;font-size:13px;margin-bottom:16px}*{scrollbar-width:thin;scrollbar-color:var(--border) transparent}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border);border-radius:3px}.mobile-topbar{display:none}.hamburger{background:none;border:none;cursor:pointer;padding:6px;display:flex;flex-direction:column;gap:5px;border-radius:6px}.hamburger span{display:block;width:22px;height:2px;background:var(--text);border-radius:2px;transition:opacity .15s}.hamburger:hover span{opacity:.6}.sidebar-overlay{display:none;position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;z-index:99}.chip-row{display:flex;flex-wrap:wrap;gap:8px}.chip{padding:5px 14px;border-radius:20px;font-size:12px;font-weight:500;cursor:pointer;border:1.5px solid var(--border);background:transparent;color:var(--text2);transition:border-color .15s,color .15s,background .15s;font-family:inherit;line-height:1.4}.chip:hover{border-color:var(--accent);color:var(--text)}.chip.active{border-color:var(--accent);color:var(--accent);background:#d4cfca1a}.sidebar-nav-divider{height:1px;background:var(--border);margin:8px 20px}.view-toggle{display:flex;border:1px solid var(--border);border-radius:var(--radius-sm);overflow:hidden}.view-toggle-btn{padding:6px 14px;font-size:12px;font-weight:500;cursor:pointer;border:none;background:transparent;color:var(--text2);font-family:inherit;transition:background .15s,color .15s}.view-toggle-btn:hover,.view-toggle-btn.active{background:var(--surface2);color:var(--text)}.calendar{width:100%}.calendar-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.calendar-month-label{font-size:15px;font-weight:600}.calendar-day-headers{display:grid;grid-template-columns:repeat(7,1fr);margin-bottom:2px}.cal-day-name{text-align:center;font-size:10px;font-weight:600;color:var(--text2);padding:6px 0;text-transform:uppercase;letter-spacing:.5px}.cal-weeks{display:flex;flex-direction:column;gap:1px}.cal-week{display:flex;flex-direction:column}.cal-week-days{display:grid;grid-template-columns:repeat(7,1fr);gap:1px}.cal-cell{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;border-radius:6px;cursor:pointer;gap:4px;transition:background .1s;-webkit-user-select:none;user-select:none;position:relative;padding-bottom:4px}.cal-cell-empty{cursor:default;pointer-events:none}.cal-cell:not(.cal-cell-empty):hover{background:var(--surface2)}.cal-cell:not(.cal-cell-empty):hover .cal-add-plan-btn{opacity:1}.cal-cell.has-entries{background:var(--surface2)}.cal-cell.selected{background:var(--accent)!important}.cal-day-num{font-size:13px;line-height:1}.cal-cell.today .cal-day-num{background:var(--accent);color:#111113;font-weight:700;width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center}.cal-cell.selected .cal-day-num{color:#111113;font-weight:700}.cal-cell.selected.today .cal-day-num{background:#111113;color:var(--accent)}.cal-cell-indicators{display:flex;gap:2px;align-items:center;flex-wrap:nowrap;min-height:5px}.cal-plan-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}.cal-dot{width:4px;height:4px;border-radius:50%;background:var(--accent);flex-shrink:0}.cal-cell.selected .cal-dot{background:#111113}.cal-cell.selected .cal-plan-dot{opacity:.6}.cal-add-plan-btn{position:absolute;top:2px;right:3px;width:14px;height:14px;border-radius:50%;border:none;background:var(--surface2);color:var(--text2);font-size:11px;line-height:14px;text-align:center;cursor:pointer;opacity:0;transition:opacity .1s,background .1s;padding:0;display:flex;align-items:center;justify-content:center}.cal-add-plan-btn:hover{background:var(--border);color:var(--text)}.cal-day-detail{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin-top:8px}.cal-detail-header{font-size:13px;font-weight:600;color:var(--text);margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}.cal-section-label{font-size:10px;font-weight:600;color:var(--text2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.cal-plan-row{display:flex;align-items:flex-start;gap:10px;padding:8px;border-radius:8px;cursor:pointer;margin-bottom:6px;transition:background .1s}.cal-plan-row:hover{background:var(--surface)}.cal-plan-swatch{width:10px;height:10px;border-radius:50%;flex-shrink:0;margin-top:2px}.cal-page-body{overflow:hidden;display:flex;flex-direction:column}.cal-layout{display:grid;grid-template-columns:1fr 300px;gap:20px;flex:1;min-height:0;overflow:hidden}.cal-layout .calendar{display:flex;flex-direction:column;min-height:0;overflow:hidden}.cal-layout .cal-weeks{flex:1;display:flex;flex-direction:column;gap:1px;min-height:0;overflow:hidden}.cal-layout .cal-week{flex:1;display:flex;flex-direction:column;min-height:0}.cal-layout .cal-week-days{flex:1;min-height:0;gap:1px}.cal-layout .cal-cell{aspect-ratio:unset;min-height:0;justify-content:flex-start;padding-top:8px}.cal-detail-panel{overflow-y:auto;min-height:0}.cal-detail-panel .cal-day-detail{margin-top:0}.cal-detail-empty{display:flex;align-items:center;justify-content:center;height:100%;color:var(--text2);font-size:13px;font-style:italic;background:var(--surface2);border-radius:var(--radius);border:1px solid var(--border)}.fit-picker{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 8px;scrollbar-width:thin}.fit-picker-card{flex-shrink:0;width:80px;cursor:pointer;border-radius:8px;border:2px solid var(--border);overflow:hidden;transition:border-color .15s;background:var(--surface)}.fit-picker-card:hover{border-color:var(--text2)}.fit-picker-card.selected,.fit-picker-card.selected:hover{border-color:var(--accent)}.fit-picker-img{width:80px;height:80px;background:var(--surface2);display:flex;align-items:center;justify-content:center;overflow:hidden;font-size:11px;font-weight:600;color:var(--text2);text-align:center}.fit-picker-img img{width:100%;height:100%;object-fit:cover}.fit-picker-name{font-size:10px;font-weight:500;padding:4px 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}.stat-section-title{font-size:11px;font-weight:600;color:var(--text2);text-transform:uppercase;letter-spacing:.5px;margin-bottom:12px}.stat-bar-row{display:flex;align-items:center;gap:10px;margin-bottom:8px}.stat-bar-label{font-size:12px;min-width:80px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.stat-bar-track{flex:1;height:6px;background:var(--surface2);border-radius:3px;overflow:hidden}.stat-bar-fill{height:100%;background:var(--accent);border-radius:3px;transition:width .4s ease}.stat-bar-count{font-size:12px;color:var(--text2);min-width:20px;text-align:right}.item-wear-badge{position:absolute;top:4px;right:4px;background:var(--accent);color:#111113;font-size:9px;font-weight:700;padding:2px 5px;border-radius:10px;line-height:1.3}.pick-result{background:var(--surface2);border:1px solid var(--border);border-radius:var(--radius);padding:24px;text-align:center}.item-lightbox{display:grid;grid-template-columns:220px 1fr;gap:24px}.item-lightbox-photo{aspect-ratio:3/4;background:var(--surface2);border-radius:var(--radius);overflow:hidden;display:flex;align-items:center;justify-content:center;flex-shrink:0}.item-lightbox-photo img{width:100%;height:100%;object-fit:contain}.item-lightbox-no-photo{font-size:11px;color:var(--text2);font-weight:600;text-transform:uppercase;letter-spacing:1px}.item-lightbox-info{display:flex;flex-direction:column;gap:14px;min-width:0}.lb-name{font-size:18px;font-weight:600;letter-spacing:-.3px}.lb-meta{font-size:12px;color:var(--text2);display:flex;align-items:center;gap:6px;flex-wrap:wrap}.lb-divider{border:none;border-top:1px solid var(--border)}.lb-section-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.5px;color:var(--text2);margin-bottom:6px}.lb-stat-row{display:flex;gap:20px}.lb-stat{text-align:center}.lb-stat-num{font-size:22px;font-weight:700;line-height:1}.lb-stat-label{font-size:10px;color:var(--text2);margin-top:2px}.lb-fits-list{display:flex;flex-direction:column;gap:6px}.lb-fit-row{display:flex;align-items:center;gap:8px;padding:6px 10px;background:var(--surface2);border-radius:var(--radius-sm);font-size:12px}.lb-fit-photo{width:28px;height:28px;border-radius:4px;object-fit:cover;flex-shrink:0}.lb-actions{display:flex;gap:8px;margin-top:auto}.lb-items-list{display:flex;flex-direction:column;gap:6px}.lb-item-row{display:flex;align-items:center;gap:10px;padding:6px 10px;background:var(--surface2);border-radius:var(--radius-sm);cursor:pointer;transition:background .1s;text-decoration:none;color:inherit}.lb-item-row:hover{background:var(--border)}.lb-item-photo{width:36px;height:36px;border-radius:6px;object-fit:cover;flex-shrink:0;background:var(--surface);border:1px solid var(--border);display:flex;align-items:center;justify-content:center;overflow:hidden}.lb-item-photo img{width:100%;height:100%;object-fit:cover}.lb-item-info{flex:1;min-width:0}.lb-item-name{font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lb-item-type{font-size:11px;color:var(--text2)}.lb-item-arrow{font-size:12px;color:var(--text2);flex-shrink:0}.settings-section{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;margin-bottom:24px}.settings-section-title{font-size:10px;font-weight:600;color:var(--text2);text-transform:uppercase;letter-spacing:.8px;padding:12px 20px 8px;border-bottom:1px solid var(--border)}.settings-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;border-bottom:1px solid var(--border)}.settings-item:last-child{border-bottom:none}.settings-item.disabled{opacity:.45}.settings-item-label{font-size:14px;font-weight:500}.settings-item-desc{font-size:12px;color:var(--text2);margin-top:2px}.settings-badge{font-size:10px;font-weight:600;padding:3px 8px;border-radius:20px;background:var(--surface2);color:var(--text2);border:1px solid var(--border);text-transform:uppercase;letter-spacing:.5px;flex-shrink:0}.home-quicklinks{display:grid;grid-template-columns:1fr 1fr;gap:16px;max-width:520px;margin:0 auto}.home-quicklink-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:20px;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s;text-align:left;font-family:inherit;color:inherit;height:110px;display:flex;flex-direction:column;justify-content:center}.home-quicklink-card:hover{border-color:var(--accent);transform:translateY(-2px);box-shadow:var(--shadow-md)}.home-quicklink-label{font-size:15px;font-weight:600;margin-bottom:6px}.home-quicklink-desc{font-size:12px;color:var(--text2);line-height:1.5}.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.section-title{font-size:16px;font-weight:600;letter-spacing:-.2px}@media (max-width: 768px){.sidebar{transform:translate(-100%);transition:transform .25s ease;z-index:200}.sidebar.sidebar-open{transform:translate(0)}.sidebar-overlay{display:block}.main-content{margin-left:0;height:100svh}.mobile-topbar{display:flex;align-items:center;gap:12px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:50}.mobile-logo{height:22px;width:auto}.mobile-title{font-size:16px;font-weight:700;letter-spacing:-.3px}.page-header{padding:16px;flex-wrap:wrap;gap:12px}.page-header h2{font-size:18px}.page-body{padding:16px}.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.grid-lg{grid-template-columns:1fr;gap:14px}.filters-bar{gap:8px}.filters-bar input[type=text]{min-width:0;flex:1}.filters-bar input[type=date]{width:auto;flex:1}.form-row{grid-template-columns:1fr}.stats-row{gap:10px}.stat-card{padding:12px 14px}.stat-card .stat-num{font-size:22px}.modal-overlay{padding:0;align-items:flex-end}.modal{border-radius:var(--radius) var(--radius) 0 0;max-height:92vh;max-width:100%}.modal-lg{max-width:100%}.wear-log-entry{gap:10px;padding:12px}.wear-log-date{padding:6px 10px;min-width:46px}.wear-log-date .day{font-size:18px}.item-selector-grid{grid-template-columns:repeat(auto-fill,minmax(80px,1fr))}.stats-row .stat-card{min-width:0}.cal-day-num{font-size:11px}.stats-two-col{grid-template-columns:1fr!important}.item-lightbox{grid-template-columns:1fr}.item-lightbox-photo{aspect-ratio:3/4;max-height:240px}.cal-page-body{overflow-y:auto}.cal-layout{display:block;overflow:visible;flex:unset}.cal-layout .cal-weeks{flex:unset;overflow:visible}.cal-layout .cal-week,.cal-layout .cal-week-days{flex:unset}.cal-layout .cal-cell{aspect-ratio:1;justify-content:center;padding-top:0}.cal-detail-panel{overflow-y:visible;min-height:unset;margin-top:16px}.cal-detail-empty{height:80px;margin-top:0}}
