:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:var(--ink);background:var(--ground);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;--ground: #f5f3ed;--paper: #fffefb;--rail: #edeae1;--ink: #2e342d;--muted: #6b7065;--faint: #777b71;--line: #dcded2;--line-strong: #bbc0b1;--accent: #b73f2d;--accent-hover: #973123;--accent-soft: #f6e6de;--green: #42654d;--green-bg: #e8eee5;--amber: #805b29;--amber-bg: #f6edda;--red: #9d4b3b;--red-bg: #f5e7e0;--label: #e9ddbf;--label-ink: #494b3a;--focus: #426c53;--shadow: 0 18px 70px #29291f26;--serif: Georgia, "Times New Roman", serif;--mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;color-scheme:light}*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button{color:inherit}a{color:inherit;text-underline-offset:4px}a:hover{color:var(--accent)}button,input,select{border-radius:5px}button{background:none;border:none}input,select{color:var(--ink);background:var(--paper);border:1px solid var(--line-strong)}input{padding:11px 12px;min-width:0;caret-color:var(--accent)}input::placeholder{color:var(--faint);opacity:1}select{padding:10px 30px 10px 10px;max-width:100%}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid var(--focus);outline-offset:3px}input[type=checkbox]{accent-color:var(--accent);width:17px;height:17px;flex-shrink:0}::selection{background:var(--label);color:var(--label-ink)}h1,h2,h3,p{margin:0}h1,h2{text-wrap:balance}p{line-height:1.6}svg{flex-shrink:0}button{transition:background-color .15s,color .15s,border-color .15s}button:active:not(:disabled){transform:translateY(1px)}.muted,.help{color:var(--muted)}.help{font-size:13px;line-height:1.65}.mono{font-family:var(--mono);font-variant-numeric:tabular-nums}.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}.skip-link{position:fixed;left:12px;top:-60px;background:var(--paper);padding:12px;z-index:10}.skip-link:focus{top:10px}.app{min-height:100vh}.app-header{height:85px;display:flex;align-items:center;border-bottom:1px solid var(--line);padding:0 36px;gap:28px;background:var(--paper)}.brand{display:flex;align-items:center;gap:11px;padding:0;white-space:nowrap;font:700 28px var(--serif);letter-spacing:-1px}.brand-mark{display:grid;place-items:center;width:37px;height:40px;color:var(--accent)}.brand-period{color:var(--accent)}.header-description{font-size:12px;color:var(--muted);border-left:1px solid var(--line);padding-left:26px}.header-actions{margin-left:auto;display:flex;align-items:center;gap:24px}.local-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}.local-status>span{width:6px;height:6px;border-radius:50%;background:var(--green)}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid var(--line-strong);background:var(--paper);min-height:42px;padding:11px 16px;font-size:13px;font-weight:600;line-height:1.3;white-space:nowrap}.button:hover:not(:disabled){background:var(--rail);border-color:var(--muted)}.button.primary{background:var(--accent);color:#fff9f1;border-color:transparent}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.button.compact{font-size:11px;min-height:35px;padding:8px 12px}.text-button{display:inline-flex;align-items:center;gap:6px;padding:4px 0;font-size:12px;font-weight:600;min-height:28px}.text-button:hover:not(:disabled){color:var(--accent);text-decoration:underline;text-underline-offset:4px}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.icon-button:hover{background:var(--rail)}.body-layout{display:flex;min-height:calc(100vh - 85px)}.sidebar{width:215px;flex-shrink:0;background:var(--rail);border-right:1px solid var(--line);padding:33px 18px 25px;display:flex;flex-direction:column;justify-content:space-between;gap:64px}.nav-section-label{font:10px var(--mono);letter-spacing:.08em;color:var(--muted);padding:0 13px 15px}.nav-button{display:flex;align-items:center;gap:11px;padding:12px 13px;width:100%;text-align:left;font-size:12px;border-radius:4px;min-height:43px}.nav-button>span:last-child:not(:first-child),.nav-button>svg:last-child:not(:first-child){margin-left:auto}.nav-button:hover{background:var(--line)}.nav-button.current{background:var(--paper);color:var(--accent);font-weight:650}.nav-count{font:11px var(--mono);color:var(--muted)}.decision-nav>span:nth-child(2){margin-right:auto}.sidebar-rule{height:1px;background:var(--line);margin:22px 12px 26px}.sidebar-bottom{padding:0 13px}.sidebar-bottom>svg{color:var(--green);margin-bottom:11px}.sidebar-bottom h3{font:600 12px/1.5 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.sidebar-bottom p{font-size:11px;color:var(--muted);margin:8px 0 10px}.sidebar-bottom .text-button{font-size:11px}.edition{display:block;color:var(--faint);font:9px var(--mono);letter-spacing:.07em;margin-top:44px}.workspace{flex:1;min-width:0;max-width:1540px;margin:0 auto;display:flex;flex-direction:column}.index-page,.labels-page{padding:45px 42px 0;flex:1;outline:none}.page-title-row{display:flex;align-items:center;justify-content:space-between;gap:20px}.page-title-row h1{font:400 38px/1.18 var(--serif);letter-spacing:-1.1px}.intro{font-size:13px;color:var(--muted);margin-top:12px}.add-box{padding:12px 18px}.inventory-summary{display:flex;align-items:center;gap:25px;font-size:11px;padding:27px 0 24px;color:var(--muted)}.inventory-summary>span{display:flex;align-items:center;gap:6px}.inventory-summary strong{color:var(--ink);font-weight:600;font-variant-numeric:tabular-nums}.inventory-summary .summary-note{margin-left:auto;font:italic 12px var(--serif)}.inventory-tools{display:flex;gap:12px;padding:0 0 19px;border-bottom:1px solid var(--line)}.search-wrap{display:flex;align-items:center;gap:11px;background:var(--paper);border:1px solid var(--line-strong);border-radius:5px;flex:1;min-width:0;padding:0 13px;color:var(--muted)}.search-wrap:focus-within{outline:2px solid var(--focus);outline-offset:2px}.search-wrap input{border:0;background:none;padding:13px 0;width:100%;font-size:12px;height:45px;outline:none}.search-wrap .icon-button{margin-right:-6px}.scan-button{font-size:12px;padding:10px 16px}.list-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 0}.filter-controls{display:flex;gap:18px;min-width:0}.filter-label{display:flex;align-items:center;gap:2px;max-width:220px;color:var(--muted)}.filter-label select,.sort-label select{border:0;background:transparent;font-size:11px;padding:5px 22px 5px 2px;min-width:0}.filter-label select{color:var(--muted)}.sort-label{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px;white-space:nowrap}.sort-label select{color:var(--ink)}.inventory-list{background:var(--paper);border:1px solid var(--line);border-radius:5px;overflow:hidden}.list-head,.box-row{display:grid;grid-template-columns:74px minmax(150px,1fr) minmax(110px,.48fr) 125px 14px;gap:15px;align-items:center;padding:14px 21px}.list-head{background:var(--rail);border-bottom:1px solid var(--line);font:9px var(--mono);letter-spacing:.06em;color:var(--muted)}.box-row{width:100%;text-align:left;min-height:94px;border-bottom:1px solid var(--line);border-radius:0}.box-row:last-child{border-bottom:0}.box-row:hover{background:var(--ground)}.box-row:focus-visible{outline-offset:-4px}.box-number{font:700 23px var(--mono);letter-spacing:-1px;color:var(--ink)}.box-name-cell{display:flex;align-items:center;gap:12px;min-width:0}.box-name-cell>span{min-width:0}.box-name-cell strong{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;flex-wrap:wrap}.contents-preview{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-top:7px;font-size:11px;color:var(--muted)}.row-thumbnail{width:43px;height:43px;object-fit:cover;border-radius:3px}.location-cell{font-size:11px;color:var(--muted);display:flex;gap:5px;align-items:center;overflow-wrap:anywhere}.row-decisions{display:flex;gap:5px;flex-wrap:wrap}.tag{font-size:10px;font-weight:500;display:inline-flex;gap:5px;align-items:center;padding:4px 7px;border-radius:3px;line-height:1.2;white-space:nowrap}.tag>span{width:4px;height:4px;border-radius:50%;background:currentColor}.tag.keep{color:var(--green);background:var(--green-bg)}.tag.donate{color:var(--amber);background:var(--amber-bg)}.tag.toss{color:var(--red);background:var(--red-bg)}.row-arrow{color:var(--muted)}.empty-state{min-height:349px;display:flex;align-items:center;justify-content:center;gap:65px;padding:38px}.empty-icon{display:inline-block;color:var(--muted);margin-bottom:15px}.empty-copy h2{font:400 27px/1.22 var(--serif);letter-spacing:-.5px}.empty-copy p{font-size:12px;color:var(--muted);margin:14px 0 22px;line-height:1.75}.empty-copy .button{font-size:11px;min-height:39px;padding:10px 13px}.sample-action{font-size:10px;color:var(--muted);margin-top:11px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.sample-action .text-button{font-size:10px;color:var(--ink)}.first-label{width:200px;min-height:251px;background:var(--label);color:var(--label-ink);padding:20px 21px 17px;transform:rotate(6deg);box-shadow:2px 7px 12px #352e2012;position:relative;border-radius:2px;flex-shrink:0}.first-label:before{content:"";position:absolute;top:-8px;left:67px;width:62px;height:23px;background:#d5cbb09c;transform:rotate(-12deg)}.first-label-top{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #a59d8369;padding-bottom:14px;font:9px var(--mono);letter-spacing:.09em}.label-caption{display:block;font:8px var(--mono);letter-spacing:.12em;margin-top:17px}.first-label>strong{display:block;font:700 68px/1.1 var(--mono);letter-spacing:-5px;margin:5px 0 10px}.label-write-line{border-bottom:1px solid #a59d8399;margin-top:13px}.label-write-line.short{width:70%}.first-label-foot{font:6px var(--mono);letter-spacing:.06em;margin-top:21px;white-space:nowrap}.list-foot{display:flex;align-items:center;justify-content:space-between;padding:13px 0;font-size:10px;color:var(--muted);gap:16px}.list-foot>span:last-child{display:flex;align-items:center;gap:5px}.how-it-works{margin-top:39px;padding:27px 0 32px;border-top:1px solid var(--line)}.how-it-works h2{font:400 19px var(--serif);letter-spacing:-.2px;margin-bottom:23px}.how-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.how-steps>div{display:flex;gap:11px;align-items:flex-start}.step-number{display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;border:1px solid var(--line-strong);border-radius:50%;font:10px var(--mono);color:var(--muted)}.how-steps strong{display:block;font-size:11px;font-weight:600;margin:1px 0 6px}.how-steps>div>span>span{font-size:10px;color:var(--muted);line-height:1.5;display:block}.footer{display:flex;justify-content:space-between;align-items:center;padding:20px 42px;border-top:1px solid var(--line);color:var(--muted);font-size:10px;margin-top:12px;gap:20px}.footer a{display:inline-flex;align-items:center;gap:5px}.footer>span{display:flex;gap:5px;align-items:center}.no-results{padding:60px 24px;text-align:center;color:var(--muted)}.no-results h2{font:25px var(--serif);color:var(--ink);margin:17px 0 10px}.no-results p{font-size:13px;margin-bottom:20px}.sample-banner{padding:11px 14px;margin-bottom:15px;background:var(--amber-bg);color:var(--amber);border-radius:4px;display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:11px}.sample-banner .text-button{font-size:10px;white-space:nowrap}.sample-chip{display:inline-block;color:var(--amber);background:var(--amber-bg);font:9px/1.2 -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;padding:3px 6px;border-radius:3px;white-space:nowrap}.storage-error{padding:18px;background:var(--red-bg);color:var(--red);font-size:13px;margin:20px 42px 0;border:1px solid var(--red)}.storage-error p{margin:5px 0}.toast-region{position:fixed;bottom:22px;left:50%;transform:translate(-50%);max-width:calc(100vw - 30px);z-index:20;pointer-events:none}.toast{background:var(--ink);color:var(--paper);display:flex;align-items:center;gap:10px;padding:10px 12px 10px 17px;box-shadow:var(--shadow);border-radius:6px;font-size:12px;min-width:220px;pointer-events:auto;animation:notice-in .18s ease-out}.toast .icon-button:hover{background:#ffffff20}.dialog{color:var(--ink);background:var(--paper);padding:0;border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);width:min(520px,calc(100% - 32px));max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain}.dialog::backdrop{background:#1f281f75}.dialog.wide{width:min(700px,calc(100% - 32px))}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 26px;border-bottom:1px solid var(--line);position:sticky;top:0;background:var(--paper);z-index:1}.dialog-heading h2{font:400 23px/1.3 var(--serif);letter-spacing:-.4px}.editor,.detail-body,.backup-body,.scanner-body{padding:25px 26px}.editor-intro{display:flex;align-items:center;gap:20px;margin-bottom:26px}.number-stamp{font:700 35px var(--mono);letter-spacing:-2px;border:1px solid var(--line-strong);padding:10px 15px;color:var(--label-ink);background:var(--label);transform:rotate(-3deg);border-radius:3px}.editor-intro p{font-size:12px;line-height:1.7}.form-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}label{font-size:12px;font-weight:550}label>input:not([type=checkbox]){display:block;width:100%;margin-top:8px;font-weight:400;font-size:13px}.optional{font-size:10px;font-weight:400;color:var(--muted);margin-left:4px}.section-heading{display:flex;align-items:center;justify-content:space-between;margin:28px 0 15px;gap:15px}.section-heading h3{font-size:13px;font-weight:600}.section-heading .muted{font-size:10px}.item-editor-head,.item-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 64px 100px 28px;gap:8px;align-items:center}.item-editor-head{font-size:10px;color:var(--muted);margin-bottom:7px}.item-editor-row{margin-bottom:8px}.item-editor-row input,.item-editor-row select{width:100%;padding:9px;font-size:12px;height:38px}.item-editor-row .icon-button{width:28px;height:32px}.add-item{font-size:11px;margin:3px 0 15px}.photo-field{display:flex;flex-wrap:wrap;align-items:center;gap:12px;border-top:1px solid var(--line);padding:19px 0;font-size:11px}.photo-field img{height:60px;width:60px;object-fit:cover;border-radius:4px}.file-button{cursor:pointer;display:flex;align-items:center;gap:8px;color:var(--ink);border:1px solid var(--line-strong);padding:10px 12px;border-radius:4px;font-size:11px;position:relative;overflow:hidden}.file-button:hover{background:var(--rail)}.file-button:focus-within{outline:2px solid var(--focus);outline-offset:3px}.file-button input{position:absolute;inset:0;opacity:0;margin:0!important;cursor:pointer}.photo-field>.muted{font-size:10px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;padding-top:19px;border-top:1px solid var(--line)}.error{font-size:12px;line-height:1.6;padding:13px;background:var(--red-bg);color:var(--red);border-radius:4px;margin-bottom:15px}.detail-title{font:30px/1.25 var(--serif);margin:8px 0 12px;overflow-wrap:anywhere}.detail-location{display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);margin-bottom:25px}.detail-photo{width:100%;max-height:220px;object-fit:contain;background:var(--ground);border-radius:5px;margin-bottom:20px}.detail-contents-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:12px}.detail-contents-head h3{font-size:13px}.detail-contents-head>span{font-size:11px;color:var(--muted)}.detail-items{margin:0;padding:0;list-style:none}.detail-items li{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:13px}.detail-items li>span:nth-child(2){flex:1;overflow-wrap:anywhere;min-width:0}.quantity{font:11px var(--mono);color:var(--muted);flex-shrink:0;min-width:26px}.updated-at{font-size:10px;color:var(--muted);margin:20px 0}.detail-actions{display:flex;align-items:center;gap:9px}.detail-actions .danger{margin-left:auto}.danger{color:var(--red)}.delete-confirm{margin-top:24px;border-top:1px solid var(--line);padding-top:20px}.delete-confirm p{font-size:12px;margin-bottom:14px}.danger-button{color:var(--red);border-color:var(--red)}.delete-confirm .text-button{margin-left:15px}.backup-body>p,.scanner-body>p{font-size:13px;color:var(--muted)}.backup-body section{padding:24px 0;border-bottom:1px solid var(--line)}.backup-body h3{font-size:14px;margin-bottom:9px}.backup-body .help{margin-bottom:15px}.backup-buttons{display:flex;flex-wrap:wrap;gap:10px}.privacy-note{display:flex;align-items:flex-start;gap:12px;color:var(--green);background:var(--green-bg);padding:16px;border-radius:5px;margin-top:24px}.privacy-note p{font-size:11px;line-height:1.65}.error-recovery>.text-button{margin-top:14px;display:flex}.camera{height:220px;background:var(--rail);border-radius:5px;margin:21px 0 13px;position:relative;overflow:hidden}.camera video{width:100%;height:100%;object-fit:cover;visibility:hidden}.camera.active video{visibility:visible}.camera-prompt{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;color:var(--muted);font:18px var(--serif)}.scanner-body>.help{font-size:11px;margin:17px 0 22px}.scanner-body form{border-top:1px solid var(--line);padding-top:20px}.scanner-body form .button{margin:12px 0 18px}.labels-page>.text-button{font-size:11px;margin-bottom:24px}.labels-page .page-title-row h1{font-size:34px}.labels-page .page-title-row p{font-size:12px;margin-top:11px}.label-workspace{display:grid;grid-template-columns:230px 1fr;gap:28px;margin:34px 0}.label-options h2{font-size:14px;margin-bottom:18px}.check-label{display:flex;align-items:center;gap:9px;line-height:1.5;font-size:11px;font-weight:400;cursor:pointer}.label-box-list{margin:12px 0 20px;border-top:1px solid var(--line);padding-top:10px;max-height:300px;overflow:auto}.label-box-list .check-label{margin:12px 0;overflow-wrap:anywhere}.label-box-list .mono{color:var(--muted);font-size:11px}.location-option{border-top:1px solid var(--line);padding-top:20px}.label-options>.help{margin-top:15px;font-size:11px}.label-options .privacy-note{padding:13px;gap:9px}.label-options .privacy-note p{font-size:10px}.label-preview{background:var(--rail);border:1px solid var(--line);padding:17px;min-width:0;border-radius:5px}.preview-heading{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font:8px var(--mono);letter-spacing:.05em;margin-bottom:18px}.preview-sheet{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.print-label{background:#fffef9;color:#30342d;border:1px dashed #a4a395;padding:12px;break-inside:avoid;min-width:0;border-radius:2px}.label-top{display:flex;justify-content:space-between;align-items:center;font:7px var(--mono);letter-spacing:.08em;padding-bottom:9px;border-bottom:1px solid #d8d9ce;gap:5px}.label-top>span:last-child{font-size:6px;color:#6b7065}.label-middle{display:flex;align-items:center;justify-content:space-between;gap:4px;min-height:91px}.label-middle .label-caption{font-size:7px;margin-top:9px}.label-middle strong{display:block;font:700 40px var(--mono);letter-spacing:-2px}.label-middle img{width:84px;height:84px;max-width:53%;object-fit:contain;image-rendering:pixelated}.label-bottom{border-top:1px solid #d8d9ce;padding-top:8px;margin-top:6px;font-size:6px;line-height:1.5;color:#6b7065}.label-location{font-size:9px;overflow-wrap:anywhere;margin:3px 0 8px}.qr-loading{font-size:10px;color:#6b7065}.preview-empty{font-size:13px;color:var(--muted);padding:65px 10px;text-align:center}.print-sheet{display:none}@keyframes notice-in{0%{transform:translateY(6px);opacity:.8}to{transform:translateY(0);opacity:1}}@media(min-width:1450px){.index-page,.labels-page{padding:50px 60px 0}.footer{padding-left:60px;padding-right:60px}.empty-state{min-height:390px;gap:100px}.first-label{width:220px;min-height:265px}.first-label>strong{font-size:75px}.list-head,.box-row{grid-template-columns:85px minmax(200px,1fr) minmax(130px,.5fr) 145px 15px}.page-title-row h1{font-size:42px}}@media(max-width:1190px){.app-header{padding:0 25px;gap:20px}.header-description{font-size:11px;padding-left:20px}.header-actions{gap:15px}.local-status{display:none}.sidebar{width:185px;padding-left:12px;padding-right:12px}.index-page,.labels-page{padding:35px 28px 0}.footer{padding:20px 28px}.page-title-row h1{font-size:33px}.inventory-summary .summary-note{display:none}.empty-state{padding:30px;gap:40px}.empty-copy h2{font-size:24px}.first-label{width:175px;min-height:237px;padding:18px}.first-label>strong{font-size:60px}.first-label-foot{font-size:5px}.list-head,.box-row{grid-template-columns:55px minmax(100px,1fr) 110px 87px 12px;gap:12px;padding:14px 17px}.box-name-cell strong{font-size:12px}.row-decisions{gap:4px}.label-workspace{grid-template-columns:200px 1fr;gap:20px}.preview-sheet{grid-template-columns:1fr}.label-middle img{width:100px;height:100px;max-width:45%}.label-middle strong{font-size:50px}.label-top{font-size:9px}.label-top>span:last-child{font-size:7px}.label-bottom{font-size:8px}.label-middle .label-caption{font-size:9px}}@media(max-width:900px){.sidebar{width:164px;padding-left:8px;padding-right:8px}.nav-section-label{font-size:8px;letter-spacing:.04em;padding-left:10px}.nav-button{font-size:11px;padding:11px 10px;gap:8px}.sidebar-bottom{padding:0 10px}.sidebar-bottom h3{font-size:11px}.sidebar-bottom p{font-size:10px}.header-description{display:none}.page-title-row h1{font-size:29px}.intro{font-size:12px}.index-page,.labels-page{padding:32px 22px 0}.list-head,.box-row{grid-template-columns:52px minmax(110px,1fr) 93px 12px;gap:10px;padding:14px}.list-head>span:nth-child(4),.row-decisions{display:none}.empty-state{gap:25px;padding:30px 23px}.first-label{width:145px;min-height:211px;padding:15px}.first-label-top{font-size:8px}.first-label>strong{font-size:50px;letter-spacing:-4px}.first-label-foot{white-space:normal;font-size:6px;line-height:1.6}.first-label:before{left:43px;width:48px}.empty-copy h2{font-size:23px}.empty-copy p{font-size:11px}.desktop-break{display:none}.empty-copy{max-width:245px}.sample-action{font-size:9px;gap:3px}.sample-action .text-button{font-size:9px}.filter-controls{gap:9px}.filter-label{max-width:150px}.filter-label select,.sort-label select{font-size:10px;padding-right:14px}.sort-label{gap:3px;font-size:10px}.how-steps{gap:17px}.how-steps>div{gap:8px}.how-steps strong{font-size:10px}.how-steps>div>span>span{font-size:9px}.step-number{width:22px;height:22px}.sample-banner{align-items:flex-start}.label-workspace{grid-template-columns:1fr 1.3fr;gap:18px}.labels-page .page-title-row{align-items:flex-start;flex-direction:column}.labels-page .page-title-row h1{font-size:30px}.storage-error{margin:20px 22px 0}}@media(max-width:700px){.app-header{height:72px;padding:0 19px}.brand{font-size:26px;gap:7px}.brand-mark{width:27px}.header-actions .button{font-size:10px;padding:8px}.header-actions .button svg{width:14px}.body-layout{min-height:calc(100vh - 72px);flex-direction:column}.sidebar{width:100%;padding:10px 16px;border-right:0;border-bottom:1px solid var(--line);display:block}.sidebar-top{display:flex;gap:8px}.nav-section-label,.sidebar-rule,.sidebar-bottom,.decision-nav{display:none}.nav-button{width:auto;padding:10px 12px;gap:9px;min-height:38px;font-size:11px}.nav-button>span:last-child{margin-left:5px!important;font:10px var(--mono)}.nav-button>svg:last-child:not(:first-child){display:none}.workspace{width:100%}.index-page,.labels-page{padding:29px 20px 0}.page-title-row h1{font-size:31px;letter-spacing:-.8px}.page-title-row{gap:14px;align-items:flex-start}.page-title-row .add-box{margin-top:3px}.button{font-size:12px}.intro{font-size:11px;margin-top:9px}.add-box{min-height:38px;padding:10px 12px;gap:5px}.add-box svg{width:16px}.inventory-summary{padding:23px 0 22px;font-size:10px;gap:20px}.inventory-summary svg{width:14px}.inventory-tools{gap:9px;padding-bottom:16px}.search-wrap{gap:8px;padding:0 10px}.search-wrap svg{width:17px}.search-wrap input{font-size:11px;height:43px}.scan-button{font-size:11px;padding:10px;gap:6px}.scan-button svg{width:17px}.filter-label{max-width:160px}.filter-label select,.sort-label select{font-size:10px}.sort-label{font-size:0}.sort-label select{font-size:10px}.empty-state{padding:32px 25px;min-height:330px;gap:44px}.empty-copy h2{font-size:25px}.empty-copy p{font-size:12px}.first-label{width:150px;min-height:215px}.list-head,.box-row{grid-template-columns:50px minmax(110px,1fr) 100px 10px;padding:14px 16px}.list-foot{font-size:9px;gap:10px}.how-it-works{margin-top:29px;padding-top:24px}.how-it-works h2{font-size:19px}.how-steps strong{font-size:11px}.how-steps>div>span>span{font-size:10px}.how-steps{gap:19px}.footer{padding:19px 20px;font-size:9px}.label-workspace{grid-template-columns:1fr 1.3fr}.label-workspace h2{font-size:13px}.labels-page .page-title-row h1{font-size:30px}.storage-error{margin:18px 20px 0}}@media(max-width:480px){.app-header{padding:0 15px}.header-actions .button{font-size:9px;gap:6px;padding:8px}.brand{font-size:25px}.sidebar{padding:9px 12px}.index-page,.labels-page{padding:25px 16px 0}.page-title-row{flex-wrap:wrap;gap:17px;align-items:center}.page-title-row h1{font-size:30px}.page-title-row .intro{font-size:11px}.page-title-row .add-box{margin:0}.page-title-row>div{width:100%}.add-box{min-height:38px}.inventory-summary{padding:20px 0;font-size:10px;gap:20px}.inventory-tools{flex-wrap:wrap;gap:10px}.search-wrap{width:100%;flex-basis:100%}.search-wrap input{font-size:12px}.scan-button{min-height:36px;font-size:11px;padding:8px 11px}.list-controls{gap:8px;padding:13px 0;align-items:flex-start;flex-wrap:wrap}.filter-controls{gap:8px;flex:1;justify-content:space-between}.filter-label{max-width:150px}.sort-label{margin-left:auto}.sort-label select{padding-right:0}.list-head,.box-row{grid-template-columns:43px minmax(0,1fr) 12px;gap:9px;padding:13px}.list-head>span:nth-child(3),.location-cell{display:none}.list-head{font-size:8px}.list-head>span:nth-child(5){grid-column:3}.box-number{font-size:21px}.box-row{min-height:83px}.contents-preview{font-size:10px}.box-name-cell strong{font-size:12px}.row-thumbnail{height:35px;width:35px}.empty-state{padding:31px 21px 34px;min-height:0;justify-content:flex-start;position:relative;overflow:hidden}.empty-copy{max-width:none;position:relative;z-index:1}.empty-copy h2{font-size:27px}.empty-copy p{font-size:12px;max-width:260px}.first-label{display:none}.empty-icon{margin-bottom:15px}.empty-copy .button{font-size:11px;margin-top:1px}.sample-action{font-size:10px;margin-top:12px;gap:4px}.sample-action .text-button{font-size:10px}.list-foot{font-size:9px;align-items:flex-start;gap:12px}.list-foot>span:last-child{max-width:132px;line-height:1.5;align-items:flex-start}.how-it-works{margin-top:25px;padding-bottom:25px}.how-steps{grid-template-columns:1fr;gap:21px}.how-steps>div{gap:12px;align-items:center}.how-steps strong{font-size:12px;margin-bottom:5px}.how-steps>div>span>span{font-size:11px}.step-number{width:28px;height:28px;font-size:11px}.footer{padding:18px 16px;font-size:9px;gap:12px;flex-wrap:wrap}.sample-banner{font-size:10px;flex-direction:column;gap:4px}.dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.dialog.wide{width:calc(100% - 20px)}.dialog-heading{padding:15px 18px;gap:10px}.dialog-heading h2{font-size:21px}.editor,.detail-body,.backup-body,.scanner-body{padding:20px 18px}.form-two{grid-template-columns:1fr;gap:19px}.editor-intro{gap:15px}.editor-intro p{font-size:11px}.number-stamp{font-size:30px;padding:9px 12px}.section-heading .muted{font-size:9px}.item-editor-head,.item-editor-row{grid-template-columns:minmax(0,1fr) 48px 78px 24px;gap:5px}.item-editor-row input,.item-editor-row select{font-size:11px;padding:7px 5px}.item-editor-row .icon-button{width:24px}.item-editor-row select{padding:7px 1px}.photo-field{gap:10px}.dialog-actions .button{font-size:11px;padding:10px 13px}.label-workspace{grid-template-columns:1fr;gap:24px;margin:25px 0}.preview-sheet{grid-template-columns:1fr 1fr;gap:9px}.label-preview{padding:12px}.print-label{padding:9px}.label-top{font-size:6px;letter-spacing:0}.label-top>span:last-child{font-size:5px}.label-middle{min-height:82px;gap:3px}.label-middle img{width:65px;height:65px;max-width:55%}.label-middle strong{font-size:30px;letter-spacing:-1px}.label-middle .label-caption{font-size:6px}.label-bottom{font-size:5px}.label-location{font-size:7px}.label-options .privacy-note p{font-size:11px}.camera{height:190px}.detail-actions .button{font-size:11px;padding:10px 13px}.detail-items li{font-size:12px;gap:8px}.storage-error{margin:15px 16px 0}.toast{font-size:11px;line-height:1.4}.toast-region{bottom:12px}}@media(prefers-color-scheme:dark){:root{--ground: #232722;--paper: #2a2f28;--rail: #1e231e;--ink: #e6e7d9;--muted: #b1b7a8;--faint: #a0a796;--line: #41483c;--line-strong: #5d6855;--accent: #e38367;--accent-hover: #f0997b;--accent-soft: #48332a;--green: #b1c9a9;--green-bg: #33442f;--amber: #ddc293;--amber-bg: #453c2b;--red: #e8ae99;--red-bg: #4b352c;--label: #b6aa88;--label-ink: #292e25;--focus: #d2bc8e;--shadow: 0 18px 70px #0006;color-scheme:dark}.button.primary{background:var(--accent);color:#24271f}.button.primary:hover:not(:disabled){background:var(--accent-hover)}.first-label{box-shadow:2px 7px 15px #0002}.first-label:before{background:#d5cbb066}.dialog::backdrop{background:#070c07a6}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}button:active:not(:disabled){transform:none}}@media print{@page{size:auto;margin:12mm}html,body{background:#fff!important;color:#000;min-width:0}.no-print,.dialog,.sidebar,.skip-link{display:none!important}.body-layout,.workspace,.app{display:block!important;min-height:0!important;width:auto!important;max-width:none!important;padding:0!important;margin:0!important}.print-sheet{display:grid!important;grid-template-columns:88mm 88mm;gap:5mm;justify-content:center}.print-label{width:88mm;height:55mm;padding:4mm;border:.2mm dashed #999;border-radius:0;break-inside:avoid;background:#fff!important;color:#222!important;display:flex;flex-direction:column}.label-top{font-size:8pt;letter-spacing:.05em;padding-bottom:2mm}.label-top>span:last-child{font-size:6pt}.label-middle{flex:1;min-height:0;max-height:35mm}.label-middle .label-caption{font-size:7pt;margin-top:2mm}.label-middle strong{font-size:38pt;line-height:1.1;letter-spacing:-2px}.label-middle img{width:33mm;height:33mm;max-width:none}.label-bottom{font-size:5.5pt;padding-top:1.5mm;margin-top:1mm}.label-location{font-size:7pt;margin:0 0 1mm}.label-top,.label-bottom{border-color:#ccc}.print-label *{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
