input,select,textarea{outline:none;border:1px solid var(--gray-outline);border-radius:.25rem;padding:.375rem .75rem;font-size:.875rem}*[class^=btn-]{display:inline-flex;align-items:center;gap:.25rem;border-radius:.25rem;padding:.375rem .75rem;font-size:.75rem;font-weight:700;white-space:nowrap;cursor:pointer;text-decoration:none;transition:background-color .15s ease,color .15s ease,border-color .15s ease}*[class^=btn-]:disabled{opacity:.5}*[class^=btn-]:before{font-family:"Font Awesome 6 Free";font-weight:900;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;content:""}.btn-insert{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-insert:hover{background-color:var(--brand-dark)}.btn-insert:before{content:""}.btn-delete{background-color:var(--red-dark);color:#fff;border:1px solid transparent}.btn-delete:hover{background-color:var(--red-dark)}.btn-delete:before{content:""}.btn-ship{background-color:var(--amber);color:#fff;border:1px solid transparent}.btn-ship:hover{background-color:var(--amber-dark)}.btn-ship:before{content:""}.btn-search{background-color:#fff;color:var(--brand);border:1px solid var(--brand)}.btn-search:hover{background-color:var(--brand);color:#fff}.btn-search:before{content:""}.btn-reset{background-color:#fff;color:var(--gray-muted);border:1px solid var(--gray-border)}.btn-reset:hover{background-color:var(--gray-light)}.btn-reset:before{content:""}.btn-evaluate{background-color:#fff;color:var(--amber);border:1px solid var(--amber-bg);font-weight:400}.btn-evaluate:hover{background-color:var(--amber-bg);color:var(--amber-dark)}.btn-evaluate:before{content:""}.btn-evaluate.evaluated{color:var(--brand);border-color:var(--brand-bg)}.btn-evaluate.evaluated:hover{background-color:var(--brand-bg);color:var(--brand-dark)}.btn-edit{background-color:#fff;color:var(--brand);border:1px solid var(--brand-bg);font-weight:400}.btn-edit:hover{background-color:var(--brand-bg);color:var(--brand-dark)}.btn-edit:before{content:""}.btn-use{background-color:#fff;color:var(--brand);border:1px solid var(--brand-bg);font-weight:400}.btn-use:hover{background-color:var(--brand-bg);color:var(--brand-dark)}.btn-use:before{content:""}.btn-image{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-image:hover{background-color:var(--brand-dark)}.btn-image:before{content:""}.btn-copy{background-color:#fff;color:#6b7280;border:1px solid #d1d5db;font-weight:400}.btn-copy:hover{background-color:#f3f4f6;color:#374151}.btn-copy:before{content:""}#lot-evaluate .btn-copy,#sencha-evaluate .btn-copy,#hojicha-evaluate .btn-copy{background-color:var(--brand);color:#fff;border-color:transparent}:is(#lot-evaluate .btn-copy,#sencha-evaluate .btn-copy,#hojicha-evaluate .btn-copy):hover{background-color:var(--brand-dark);color:#fff}#lot-evaluate .info-grid,#sencha-evaluate .info-grid,#hojicha-evaluate .info-grid{display:flex;flex-wrap:wrap;align-items:baseline;gap:0}:is(#lot-evaluate .info-grid,#sencha-evaluate .info-grid,#hojicha-evaluate .info-grid)>.field{flex-direction:row;align-items:baseline;gap:.4rem;margin:0;padding:0 1rem;border-right:1px solid var(--gray-border)}:is(#lot-evaluate .info-grid,#sencha-evaluate .info-grid,#hojicha-evaluate .info-grid)>.field:first-child{padding-left:0}:is(#lot-evaluate .info-grid,#sencha-evaluate .info-grid,#hojicha-evaluate .info-grid)>.field:last-child{border-right:none}.btn-duplicate{background-color:#fff;color:#6b7280;border:1px solid #d1d5db;font-weight:400}.btn-duplicate:hover{background-color:#f3f4f6;color:#374151}.btn-duplicate:before{content:""}.btn-select{background-color:var(--brand-bg);color:var(--brand);border:1px solid var(--brand-bg);font-weight:700}.btn-select:hover{background-color:var(--brand);color:#fff}.btn-select:before{content:""}.btn-detail{background-color:#fff;color:var(--gray-muted);border:1px solid var(--gray-border);font-weight:400}.btn-detail:hover{background-color:var(--gray-light);color:var(--gray)}.btn-detail:before{content:""}.btn-drive{background-color:#fff;color:var(--gray-muted);border:1px solid var(--gray-border);font-weight:400}.btn-drive:hover{background-color:var(--gray-light);color:var(--gray)}.btn-drive:before{content:""}.btn-print{background-color:#fff;color:var(--brand);border:1px solid var(--brand-bg);font-weight:400}.btn-print:hover{background-color:var(--brand-bg);color:var(--brand-dark)}.btn-print:before{content:""}.btn-more{background-color:#fff;color:var(--gray-muted);border:1px solid var(--gray-border);font-weight:400}.btn-more:hover{background-color:var(--gray-light);color:var(--gray)}.btn-more:before{content:""}.btn-receive{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-receive:hover{background-color:var(--brand-dark)}.btn-receive:before{content:""}.btn-issue{background-color:var(--orange);color:#fff;border:1px solid transparent}.btn-issue:hover{background-color:var(--orange-dark)}.btn-issue:before{content:""}.btn-cancel{background-color:var(--red);color:#fff;border:1px solid transparent}.btn-cancel:hover{background-color:var(--red-dark)}.btn-cancel:before{content:""}.btn-move{background-color:var(--teal);color:#fff;border:1px solid transparent}.btn-move:hover{background-color:var(--teal-dark)}.btn-move:before{content:""}.btn-split{background-color:var(--purple);color:#fff;border:1px solid transparent}.btn-split:hover{background-color:var(--purple-dark)}.btn-split:before{content:""}.btn-arrive{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-arrive:hover{background-color:var(--brand-dark, var(--brand));filter:brightness(.9)}.btn-arrive:before{content:""}.btn-save{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-save:hover{background-color:var(--brand-dark)}.btn-save:before{content:""}.btn-close{background-color:var(--gray-muted);color:#fff;border:1px solid transparent}.btn-close:hover{background-color:var(--gray)}.btn-close:before{content:""}.btn-addperson{background-color:var(--brand);color:#fff;border:1px solid transparent}.btn-addperson:hover{background-color:var(--brand-dark)}.btn-addperson:before{content:""}.btn-back{background-color:var(--gray-muted);color:#fff;border:1px solid transparent}.btn-back:hover{background-color:var(--gray)}.btn-back:before{content:""}.page-header{display:flex;align-items:center;justify-content:space-between}.page-header .back{font-size:.875rem;color:var(--gray-muted);display:block;margin-bottom:.25rem}.page-header .back:hover{color:var(--gray-muted)}.page-header .header-right{display:flex;align-items:center;gap:.75rem}.section-head{margin-bottom:.75rem}.section-block+.section-block{margin-top:2rem}.page-title{font-size:1.25rem;font-weight:700;color:var(--gray);line-height:1.25;margin:0}.page-main{margin:0 auto;padding:2rem 1.5rem;font-size:1rem;font-weight:700;max-width:1400px}.filter,.table-wrapper,.card,.task-card,.form-body{background-color:#fff;border:1px solid var(--gray-border);border-radius:.5rem;box-shadow:0 1px 2px #0000000d}.filter{display:flex;flex-wrap:wrap;gap:1rem;align-items:flex-end;margin-bottom:1.5rem;padding:1.25rem}.filter.tabbed{flex-direction:column;gap:.75rem;align-items:stretch;border-radius:0 0 .5rem .5rem;border-top-width:0}.filter label{display:block;font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.25rem}.filter input,.filter select{width:100%;border:1px solid var(--gray-border);border-radius:.25rem;padding:.375rem .75rem;font-size:.875rem;font-weight:400}.filter .row{display:flex;gap:1rem;align-items:flex-end;flex-wrap:wrap}.filter .search{flex:1;min-width:0}.filter .sm{width:9rem}.filter .md{width:11rem}.filter .lg{width:13rem}.filter .actions{display:flex;align-items:flex-end;gap:.5rem;margin-left:auto}.tabs{display:flex;border-bottom:1px solid var(--gray-border)}.tab-btn{display:flex;align-items:center;gap:.5rem;padding:.75rem 1.5rem;font-size:.875rem;font-weight:700;border-bottom:2px solid transparent;transition:color .15s ease,border-color .15s ease;cursor:pointer}.tab-btn.tab-active{border-color:var(--brand);color:var(--brand-dark);background-color:#fff}.tab-btn.tab-inactive{color:var(--gray-muted)}.tab-btn.tab-inactive:hover{color:var(--gray);border-color:var(--gray-border)}.tab-count{font-size:.875rem;font-weight:400;padding:.125rem .375rem;border-radius:9999px;background-color:var(--gray-light);color:var(--gray-muted)}.tab-count.tab-count-active{background-color:var(--brand-bg);color:var(--brand-dark)}.table-wrapper{overflow-x:auto}.table-wrapper table{width:100%;border-collapse:collapse;font-size:1rem}.table-wrapper table th{background-color:var(--gray-light);border-bottom:1px solid var(--gray-border);padding:.75rem;font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;text-align:left;white-space:nowrap}.table-wrapper table th.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.table-wrapper table th.sortable:hover{color:var(--gray)}.table-wrapper table th.sortable:after{content:" ↕";opacity:.3;font-style:normal;text-transform:none;letter-spacing:0}.table-wrapper table th.sortable.sort-asc:after{content:" ↑";opacity:.8}.table-wrapper table th.sortable.sort-desc:after{content:" ↓";opacity:.8}.table-wrapper table tr{border-bottom:1px solid var(--gray-border)}.table-wrapper table td{padding:.75rem;color:var(--gray)}.col-code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem}.num-col{text-align:right}.col-actions{display:flex;gap:.5rem;justify-content:flex-end}.empty-cell{text-align:center;padding:2rem;color:var(--gray-border);font-weight:400}.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sortable:hover{background-color:var(--gray-light)}.sort-icon{color:var(--gray-border);margin-left:.125rem}input[type=checkbox],input[type=radio]{width:1rem;height:1rem}label:has(input[type=checkbox]),label:has(input[type=radio]){display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400}.legend{margin-top:1rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}.modal{position:fixed;inset:0;display:flex;align-items:center;justify-content:center;z-index:50;padding:0 1rem}.modal>.backdrop{position:absolute;inset:0;background-color:#0009}.modal>.box{position:relative;z-index:1;background-color:#fff;width:100%;max-width:42rem;border-radius:.5rem;overflow:hidden;box-shadow:0 25px 50px -12px #00000040}.modal>.box.wide{max-width:72rem}.modal>.box>.body{max-height:80vh;overflow-y:auto}.modal>.box>.head{padding:1rem;background-color:var(--gray-light);border-bottom:1px solid var(--gray-border);display:flex;justify-content:space-between;align-items:center;font-weight:700}.modal>.box>.head h2,.modal>.box>.head h3{font-size:1.125rem;font-weight:700;color:var(--gray)}.modal>.box>.head .close{display:flex;align-items:center;justify-content:center;width:2rem;height:2rem;border-radius:9999px;font-size:1.25rem;line-height:1;color:var(--gray-muted);transition:background-color .15s ease,color .15s ease;flex-shrink:0}.modal>.box>.head .close:hover{background-color:var(--gray-border);color:var(--gray)}.modal>.box>.body{padding:1.5rem}.modal>.box>.body .desc{font-size:.875rem;color:var(--gray-muted);margin-bottom:1rem}.modal>.box .body .footer{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid var(--gray-border)}.modal>.box .body .footer>div{display:flex;gap:.75rem}.modal>.box>.search{padding:.75rem;border-bottom:1px solid var(--gray-border)}.modal>.box>.search input{width:100%;border:1px solid var(--gray-border);border-radius:.25rem;padding:.5rem .75rem;font-size:.875rem;font-weight:400;outline:none}.modal>.box>.search input:focus{border-color:var(--brand)}.modal>.box>.list{max-height:20rem;overflow-y:auto}.modal>.box>.section{font-size:.875rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--gray-muted);margin:1.25rem 0 .5rem;padding-bottom:.25rem;border-bottom:1px solid var(--gray-border)}.modal>.box>.section:first-child{margin-top:0}.modal>.box>.empty{flex:1 1 0%;display:flex;align-items:center;justify-content:center;color:var(--gray-muted);font-weight:400;padding:5rem 0}.field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1rem}.field>.badge{align-self:start}.field:has(>label>input[type=checkbox]):not(:has(>input)){align-self:center;margin-bottom:0}.field>label:has(input[type=checkbox]){display:flex;flex-direction:row;align-items:center;gap:.5rem;cursor:pointer}.field>label{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em}.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea{width:100%;border:2px solid var(--gray-border);border-radius:.25rem;padding:.5rem .75rem;font-size:.875rem;font-weight:400;outline:none;background-color:#fff}:is(.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea):focus{border-color:var(--brand)}:is(.field input:not([type=checkbox]):not([type=radio]),.field select,.field textarea):disabled{background-color:var(--gray-light);color:var(--gray-muted)}.box-sm{width:100%;border:1px solid var(--gray-border);border-radius:.25rem;padding:.25rem .5rem;background-color:#fff;font-weight:400;outline:none}.box-sm:focus{border-color:var(--brand)}.box-sm:disabled{background-color:var(--gray-light);color:var(--gray-muted)}.box-display{width:100%;border:2px solid var(--gray-border);border-radius:.25rem;padding:.5rem .75rem;background-color:var(--gray-light);color:var(--gray-muted);font-weight:400}label.req:after{content:"*";color:var(--red);margin-left:.25rem}.err{color:var(--red);font-size:.875rem;font-weight:400;margin-top:.25rem}.tags{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem}.tags .chip{display:inline-flex;align-items:center;gap:.25rem;background:var(--brand-bg);color:var(--brand-dark);border-radius:.25rem;padding:.125rem .5rem;font-size:.875rem;font-weight:500}.tags .chip button{background:none;border:none;color:var(--brand);cursor:pointer;padding:0;line-height:1;font-size:1rem}.tags .chip button:hover{color:var(--red)}.tags .taginput{border:none;padding:0;gap:0}.tags .taginput.focused{border:none}.tags .taginput input{border-bottom:2px solid var(--gray-border);min-width:6rem;padding:.125rem .25rem}.tags .taginput input:focus{border-bottom-color:var(--brand)}.taginput{display:flex;flex-wrap:wrap;align-items:center;gap:.375rem;border:2px solid var(--gray-border);border-radius:.25rem;padding:.375rem .5rem;background:#fff;cursor:text;position:relative}.taginput.focused{border-color:var(--brand)}.taginput .chip{display:inline-flex;align-items:center;gap:.25rem;background:var(--brand-bg);color:var(--brand-dark);border-radius:.25rem;padding:.125rem .5rem;font-size:.875rem;font-weight:500}.taginput .chip button{background:none;border:none;color:var(--brand);cursor:pointer;padding:0;line-height:1;font-size:1rem}.taginput .chip button:hover{color:var(--red)}.taginput input{flex:1;min-width:8rem;border:none;outline:none;padding:.125rem .25rem;font-size:inherit;background:transparent}.taginput .suggest{position:absolute;top:100%;left:0;right:0;z-index:50;background:#fff;border:1px solid var(--gray-border);border-radius:.25rem;box-shadow:0 4px 12px #0000001a;margin-top:.25rem;list-style:none;padding:.25rem 0}.taginput .suggest li{padding:.4rem .75rem;cursor:pointer;font-size:.875rem}.taginput .suggest li:hover{background:var(--brand-bg)}.row-select{display:flex;align-items:center;gap:.75rem;border-bottom:1px solid var(--gray-light);padding-bottom:.25rem;min-height:36px}.row-select select{flex:1;width:auto}.row-select .btn-search{flex-shrink:0}.row-select .row-select{border-bottom:none;padding-bottom:0;min-height:auto}.row-select .row-divider{color:var(--gray-border);flex-shrink:0}.text-sm{font-size:.875rem;color:var(--gray)}.list-item{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid var(--gray-border);cursor:pointer;transition:background-color .15s ease;font-weight:400}.list-item:hover{background-color:var(--brand-bg)}.list-item .pick{color:var(--brand);font-weight:700;flex-shrink:0}.badge{display:inline-block;padding:.125rem .5rem;border-radius:.25rem;font-size:.75rem;font-weight:700}.badge.blend{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.pack{background-color:var(--purple-bg);color:var(--purple)}.badge.roast{background-color:var(--orange-bg);color:var(--orange)}.badge.label{background-color:var(--teal-bg);color:var(--teal)}.badge.active{background-color:var(--green-bg);color:var(--green)}.badge.inactive,.badge.consumed{background-color:var(--gray-light);color:var(--gray-muted)}.badge.use{background-color:var(--orange-bg);color:var(--orange)}.badge.raw{background-color:var(--amber-bg);color:var(--amber)}.badge.int{background-color:var(--purple-bg);color:var(--purple)}.badge.prod{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.mat{background-color:var(--gray-light);color:var(--gray-muted)}.badge.supplied{background-color:var(--orange-bg);color:var(--orange)}.badge.sticker{background-color:var(--teal-bg);color:var(--teal)}.badge.origin-prod{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.origin-purch{background-color:var(--gray-light);color:var(--gray-muted)}.badge.origin-return{background-color:var(--amber-bg);color:var(--amber)}.badge.product{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.inter{background-color:var(--amber-bg);color:var(--amber)}.badge.grade{background-color:var(--yellow-bg);color:var(--amber-dark);border:1px solid var(--yellow-bg)}.badge.organic-yes{background-color:var(--green-bg);color:var(--green)}.badge.organic-no{background-color:var(--gray-light);color:var(--gray-muted)}.badge.cert-organic{background-color:var(--green-bg);color:var(--green)}.badge.cert-none{background-color:var(--gray-light);color:var(--gray-muted)}.badge.admin-yes{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.admin-no,.badge.cs-none{background-color:var(--gray-light);color:var(--gray-muted)}.badge.cs-inquiry{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.cs-quote{background-color:var(--amber-bg);color:var(--amber)}.badge.cs-sample{background-color:var(--teal-bg);color:var(--teal)}.badge.cs-first{background-color:var(--purple-bg);color:var(--purple)}.badge.cs-repeat{background-color:var(--green-bg);color:var(--green)}.badge.purchased{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.produced{background-color:var(--purple-bg);color:var(--purple)}.badge.returned{background-color:var(--amber-bg);color:var(--amber)}.badge.arrived{background-color:var(--green-bg);color:var(--green)}.badge.partial{background-color:var(--yellow-bg);color:var(--amber-dark)}.badge.pending{background-color:var(--gray-light);color:var(--gray-muted)}.badge.yield{background-color:var(--green-bg);color:var(--green)}.badge.consume{background-color:var(--red-bg);color:var(--red-dark)}.product-tag{display:inline-flex;align-items:center;gap:.375rem;padding:.25rem .5rem;background-color:var(--brand-bg);color:var(--brand-dark);border-radius:.25rem;font-size:.875rem}.product-tag .product-tag-code{font-family:monospace;opacity:.7;font-size:.75rem}.product-tag button{font-size:.875rem;opacity:.6;line-height:1}.product-tag button:hover{opacity:1}.textarea-sm{height:8rem;font-weight:400}.btn-add{padding:.25rem .75rem;font-size:.875rem;font-weight:600;border:1px solid var(--brand-bg);border-radius:.25rem;background-color:var(--brand-bg);color:var(--brand-dark);cursor:pointer}.btn-add:hover{background-color:var(--brand-bg)}.btn-add:before{content:"＋ "}.btn-del{padding:.125rem .5rem;font-size:.875rem;font-weight:600;border:1px solid var(--red-bg);border-radius:.25rem;background-color:var(--red-bg);color:var(--red-dark);cursor:pointer}.btn-del:hover{background-color:var(--red-bg)}.rows .empty{padding:1rem 1.5rem;font-size:.875rem;color:var(--gray-muted)}.rows>.row{border-top:1px solid var(--gray-light);padding:1.25rem 1.5rem}.rows>.row+:is(.rows>.row){border-top:1px dashed var(--gray-border)}.rows>.row>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}.rows>.row>header span{font-size:.875rem;font-weight:700;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.05em}.page-main-flex-col{display:flex;flex-direction:column;gap:2rem}.wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));-moz-column-gap:2rem;column-gap:2rem;row-gap:1rem}.full{grid-column:span 2 / span 2}.card{padding:1.5rem}.form-footer{display:flex;justify-content:space-between;gap:1rem}.form-footer>div{display:flex;gap:1rem}.form-footer.bordered{padding-top:2rem;border-top:1px solid var(--gray-border)}.form-card{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1.5rem;display:flex;flex-direction:column;gap:1.25rem}.form-card>header{display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid var(--gray-border);padding-bottom:.75rem}.form-card>header h3{flex:1;font-size:.875rem;font-weight:700;color:var(--gray);margin:0}.form-card>.rows{margin:0 -1.5rem -1.5rem}.stack{display:flex;flex-direction:column;gap:2rem}.form-page{padding:2rem 0}.form-container{margin:0 auto;padding:0 1rem}@media(min-width:640px){.form-container{padding:0 1.5rem}}@media(min-width:1024px){.form-container{padding:0 2rem}}.form-body{padding:2.5rem}.form-body>*+*{margin-top:2rem}.text-display{font-size:.875rem;color:var(--gray);font-weight:700}.text-display.disabled{color:var(--gray-border)}.radio-group{display:flex;gap:1.5rem}label:has(input[type=radio]){font-size:.875rem}.suggest-list{position:absolute;top:100%;left:0;right:0;background:#fff;border:1px solid var(--gray-border);border-top:none;border-radius:0 0 .375rem .375rem;box-shadow:0 4px 12px #00000014;z-index:10;max-height:14rem;overflow-y:auto}.suggest-list li{padding:.5rem .75rem;font-size:.875rem;cursor:pointer;color:var(--gray)}.suggest-list li:hover{background-color:var(--brand-bg);color:var(--brand-dark)}.seg{display:inline-flex;border:1px solid var(--gray-border);border-radius:.375rem;overflow:hidden}.seg>button{padding:.5rem 1.125rem;font-size:.875rem;font-weight:500;color:var(--gray-muted);background-color:#fff;border-right:1px solid var(--gray-border);transition:background-color .12s ease,color .12s ease;white-space:nowrap}.seg>button:last-child{border-right:none}.seg>button:hover:not(.active){background-color:var(--gray-light);color:var(--gray)}.seg>button.active{background-color:var(--brand);color:#fff;font-weight:600}.seg{display:inline-flex;width:-moz-fit-content;width:fit-content;border-radius:.375rem;border:1px solid var(--gray-outline);overflow:hidden}.seg input[type=radio]{display:none}.seg label{padding:.375rem 1.1rem;font-size:.875rem;white-space:nowrap;background:#fff;color:var(--gray);border-right:1px solid #9ca3af;cursor:pointer;transition:background .15s,color .15s}.seg label:last-child{border-right:none}.seg label:has(input:checked){background:var(--brand);color:#fff;font-weight:700}.seg.rated label:nth-child(1):has(input:checked){background:#dc2626;color:#fff;font-weight:700}.seg.rated label:nth-child(2):has(input:checked){background:#f97316;color:#fff;font-weight:700}.seg.rated label:nth-child(3):has(input:checked){background:#ca8a04;color:#fff;font-weight:700}.seg.rated label:last-child:has(input:checked){background:var(--brand);color:#fff;font-weight:700}.label-hint{font-size:.875rem;color:var(--gray-border);text-transform:none;letter-spacing:0;font-weight:400}#production.create .preview{display:flex;flex-direction:column;gap:.5rem}#production.create .preview>div{display:flex;align-items:center;gap:.5rem}#production.create .preview .num{font-size:.875rem;color:var(--gray-muted);width:1rem;text-align:right;flex-shrink:0}#production.create .preview .name{font-size:.875rem;color:var(--gray)}#production-create-modal>.box{max-width:42rem;border-radius:.75rem;display:flex;flex-direction:column;max-height:85vh}#production-create-modal>.box .body{padding:1.5rem;display:flex;flex-direction:column;overflow:hidden;gap:1.5rem}#production-create-modal>.box .body .modal-fields{display:flex;flex-direction:column;gap:.75rem}#production-create-modal>.box .body .modal-fields .modal-field{display:flex;flex-direction:column;gap:.375rem}#production-create-modal>.box .body .modal-fields .modal-field label{font-size:.875rem;font-weight:600;color:var(--gray-muted)}#production-create-modal>.box .body .search{display:flex;flex-direction:row;gap:.75rem}#production-create-modal>.box .body .search input{flex:1 1 0%;border:2px solid var(--gray-border);border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;font-weight:400;outline:none;transition:border-color .15s ease}#production-create-modal>.box .body .search input:focus{border-color:var(--brand)}#production-create-modal>.box .body .results{border:1px solid var(--gray-light);border-radius:.5rem;overflow:hidden;background-color:var(--gray-light);flex:1 1 0%;display:flex;flex-direction:column;min-height:300px}#production-create-modal>.box .body .results>div:first-child{overflow-y:auto}#production-create-modal>.box .body .results .item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;background-color:#fff;border-bottom:1px solid var(--gray-light);cursor:pointer;transition:background-color .15s ease}#production-create-modal>.box .body .results .item:hover{background-color:var(--brand-bg)}#production-create-modal>.box .body .results .item .info{display:flex;flex-direction:column;gap:.25rem;min-width:0;flex:1}#production-create-modal>.box .body .results .item .main{display:flex;align-items:center;gap:.5rem}#production-create-modal>.box .body .results .item .main code{font-size:.875rem;color:var(--brand);font-weight:600;flex-shrink:0}#production-create-modal>.box .body .results .item .main b{font-size:.875rem;font-weight:600;color:var(--gray);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#production-create-modal>.box .body .results .item small{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}#production-create-modal>.box .body .results .item small .no-cost{color:var(--warning, #f59e0b)}#production-create-modal>.box .body .results .item .btns{display:flex;align-items:center;gap:.5rem;flex-shrink:0}#production-create-modal>.box .body .results .empty{text-align:center;color:var(--gray-muted);font-weight:400;padding:4rem 0}#production-create-modal>.box .body .results .empty .err-text{color:var(--red)}.search-modal .fallback{margin-top:.75rem;padding-top:.75rem;border-top:1px solid var(--gray-border)}.search-modal .fallback label{display:block;font-size:.875rem;color:var(--gray-muted);margin-bottom:.4rem}.search-modal .fallback input{flex:0 0 16rem}#item-search-modal>.box,.search-modal>.box{display:flex;flex-direction:column;max-height:85vh}:is(#item-search-modal>.box,.search-modal>.box) .body{padding:1.5rem;display:flex;flex-direction:column;overflow-y:auto;gap:1.5rem}:is(#item-search-modal>.box,.search-modal>.box) .body .search{display:flex;flex-direction:row;gap:.75rem}:is(#item-search-modal>.box,.search-modal>.box) .body .search input{flex:1 1 0%;border:2px solid var(--gray-border);border-radius:.5rem;padding:.75rem 1rem;font-size:.875rem;font-weight:400;outline:none;transition:border-color .15s ease}:is(#item-search-modal>.box,.search-modal>.box) .body .search input:focus{border-color:var(--brand)}:is(#item-search-modal>.box,.search-modal>.box) .body .results{border:1px solid var(--gray-light);border-radius:.5rem;overflow:hidden;background-color:var(--gray-light);flex:1 1 0%;display:flex;flex-direction:column;min-height:300px}:is(#item-search-modal>.box,.search-modal>.box) .body .results>div:first-child{overflow-y:auto}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem;background-color:#fff;border-bottom:1px solid var(--gray-light);cursor:pointer;transition:background-color .15s ease}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item:hover{background-color:var(--brand-bg)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item .info{display:flex;flex-direction:column;gap:.2rem;flex:1;min-width:0}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item .info>div{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--gray-muted)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item code{font-size:.875rem;color:var(--brand);font-weight:600}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item b{display:block;font-weight:600;color:var(--gray)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item small{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item small .no-cost{color:var(--warning, #f59e0b)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .item .btns{display:flex;align-items:center;gap:.5rem;flex-shrink:0}:is(#item-search-modal>.box,.search-modal>.box) .body .results .empty{text-align:center;color:var(--gray-muted);font-weight:400;padding:4rem 0}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-back{padding:.75rem 1rem;background-color:#fff;border-bottom:1px solid var(--gray-light)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-body{padding:1rem;overflow-y:auto;flex:1;background-color:#fff}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-body h4{font-size:.875rem;font-weight:600;margin-bottom:.5rem;margin-top:1rem}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-body .no-annual{margin-top:1rem;color:var(--gray-muted);font-size:.875rem}:is(#item-search-modal>.box,.search-modal>.box) .body .results .modal-add-link{text-align:right;padding-top:.5rem}:is(#item-search-modal>.box,.search-modal>.box) .body .results .modal-add-link a{font-size:.875rem;color:var(--brand)}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-table{width:100%;border-collapse:collapse;font-size:.875rem}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-table th,:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-table td{padding:.35rem .5rem;border:1px solid var(--gray-light);text-align:left;vertical-align:top}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-table thead th{background-color:var(--gray-light);font-weight:600}:is(#item-search-modal>.box,.search-modal>.box) .body .results .detail-table th{width:8rem;color:var(--gray-muted);font-weight:400;background-color:var(--gray-light);white-space:nowrap}.task-card{overflow:hidden;transition:border-color .15s ease}.task-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;padding:1rem 1.5rem;background-color:var(--gray-light);border-bottom:1px solid var(--gray-border);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;transition:background-color .15s ease}.task-header:hover{background-color:var(--gray-light)}.task-header .left{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.task-header .right{display:flex;align-items:center;gap:.75rem}.task-header .step{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em}.task-header .name{color:var(--gray)}.task-body{padding:1.5rem}.task-body>*+*{margin-top:1.5rem}.task-footer{padding:1rem 1.5rem;background-color:var(--gray-light);border-top:1px solid var(--gray-border);display:flex;justify-content:flex-end;align-items:center}.chevron{width:1rem;height:1rem;color:var(--gray-muted);transition:transform .2s ease;flex-shrink:0}.chevron--open{transform:rotate(180deg)}.input-unit{display:flex;align-items:baseline;gap:.5rem}.unit-label{color:var(--gray-muted);font-weight:400;font-size:.875rem}input[type=number]{text-align:right}.code{font-family:ui-monospace,monospace}.select-sm{width:8rem}.table-scroll{overflow-x:auto}.lot-code{font-family:ui-monospace,monospace;font-size:.875rem}.field-narrow{width:16rem}.input-qty{width:10rem;font-size:1.125rem;font-weight:700}#results.create .wrap{grid-template-columns:repeat(3,1fr);-moz-column-gap:1.5rem;column-gap:1.5rem}#results.create .layout{display:flex;flex-direction:column;gap:1.5rem;align-items:flex-start}@media(min-width:1024px){#results.create .layout{flex-direction:row}}#results.create aside{width:100%;display:flex;flex-direction:column;gap:1rem}@media(min-width:1024px){#results.create aside{width:18rem;flex-shrink:0;position:sticky;top:1.5rem}}#results.create .main{width:100%;display:flex;flex-direction:column;gap:1.5rem}@media(min-width:1024px){#results.create .main{flex:1}}#results.create .order{padding:1.25rem}#results.create .order small:first-child{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;display:block;margin-bottom:.25rem}#results.create .order b{font-size:.875rem;color:var(--gray);display:block}#results.create .order small:last-child{font-size:.875rem;color:var(--gray-muted);font-weight:400;display:block;margin-top:.25rem}#results.create .toc{padding:1rem}#results.create .toc>small{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;display:block;margin-bottom:.75rem}#results.create .toc .list{display:flex;flex-direction:column}#results.create .toc .list>*+*{border-top:1px solid var(--gray-light)}#results.create .toc .list button{display:flex;align-items:center;gap:.5rem;padding:.625rem .5rem;margin:0 -.5rem;border-radius:.25rem;width:100%;transition:background-color .15s ease}#results.create .toc .list button:hover{background-color:#e6f5f299}#results.create .toc .list button .num{font-size:.875rem;color:var(--gray-muted);width:1rem;text-align:right;flex-shrink:0}#results.create .toc .list button .name{color:var(--gray);flex:1;font-size:.875rem}#results.create .toc .list button .done{font-size:.875rem;color:var(--green);font-weight:700;flex-shrink:0}#results.create .task-card.done{border-color:var(--green-bg);background-color:#f0fdf466}#results.create .task-header .summary{display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}#results.create .task-header .summary b{color:var(--brand);font-weight:700}#results.create .task-header .submitted{display:inline-block;padding:.125rem .5rem;border-radius:.25rem;font-size:.875rem;font-weight:700;background-color:var(--green-bg);color:var(--green)}#results.create .progress{padding:.125rem .5rem;border-radius:9999px;font-size:.875rem;font-weight:700;border:1px solid}#results.create .progress.done{background-color:var(--green-bg);color:var(--green);border-color:var(--green-bg)}#results.create .progress.active{background-color:var(--amber-bg);color:var(--amber);border-color:var(--amber-bg)}#results.create .progress.pending{background-color:var(--gray-light);color:var(--gray-muted);border-color:var(--gray-border)}#results.create .output{display:flex;align-items:center;gap:.75rem;border:1px solid var(--purple-bg);background-color:var(--purple-bg);border-radius:.25rem;padding:.625rem 1rem;font-size:.875rem}#results.create .output code{font-family:ui-monospace,monospace;font-size:.875rem;color:var(--gray-muted)}#results.create .output span{color:var(--gray)}#results.create .output b{display:inline-block;padding:.125rem .5rem;border-radius:.25rem;font-size:.875rem;font-weight:700;background-color:var(--purple-bg);color:var(--purple);flex-shrink:0}#results.create .task-body table{width:100%;text-align:left;border-collapse:collapse}#results.create .task-body table th{padding:.5rem 0;border-bottom:1px solid var(--gray-border);color:var(--gray-muted);font-weight:400;font-size:.875rem}#results.create .task-body table td{padding:.75rem 0;border-bottom:1px solid var(--gray-border)}#results.create .task-body table .actual{width:8rem}#results.create .task-body table .material{font-weight:700}#results.create .task-body table .planned{text-align:right;font-family:ui-monospace,monospace;color:var(--gray-muted);font-weight:400}#results.create .yield{display:flex;align-items:baseline;gap:.5rem}#results.create .yield span{font-size:1.875rem;font-weight:900;color:var(--brand)}#results.create .formula{font-size:11px;color:var(--gray-muted);font-weight:400;font-family:ui-monospace,monospace;margin-top:.125rem}#results.create .task-footer .done-row{display:flex;flex-wrap:wrap;align-items:center;gap:1rem}#results.create .task-footer .done-msg{color:var(--green);font-weight:700;font-size:.875rem}#recipe.create .sections{display:flex;flex-direction:column;gap:1.5rem}#recipe.create .card{padding:1.5rem}#recipe.create .card>*+*{margin-top:1rem}#recipe.create .card>small{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.25rem;display:block}#recipe.create .task-body table{width:100%;text-align:left;border-collapse:collapse}#recipe.create .task-body table th{padding:.5rem 0;border-bottom:1px solid var(--gray-border);color:var(--gray-muted);font-weight:400;font-size:.875rem}#recipe.create .task-body table td{padding:.5rem .5rem .5rem 0;border-bottom:1px solid var(--gray-border)}#recipe.create .task-body table .qty{width:7rem}#recipe.create .task-body table .unit{width:5rem}#recipe.create .task-body table .check{text-align:center;width:6rem}#recipe.create .task-body table .action{width:2rem}#recipe.create .add{margin-top:.5rem}#recipe.create .add-task{width:100%;border:2px dashed var(--gray-border);border-radius:.5rem;padding:1rem;color:var(--gray-muted);font-weight:700;transition:border-color .15s ease,color .15s ease}#recipe.create .add-task:hover{border-color:var(--brand);color:var(--brand)}#recipe.create .add-task:before{font-family:"Font Awesome 6 Free";font-weight:900;font-variant:normal;text-rendering:auto;-webkit-font-smoothing:antialiased;content:"";margin-right:.5rem}#recipe.create .empty{color:var(--gray-muted);font-weight:400;font-size:.875rem}#production-show-header .back{font-size:.875rem;color:var(--gray-muted)}#production-show-header .back:hover{color:var(--gray-muted)}#production-show-header h2.page-title{margin-top:.25rem}#production-show-header .status,#production.show .status{padding:.25rem .75rem;border-radius:9999px;font-size:.875rem;font-weight:700}:is(#production-show-header .status,#production.show .status).done{background-color:var(--green-bg);color:var(--green)}:is(#production-show-header .status,#production.show .status).progress{background-color:var(--yellow-bg);color:var(--amber-dark)}:is(#production-show-header .status,#production.show .status).planned{background-color:var(--gray-light);color:var(--gray-muted)}:is(#production.show h3,#production.show h4) code{font-size:.875rem;color:var(--brand);font-family:ui-monospace,SFMono-Regular,monospace;font-weight:400;background-color:var(--brand-bg);padding:.125rem .5rem;border-radius:.25rem}#production.show section.card>h3{font-weight:700;color:var(--gray);font-size:.875rem;line-height:1.5rem;margin-bottom:1rem;display:flex;align-items:center;gap:.75rem}#production.show section.card>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}#production.show section.card>header h3{font-weight:700;color:var(--gray);font-size:.875rem;line-height:1.5rem;display:flex;align-items:center;gap:.75rem;margin:0}#production.show h4{font-size:.875rem;line-height:1rem;font-weight:700;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.5rem;display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}#production.show .kv{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}#production.show .kv>div{display:flex;flex-direction:column;gap:.25rem}#production.show .kv dt{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em}#production.show .kv dd{color:var(--gray);font-weight:700;margin:0}#production.show .kv dd.code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem}#production.show .kv dd.date{font-weight:400;font-size:.875rem}#production.show .kv dd.loss{color:var(--red-dark)}#production.show .kv.meta{margin-bottom:1.5rem}#production.show .split{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}#production.show td.plus{color:var(--green);font-weight:700}#production.show td.minus{color:var(--red-dark);font-weight:700}#production.show td.mono{font-family:ui-monospace,SFMono-Regular,monospace}#production.show td.out{color:var(--green)}#production.show td.in{color:var(--red-dark)}#production.show td.sep{text-align:center;color:var(--gray-muted)}.date-col{font-weight:400;color:var(--gray-muted)}.action-group{display:flex;justify-content:flex-end;gap:.5rem}#receiving.create input[type=date]{width:11rem}#receiving.create .lotcode{flex:0 0 16rem;width:16rem}#receiving.create .origin-linked{color:var(--green);font-size:.875rem;white-space:nowrap}#receiving.create .origin-none{color:var(--gray-muted);font-size:.875rem;white-space:nowrap}#receiving.create input[type=number]{width:8rem}#receiving.create .amount{display:flex;gap:1.5rem;align-items:flex-start}#receiving.create .wrap{grid-template-columns:repeat(3,1fr);-moz-column-gap:1.5rem;column-gap:1.5rem}#receiving.create .rows .row .wrap{grid-template-columns:repeat(3,1fr);-moz-column-gap:1.5rem;column-gap:1.5rem;margin-top:1rem}#receiving.create .rows .row .search,#receiving.create .rows .row .amount{margin-top:1rem}#receiving.create .search{display:flex;flex-direction:column;gap:.5rem}#receiving.create .search .selected{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--brand-bg);background-color:var(--brand-bg);border-radius:.375rem;padding:.5rem .75rem}#receiving.create .search .selected span{color:var(--brand-dark);font-weight:500;font-size:.875rem}#receiving.create .search .selected .clear{color:var(--brand)}#receiving.create .search .selected .clear:hover{color:var(--red)}#receiving.create .search .wrap{display:block;position:relative}#receiving.create .search .wrap .input-row{display:flex;gap:.5rem}#receiving.create .search .wrap .dropdown{position:absolute;z-index:50;margin-top:.25rem;width:100%;border:1px solid var(--gray-border);border-radius:.375rem;background-color:#fff;box-shadow:0 10px 15px -3px #0000001a;max-height:15rem;overflow-y:auto}#receiving.create .search .wrap .dropdown button{display:block;width:100%;text-align:left;padding:.5rem 1rem;font-size:.875rem;border-bottom:1px solid var(--gray-light)}#receiving.create .search .wrap .dropdown button:hover{background-color:var(--brand-bg)}#receiving.create .search .wrap .dropdown button strong{font-family:ui-monospace,monospace;font-weight:500;color:var(--gray)}#receiving.create .search .wrap .dropdown button small{color:var(--gray-muted);margin-left:.5rem;font-weight:400}#receiving.create .search .wrap .dropdown.empty{padding:.75rem 1rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}#items td.name{min-width:200px}#items td.sub{font-weight:400;color:var(--gray-muted);font-size:.875rem}#items-create .wrap{display:flex;flex-wrap:wrap;gap:1rem 2rem}#items-create .wrap>.field{flex:0 0 auto}#items-create .wrap>.field.full{width:100%}#items-create .wrap>.row-break{width:100%;height:0}#users td.sub{font-weight:400;color:var(--gray-muted);font-size:.875rem}.pagination{display:flex;align-items:center;justify-content:space-between;padding:.75rem 1rem;border-top:1px solid var(--gray-light)}.pagination .info{font-size:.875rem;color:var(--gray-muted);font-weight:400}.pagination .right{display:flex;align-items:center;gap:1rem}.pagination .per-page{display:flex;align-items:center;gap:.5rem;font-weight:400;font-size:.875rem;color:var(--gray-muted)}.pagination .per-page select{border:1px solid var(--gray-border);border-radius:.25rem;font-size:.875rem;padding:.25rem .5rem}.pagination .links{display:flex;gap:.25rem}.pagination .links a,.pagination .links span{padding:.25rem .625rem;border-radius:.25rem;font-size:.875rem}.pagination .links .active{background-color:var(--brand);color:#fff}.pagination .links .inactive{color:var(--gray-muted)}.pagination .links .inactive:hover{background-color:var(--gray-light)}.pagination .links .disabled{color:var(--gray-border);cursor:default}.link-production{color:var(--brand);font-size:.875rem}.link-production:hover{color:var(--brand-dark)}#inventory .view-bar{display:flex;align-items:center;padding:.5rem 1rem;border-bottom:1px solid var(--gray-200);background:var(--gray-50)}#inventory th.sortable:after{content:" ↕";opacity:.35;font-weight:400}#inventory th.sort-asc:after{content:" ↑";opacity:.8}#inventory th.sort-desc:after{content:" ↓";opacity:.8}#inventory td.thumb img{display:block;width:4rem;height:4rem;-o-object-fit:contain;object-fit:contain;background:var(--gray-light);border:1px solid var(--gray-border);border-radius:.5rem;cursor:pointer}#inventory td.eval-cell{font-size:.875rem;white-space:nowrap}#inventory td.eval-cell .eval-row{display:flex;gap:.3rem;line-height:1.6}#inventory td.eval-cell .eval-label{color:var(--gray-muted);min-width:3em}#inventory td.eval-cell.memo{white-space:normal;max-width:12rem;font-size:.78rem}#inventory td.actions-col{white-space:nowrap;text-align:right;display:flex;justify-content:flex-end;align-items:center;gap:.5rem}#inventory .pending-out{font-size:.75rem;color:#92400e;margin-top:.125rem}#inventory .incoming{font-size:.75rem;color:#2563eb;margin-top:.125rem}#inventory .low-stock{display:inline-block;margin-left:.375rem;padding:.1rem .35rem;font-size:.65rem;font-weight:600;color:#fff;background:#dc2626;border-radius:3px;vertical-align:middle;line-height:1.4}#inventory .modal-section-label{font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--gray-muted);border-top:1px solid var(--border);padding-top:1rem;margin-top:.25rem}#inventory .lot-ref{font-size:.875rem;margin-bottom:1rem;color:var(--gray)}#inventory .lot-ref code{font-family:ui-monospace,monospace;font-weight:600;margin-right:.5rem}#inventory .lot-ref .dim{color:var(--gray-muted)}#inventory th .sub{font-size:12px;color:var(--gray-muted);font-weight:400;text-transform:none;letter-spacing:0;margin-top:.125rem}#inventory td .sub{margin-top:.25rem}#inventory td.sku{min-width:150px;overflow-wrap:anywhere}#inventory td.origin{min-width:120px;overflow-wrap:anywhere}#inventory .legend{line-height:1.75}#inventory .section{margin-top:1.5rem}#inventory td.cost{text-align:right;font-family:ui-monospace,monospace;font-weight:400;color:var(--gray-muted);white-space:nowrap}#inventory td.qty{text-align:right;font-family:ui-monospace,monospace;white-space:nowrap}#inventory .dim{font-weight:400;color:var(--gray)}#inventory .hint{font-size:12px;color:var(--gray-muted);font-weight:400;margin-top:.125rem}#inventory .nil{color:var(--gray-muted);font-weight:400}#inventory .pos{color:var(--gray)}#inventory .zero{color:var(--gray-border)}#inventory .unit{color:var(--gray-muted);font-size:.875rem;font-weight:400;margin-left:.25rem}#inventory .pkg{display:flex;align-items:baseline;gap:.5rem;white-space:nowrap}#inventory .pkg .qty{color:var(--gray-muted);font-family:ui-monospace,monospace;font-size:.875rem}.link-code{color:var(--brand);font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem}.link-code:hover{color:var(--brand-dark);text-decoration:underline}.btn-split,.btn-move{font-size:.75rem;padding:.25rem .75rem;background:none;border:1px solid var(--gray-border);border-radius:.25rem;color:var(--gray);cursor:pointer}:is(.btn-split,.btn-move):hover{border-color:var(--brand);color:var(--brand)}#arrive .stack{gap:1.25rem}#arrive .intake{display:flex;align-items:center;gap:.5rem}#arrive .intake input{width:6rem}#arrive .badge{font-size:1rem;white-space:nowrap;margin-top:.5rem}.filter .seg label{margin-bottom:0;letter-spacing:normal;text-transform:none}#packageuse .stack{gap:1.25rem}#packageuse .form-footer .err{align-self:center;margin:0}#movereserve .stack{gap:1.25rem}#movereserve input[type=date]{width:14rem}#ship .stack{gap:1.25rem}#ship input[type=date]{width:14rem}#addpkg .stack{gap:1.25rem}#addpkg .intake{display:flex;align-items:center;gap:.5rem}#addpkg .intake input{width:7rem}#addpkg .intake input.unit{width:4rem}#adjust .stack{gap:1.25rem}#adjust .intake{display:flex;align-items:center;gap:.5rem}#adjust .intake input{width:7rem}#split .stack{gap:1.25rem}#split .intake{display:flex;align-items:center;gap:.5rem}#split .intake input{width:7rem}#split .badge{font-size:1rem;white-space:nowrap;margin-top:.5rem}#inventory.show{display:flex;flex-direction:column;gap:1.5rem}#inventory.show .lot-info{display:flex;flex-wrap:wrap;gap:0}#inventory.show .lot-info>.field{padding:0 1.5rem 0 0;margin-right:1.5rem;border-right:1px solid var(--gray-border)}#inventory.show .lot-info>.field:last-child{border-right:none}#inventory.show .amount{display:flex;gap:1.5rem;align-items:flex-start;flex-wrap:wrap}#inventory.show .field>div{color:var(--gray);font-weight:500;padding:.5rem 0}#inventory.show .field>div.zero{color:var(--gray-border)}#inventory.show .field>div.effective{color:var(--brand)}#inventory.show .field>div.dim{color:var(--gray-muted)}#inventory.show .empty{padding:.75rem 0;color:var(--gray-muted)}#inventory.show td.num-col{text-align:right;font-family:ui-monospace,monospace;white-space:nowrap}#inventory.show header .links{display:flex;gap:.5rem}#inventory.show .eval{display:flex;flex-direction:column;gap:1.25rem}#inventory.show .eval .grades{display:flex;gap:3rem;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--gray-border)}#inventory.show .eval .grades>div{display:flex;align-items:center;gap:.75rem}#inventory.show .eval .grade{display:inline-block;padding:.2rem 1rem;border-radius:9999px;font-weight:700;color:#fff}#inventory.show .eval .grade.g-top{background:#004e42}#inventory.show .eval .grade.g-upper{background:#0f766e}#inventory.show .eval .grade.g-middle{background:#16a34a}#inventory.show .eval .grade.g-regular{background:#b45309}#inventory.show .eval .grade.g-low{background:#ef4444}#inventory.show .eval .no-eval{color:var(--gray-muted)}#inventory.show .eval .radar{display:flex;align-items:center;justify-content:center;gap:2rem}#inventory.show .eval .radar>svg{flex:0 0 auto;width:100%;max-width:420px;display:block}#inventory.show .eval .radar aside{flex:0 0 auto;display:flex;flex-direction:column;gap:.75rem}#inventory.show .eval .radar aside>div{display:grid;grid-template-columns:auto 1fr;align-items:center;-moz-column-gap:.75rem;column-gap:.75rem;row-gap:.4rem;padding:.75rem;background:var(--gray-bg);border-radius:.375rem}#inventory.show .eval .radar aside>div h4{grid-column:1 / -1;margin:0 0 .1rem;padding-bottom:.4rem;border-bottom:1px solid var(--gray-border);font-size:1rem;font-weight:700}#inventory.show .eval .radar aside>div .badge{display:block;-moz-text-align-last:justify;text-align-last:justify}#inventory.show .eval .legend{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center;color:var(--gray-muted)}#inventory.show .eval .legend .lot{color:var(--brand);font-weight:600}#inventory.show .eval .legend .mat{color:var(--purple);font-weight:600}#inventory.show .eval table{width:100%;border-collapse:collapse}#inventory.show .eval table th,#inventory.show .eval table td{padding:.5rem .75rem;border-bottom:1px solid var(--gray-border);text-align:left}#inventory.show .eval table th{font-weight:600;color:var(--gray-muted);background:var(--gray-light)}#inventory.show .eval table td:nth-child(2){color:var(--brand);font-weight:500}#inventory.show .eval table td:nth-child(3){color:var(--purple);font-weight:500}#inventory.show .eval table tr.date td{color:var(--gray-muted)}#inventory.show .eval table .bad{color:var(--amber);margin-left:.25rem}.badge-gap{margin:0 .25rem}#lots td.qty{text-align:right;font-family:ui-monospace,monospace;white-space:nowrap}#recipe.index .tabs{display:flex;gap:0;border-bottom:1px solid var(--gray-border)}#recipe.index .tabs button{display:flex;flex-direction:column;align-items:flex-start;padding:.75rem 2rem;border-bottom:2px solid;transition:color .15s ease,background-color .15s ease,border-color .15s ease}#recipe.index .tabs button.active{border-color:var(--brand);color:var(--brand-dark);background-color:#fff}#recipe.index .tabs button.inactive{border-color:transparent;color:var(--gray-muted)}#recipe.index .tabs button.inactive:hover{color:var(--gray);border-color:var(--gray-border)}#recipe.index .tabs button small{font-size:.875rem;font-weight:400;color:var(--gray-muted);margin-top:.125rem}#recipe.index .bar{display:flex;justify-content:flex-end;margin-top:1.25rem;margin-bottom:1.25rem}#recipe.index .groups{display:flex;flex-direction:column;gap:1rem}#recipe.index .groups .group{overflow:hidden}#recipe.index .groups .group>header{display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:1rem 1.25rem;background-color:var(--gray-light);border-bottom:1px solid var(--gray-border)}#recipe.index .groups .group>header>div{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}#recipe.index .groups .group>header>div .name{color:var(--gray);font-weight:700}#recipe.index .groups .group>header>div small{font-size:.875rem;color:var(--gray-muted);font-weight:400}#recipe.index .groups .group>header>div .count{font-size:.875rem;color:var(--gray-muted);background-color:var(--gray-border);border-radius:9999px;padding:.125rem .5rem;font-weight:400}#recipe.index .groups .group .list>*+*{border-top:1px solid var(--gray-light)}#recipe.index .groups .group .list .row{display:flex;align-items:center;transition:background-color .15s ease}#recipe.index .groups .group .list .row:hover{background-color:#e6f5f266}#recipe.index .groups .group .list .row .tree{display:flex;align-items:center;justify-content:center;width:3rem;align-self:stretch;flex-shrink:0}#recipe.index .groups .group .list .row .tree>div{width:1rem;height:1px;background-color:var(--gray-border)}#recipe.index .groups .group .list .row .info{flex:1 1 0%;padding:.875rem 1rem .875rem 0}#recipe.index .groups .group .list .row .info>div{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}#recipe.index .groups .group .list .row .info>div b{padding:.125rem .375rem;border-radius:.25rem;font-size:.875rem;font-weight:700;background-color:var(--green-bg);color:var(--green);flex-shrink:0}#recipe.index .groups .group .list .row .info>div span{color:var(--gray);font-weight:700;font-size:.875rem}#recipe.index .groups .group .list .row .info>small{display:flex;align-items:center;gap:.375rem;margin-top:.25rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}#recipe.index .groups .group .list .row .actions{padding-right:1.25rem;flex-shrink:0}#recipe.index .badge{flex-shrink:0}#recipe.index .empty{text-align:center;color:var(--gray-muted);font-weight:400;padding:4rem 0}#search-modal>.box{max-width:42rem}#search-modal>.box>.body{padding:1.5rem;display:flex;flex-direction:column;gap:1rem}#search-modal>.box>.body .search{display:flex;gap:.5rem}#search-modal>.box>.body .search input{flex:1;border:1px solid var(--gray-border);border-radius:.25rem;padding:.5rem;font-size:.875rem;font-weight:400}#search-modal>.box>.body .search button{background-color:var(--gray);color:#fff;padding:0 1.5rem;border-radius:.25rem;font-size:.875rem}#search-modal>.box>.body .results{border:1px solid var(--gray-border);border-radius:.25rem;max-height:16rem;overflow-y:auto}#search-modal>.box>.body .results table{width:100%;text-align:left;border-collapse:collapse}#search-modal>.box>.body .results td{padding:.75rem;border-bottom:1px solid var(--gray-border);font-size:.875rem}#auth{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background-color:var(--gray-light);padding:1.5rem}#auth .logo{margin-bottom:1.5rem}#auth .card{width:100%;max-width:26rem;background-color:#fff;padding:2rem;border-radius:.5rem;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f}#auth .card .desc{font-size:.875rem;color:var(--gray-muted);margin-bottom:1rem}#auth .card .status{color:var(--green);font-size:.875rem;margin-bottom:1rem}#auth .card>.err{margin-bottom:1rem}#auth .card form{display:flex;flex-direction:column}#auth .card .footer{display:flex;align-items:center;justify-content:flex-end;gap:1rem;margin-top:.5rem;padding-top:1.5rem;border-top:1px solid var(--gray-light)}#auth .card .footer.between{justify-content:space-between}#auth .card .link{font-size:.875rem;color:var(--gray-muted);text-decoration:underline}#auth .card .link:hover{color:var(--gray)}#auth .ver{margin-top:1rem;font-size:.75rem;color:var(--gray-muted);text-align:center}#auth .btn-google{display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;padding:.625rem 1rem;border:1px solid var(--gray-border);border-radius:.375rem;background-color:#fff;font-weight:500;transition:background-color .15s ease;margin-bottom:1rem}#auth .btn-google:hover{background-color:var(--gray-light)}#auth .btn-google svg{width:1.25rem;height:1.25rem;flex-shrink:0}#auth>.link{display:block;text-align:center;margin-top:.75rem;font-size:.875rem;color:var(--gray-muted);text-decoration:underline}#auth>.link:hover{color:var(--gray)}.is-disabled{opacity:.5}.app-layout{min-height:100vh;background-color:var(--gray-light)}.app-nav{background-color:#fff;border-bottom:1px solid var(--gray-light)}.nav-container{max-width:80rem;margin:0 auto;padding:0 1rem}@media(min-width:640px){.nav-container{padding:0 1.5rem}}@media(min-width:1024px){.nav-container{padding:0 2rem}}.nav-bar{display:flex;height:4rem;justify-content:space-between}.nav-left{display:flex;align-items:center}.nav-logo{display:flex;flex-shrink:0;align-items:center}.logo-img{display:block;height:2.25rem;width:auto;fill:currentColor;color:var(--brand)}.cultivar-row{display:flex;flex-basis:100%;gap:1.5rem;align-items:flex-start}.choices{display:grid;grid-template-columns:repeat(4,1fr);gap:.25rem .75rem;padding:.5rem;border:1px solid var(--gray-light);border-radius:4px}.choices label{display:flex;align-items:center;gap:.35rem;cursor:pointer}.nav-links{display:none;align-items:stretch;align-self:stretch;gap:0;margin-left:2.5rem}@media(min-width:640px){.nav-links{display:flex}}.nav-item{position:relative;display:flex}.nav-item:hover .sub-wrap{display:block}.sub-wrap{display:none;position:absolute;left:0;top:100%;z-index:50;padding-top:.25rem}.sub-wrap .sub{min-width:8rem;background-color:#fff;border:1px solid var(--gray-border);border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a;padding:.25rem 0}.sub-wrap .sub a{display:block;padding:.5rem 1rem;font-size:.875rem;color:var(--gray);font-weight:400;white-space:nowrap}.sub-wrap .sub a:hover{background-color:var(--gray-light)}.nav-right{display:none;align-items:center}@media(min-width:640px){.nav-right{display:flex}}.user-btn{display:inline-flex;align-items:center;gap:.5rem;border-radius:.375rem;border:1px solid transparent;background-color:#fff;padding:.5rem .75rem;font-size:.875rem;font-weight:500;color:var(--gray-muted);cursor:pointer;transition:color .15s ease}.user-btn:hover{color:var(--gray)}.user-btn:focus{outline:none}.user-arrow{width:1rem;height:1rem}.nav-hamburger{display:flex;align-items:center}@media(min-width:640px){.nav-hamburger{display:none}}.hamburger-btn{display:inline-flex;align-items:center;justify-content:center;border-radius:.375rem;padding:.5rem;color:var(--gray-muted);cursor:pointer;transition:background-color .15s ease,color .15s ease}.hamburger-btn:hover{background-color:var(--gray-light);color:var(--gray-muted)}.hamburger-btn:focus{outline:none;background-color:var(--gray-light);color:var(--gray-muted)}.hamburger-icon{width:1.5rem;height:1.5rem}.nav-mobile{display:none}.nav-mobile.is-open{display:block}.nav-mobile .links{padding:.5rem 0 .75rem}.nav-mobile .user{border-top:1px solid var(--gray-border);padding:1rem 0 .25rem}.nav-mobile .user .info{padding:0 1rem;margin-bottom:.75rem}@media(min-width:640px){.nav-mobile{display:none!important}}.user-name{font-size:.875rem;font-weight:500;color:var(--gray)}.user-email{font-size:.875rem;font-weight:500;color:var(--gray-muted)}.app-header{background-color:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}.app-header .inner{max-width:80rem;margin:0 auto;padding:1.5rem 1rem}@media(min-width:640px){.app-header .inner{padding:1.5rem}}@media(min-width:1024px){.app-header .inner{padding:1.5rem 2rem}}.field input[type=text],.field input[type=email],.field input[type=password]{display:block;transition:border-color .15s ease}.field>label:not(:has(input)){display:block;font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:.25rem}.nav-link{display:inline-flex;align-items:center;height:100%;padding:0 1rem;border-bottom:2px solid transparent;font-size:.875rem;font-weight:500;color:var(--gray-muted);text-decoration:none;transition:color .15s ease,border-color .15s ease}.nav-link:hover{color:var(--gray);border-color:var(--gray-border)}.nav-link:focus{outline:none;color:var(--gray);border-color:var(--gray-border)}.nav-link.is-active{color:var(--gray);border-color:var(--brand)}.nav-link.is-active:focus{border-color:var(--brand-dark)}.dropdown-link{display:block;width:100%;padding:.5rem 1rem;font-size:.875rem;font-weight:400;color:var(--gray);text-align:left;line-height:1.25rem;transition:background-color .15s ease}.dropdown-link:hover{background-color:var(--gray-light)}.dropdown-link:focus{outline:none;background-color:var(--gray-light)}.dropdown-root{position:relative}.dropdown-overlay{position:fixed;inset:0;z-index:40}.dropdown-menu{position:absolute;z-index:50;margin-top:.5rem;border-radius:.375rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a}.dropdown-menu.align-right{right:0;transform-origin:top right}.dropdown-menu.align-left{left:0;transform-origin:top left}.dropdown-content{background-color:#fff;border-radius:.375rem;box-shadow:0 0 0 1px #0000000d;padding:.25rem 0}.dropdown-content .ver{padding:.375rem 1rem;font-size:.75rem;color:var(--gray-muted);border-top:1px solid var(--gray-light);text-align:center}.dropdown-enter-active{transition:opacity .2s ease,transform .2s ease}.dropdown-leave-active{transition:opacity 75ms ease,transform 75ms ease}.dropdown-enter-from{opacity:0;transform:scale(.95)}.dropdown-enter-to,.dropdown-leave-from{opacity:1;transform:scale(1)}.dropdown-leave-to{opacity:0;transform:scale(.95)}.nav-mobile{display:block;width:100%;padding:.5rem 1rem .5rem .75rem;border-left:4px solid transparent;font-size:.875rem;font-weight:500;color:var(--gray-muted);text-align:left;transition:color .15s ease,background-color .15s ease,border-color .15s ease}.nav-mobile:hover{color:var(--gray);background-color:var(--gray-light);border-color:var(--gray-border)}.nav-mobile:focus{outline:none;color:var(--gray);background-color:var(--gray-light);border-color:var(--gray-border)}.nav-mobile.is-active{color:var(--brand-dark);background-color:var(--brand-bg);border-color:var(--brand)}.nav-mobile.is-active:focus{color:var(--brand-dark);background-color:var(--brand-bg);border-color:var(--brand-dark)}.modal-enter-active,.modal-leave-active{transition:opacity .2s ease}.modal-enter-from,.modal-leave-to{opacity:0}#profile{padding:3rem 1.5rem}#profile .sections{max-width:1400px;margin:0 auto;display:flex;flex-direction:column;gap:1.5rem}#profile .card{background-color:#fff;padding:2rem;border-radius:.5rem;box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a}#profile section header{margin-bottom:1.5rem}#profile section header h2{font-size:1.125rem;font-weight:600;color:var(--gray)}#profile section header p{margin-top:.25rem;font-size:.875rem;color:var(--gray-muted)}#profile section form{display:flex;flex-direction:column}#profile section .actions{display:flex;align-items:center;gap:1rem;padding-top:1rem}#profile section .confirm{font-size:.875rem;color:var(--gray-muted)}#profile section .notice{font-size:.875rem;color:var(--gray)}#profile section .sent{font-size:.875rem;font-weight:500;color:var(--green);margin-top:.5rem}#profile section .link{font-size:.875rem;color:var(--gray-muted);text-decoration:underline}#profile section .link:hover{color:var(--gray)}#profile section.delete{display:flex;flex-direction:column;gap:1.5rem}.fade-enter-active,.fade-leave-active{transition:opacity .2s ease}.fade-enter-from,.fade-leave-to{opacity:0}#dashboard{padding:2rem 1.5rem;max-width:1400px;margin:0 auto}#dashboard .section-head:has(.btn-back){display:flex;align-items:center;justify-content:space-between;gap:1rem}#dashboard .actions{display:flex;gap:.5rem;align-items:center}#dashboard .count{font-size:.875rem;font-weight:400;color:var(--gray-muted);margin-left:.5rem}#dashboard td.date{display:flex;align-items:center;gap:.5rem;white-space:nowrap}#arrivepick .body table{width:100%}#arrivepick td.num{text-align:right;white-space:nowrap}#arrivepick td.sub{color:var(--gray-muted)}#moves{padding:2rem 1.5rem;max-width:1400px;margin:0 auto}#moves .actions{display:flex;gap:.5rem;align-items:center}#moves .count{font-size:.875rem;font-weight:400;color:var(--gray-muted);margin-left:.5rem}#moves td.date{display:flex;align-items:center;gap:.5rem;white-space:nowrap}#moves td.num{text-align:right;white-space:nowrap}#moves td.sub{color:var(--gray-muted)}.label-row{display:flex;align-items:center;gap:.5rem}.lots-legend{display:flex;flex-direction:column;gap:.25rem;font-size:.875rem;color:var(--gray-muted);font-weight:400;margin-top:1rem}#receiving{margin:0 auto;padding:2rem 1.5rem;max-width:1400px;font-size:.875rem;font-weight:700}#receiving .scroll{overflow-x:auto}#receiving table{width:100%;border-collapse:collapse}#receiving table th{background-color:var(--gray-light);border-bottom:1px solid var(--gray-border);padding:.75rem;font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;text-align:left;white-space:nowrap}#receiving table th.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}#receiving table th.sortable:hover{background-color:var(--gray-light)}#receiving table td{border-bottom:1px solid var(--gray-border);padding:.75rem;color:var(--gray)}#receiving table td.sku{color:var(--gray)}#receiving table td.sku small{display:block;font-size:.875rem;color:var(--gray-muted);font-weight:400;margin-top:.125rem}#receiving table td.qty{color:var(--gray)}#receiving table td.qty span.arrived{color:var(--green)}#receiving table td.qty span.total{color:var(--gray-muted)}#receiving table td.empty{text-align:center;padding:2rem;color:var(--gray-border);font-weight:400}#receiving table tr:hover td{background-color:var(--gray-light)}#customer.show{display:flex;flex-direction:column;gap:1.5rem}#customer.show .kv{display:grid;grid-template-columns:repeat(auto-fill,minmax(16rem,1fr));gap:1rem 2rem}#customer.show .kv>div{display:flex;flex-direction:column;gap:.25rem}#customer.show .kv .kv-full{grid-column:1 / -1}#customer.show .kv dt{font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em}#customer.show .kv dd{color:var(--gray);font-weight:700;margin:0;white-space:pre-wrap}#customer.show .row header time{font-size:.875rem;font-weight:400;color:var(--gray-muted)}#customer.show .note-content{margin:.75rem 1.5rem;font-weight:400;white-space:pre-wrap;color:var(--gray)}#masters{max-width:1400px;margin:0 auto;padding:2rem 1.5rem}#masters .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(13rem,1fr));gap:1rem}#masters .card{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:2rem 1rem;background-color:#fff;border:1px solid var(--gray-border);border-radius:.5rem;text-decoration:none;color:var(--gray);transition:box-shadow .15s ease,border-color .15s ease}#masters .card:hover{border-color:var(--brand);box-shadow:0 4px 12px #00000014}#masters .card .icon{font-size:2rem;color:var(--brand)}#masters .card .label{font-size:.875rem;font-weight:700;color:var(--gray)}#masters .card .count{font-size:.875rem;font-weight:400;color:var(--gray-muted)}#customers td.sub{font-weight:400;color:var(--gray-muted);font-size:.875rem}#customers td.sub .minor{color:var(--gray-muted);font-size:.875rem;margin-top:2px}#customers .btn-notes{font-size:.875rem;font-weight:600;color:var(--gray-muted);padding:.125rem .5rem;border:1px solid var(--gray-border);border-radius:.25rem;cursor:pointer}#customers .btn-notes:hover{border-color:var(--gray-muted);color:var(--gray)}#customers .btn-notes.active{border-color:var(--brand-bg);color:var(--brand-dark);background-color:var(--brand-bg)}#customers tr.notes-row>td{background-color:var(--gray-light);padding:1rem 1.5rem}#customers .notes-list{display:flex;flex-direction:column;gap:.5rem;margin-bottom:.75rem}#customers .notes-empty{color:var(--gray-muted);font-size:.875rem;font-weight:400;margin:0}#customers .note-item{font-weight:400;font-size:.875rem;color:var(--gray);white-space:pre-wrap;padding:.5rem .75rem;background-color:#fff;border:1px solid var(--gray-border);border-radius:.25rem}#customers .note-item time{color:var(--gray-muted);margin-right:.5rem}#customers .notes-add{display:flex;gap:.75rem;align-items:flex-start}#customers .notes-add textarea{flex:1;height:4rem;font-weight:400;resize:vertical}#originals .section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem}#originals .section-head p{font-weight:400;color:var(--gray-muted)}#originals tbody tr{cursor:pointer}#originals tbody tr:hover{background-color:var(--gray-light)}#originals tbody tr.picked{background-color:var(--brand-bg)}#originals td.sub{font-weight:400;color:var(--gray-muted);white-space:nowrap}#originals button.open{font-weight:600;color:var(--gray-muted);padding:.125rem .5rem;border:1px solid var(--gray-border);border-radius:.25rem;cursor:pointer}#originals button.open:hover{border-color:var(--gray-muted);color:var(--gray)}#originals .modal .head{gap:1rem}#originals .modal .head>span{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem}#originals .modal .head label{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400;white-space:nowrap}#originals .modal .box.wide>button{position:absolute;top:50%;transform:translateY(-50%);background-color:transparent;border:none;padding:.5rem;color:var(--gray-muted);cursor:pointer}#originals .modal .box.wide>button:before{font-family:"Font Awesome 6 Free";font-weight:900;font-size:2rem;line-height:1}#originals .modal .box.wide>button:hover{color:var(--gray)}#originals .modal .box.wide>button:disabled{color:var(--gray-border);cursor:default}#originals .modal .box.wide>button.prev{left:.75rem}#originals .modal .box.wide>button.prev:before{content:""}#originals .modal .box.wide>button.next{right:.75rem}#originals .modal .box.wide>button.next:before{content:""}#originals .modal .box.wide .body{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;align-items:start;padding-left:4rem;padding-right:4rem}#originals .modal .box.wide .body table{width:100%;border-collapse:collapse;grid-column:1;grid-row:1}#originals .modal .box.wide .body>label{grid-column:1;grid-row:2;display:flex;align-items:center;gap:.5rem;cursor:pointer;font-weight:400}#originals .modal .box.wide .body th,#originals .modal .box.wide .body td{padding:.5rem .75rem;border-bottom:1px solid var(--gray-border);text-align:left}#originals .modal .box.wide .body th{color:var(--gray-muted);white-space:nowrap}#originals .modal .box.wide .body td{font-weight:400;white-space:nowrap}#originals .modal .box.wide .body img{width:100%;max-height:50vh;-o-object-fit:contain;object-fit:contain;border:1px solid var(--gray-border);border-radius:.5rem;grid-column:2;grid-row:1 / 3}#originals .modal .box.wide .body .footer{grid-column:1 / -1;margin-top:0}#originals .modal p+p{margin-top:.75rem}#shipping{margin:0 auto;padding:2rem 1.5rem;max-width:1400px;font-size:.875rem;font-weight:700}#shipping .actions-col{text-align:right;white-space:nowrap}#shipping .actions-col button{margin-left:.375rem}#shipping .row-pending td{background-color:#fffbeb}#shipping .scroll{overflow-x:auto}#shipping table{width:100%;border-collapse:collapse}#shipping table th{background-color:var(--gray-light);border-bottom:1px solid var(--gray-border);padding:.75rem;font-size:.875rem;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.1em;text-align:left;white-space:nowrap}#shipping table th.sortable{cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}#shipping table th.sortable:hover{background-color:var(--gray-light)}#shipping table td{border-bottom:1px solid var(--gray-border);padding:.75rem;color:var(--gray)}#shipping table td.code{font-family:ui-monospace,SFMono-Regular,monospace;font-size:.875rem}#shipping table td.item{color:var(--gray)}#shipping table td.item small{display:block;font-size:.875rem;color:var(--gray-muted);font-weight:400;margin-top:.125rem}#shipping table td.qty{color:var(--gray)}#shipping table td.notes{font-weight:400;color:var(--gray-muted);font-size:.875rem;max-width:12rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#shipping table td.empty{text-align:center;padding:2rem;color:var(--gray-border);font-weight:400}#shipping table tr:hover td{background-color:var(--gray-light)}.badge.ship{background-color:var(--brand-bg);color:var(--brand-dark)}.badge.discard{background-color:var(--red-bg);color:var(--red-dark)}.badge.pending{background-color:#fef3c7;color:#92400e}.badge.confirmed{background-color:var(--green-bg);color:var(--green-dark)}.modal .box.wide .body{padding:1.5rem}.modal .box.wide .wrap{display:flex;flex-wrap:wrap;gap:1rem 2rem}.modal .box.wide .wrap>.field{flex:0 0 auto}.modal .box.wide .wrap>.field.full{width:100%}.modal .box.wide .wrap>.row-break{width:100%;height:0}.modal .box.wide .loading{color:var(--gray-muted);padding:2rem 0;text-align:center}.modal .box.wide .edit-grid{display:flex;flex-wrap:wrap;gap:1rem 2rem;margin-bottom:1.5rem}.modal .box.wide .edit-grid .field{flex:0 0 auto;margin-bottom:0}.modal .box.wide .edit-grid .field.full{flex:1 1 100%}.modal .box.wide .field.notes{margin:0 0 1.5rem}.modal .box.wide .field.notes input{width:100%}.modal .box.wide .items-table{width:100%;border-collapse:collapse;margin-bottom:1.5rem}.modal .box.wide .items-table th,.modal .box.wide .items-table td{padding:.5rem .75rem;border-bottom:1px solid var(--gray-border);text-align:left;white-space:nowrap}.modal .box.wide .items-table th{font-weight:600;color:var(--gray-muted);background:var(--gray-light)}.modal .box.wide .items-table .qty{text-align:right}.modal .box.wide .items-table .qty input{width:7rem;text-align:right}.modal .box.wide .items-table .empty{text-align:center;color:var(--gray-muted);padding:1.5rem}.customer-select .selected{display:flex;align-items:center;justify-content:space-between;border:1px solid var(--brand-bg);background-color:var(--brand-bg);border-radius:.375rem;padding:.5rem .75rem}.customer-select .selected span{color:var(--brand-dark);font-weight:500;font-size:.875rem}.customer-select .selected .clear{color:var(--brand)}.customer-select .selected .clear:hover{color:var(--red)}.customer-select .wrap{position:relative}.customer-select .wrap .input-row{display:flex;gap:.5rem}.customer-select .wrap .dropdown{position:absolute;z-index:50;margin-top:.25rem;width:100%;border:1px solid var(--gray-border);border-radius:.375rem;background-color:#fff;box-shadow:0 10px 15px -3px #0000001a;max-height:15rem;overflow-y:auto}.customer-select .wrap .dropdown button{display:block;width:100%;text-align:left;padding:.5rem 1rem;font-size:.875rem;border-bottom:1px solid var(--gray-light)}.customer-select .wrap .dropdown button:hover{background-color:var(--brand-bg)}.customer-select .wrap .dropdown button strong{font-family:ui-monospace,monospace;font-weight:500;color:var(--gray)}.customer-select .wrap .dropdown button small{color:var(--gray-muted);margin-left:.5rem;font-weight:400}.customer-select .wrap .dropdown.empty{padding:.75rem 1rem;font-size:.875rem;color:var(--gray-muted);font-weight:400}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .subject-label{margin:.25rem 0 0;font-size:.875rem;font-weight:700;color:var(--gray)}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .subject-sub{font-weight:400;color:var(--gray-muted)}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .eval-fields{display:flex;flex-wrap:wrap;-moz-column-gap:3rem;column-gap:3rem;row-gap:2rem}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .eval-fields .field{flex:0 0 auto;margin-bottom:0}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .eval-fields .field:has(.slider-row),:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .eval-fields .field:has(textarea){flex:1 1 100%}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .eval-fields .field>label{color:var(--gray)}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) header .evaluator-count{font-size:.875rem;color:var(--gray-muted);font-weight:400}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .evaluator-tags{display:flex;flex-wrap:wrap;gap:.4rem;margin-bottom:.75rem}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .evaluator-tag{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .6rem .25rem .75rem;background:var(--brand);color:#fff;border-radius:9999px;font-size:.875rem;font-weight:600}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .evaluator-tag .tag-remove{background:none;border:none;color:#fffc;font-size:1rem;line-height:1;cursor:pointer;padding:0}:is(#lot-evaluate,#sencha-evaluate,#hojicha-evaluate) .evaluator-tag .tag-remove:hover{color:#fff}#lot-evaluate .layout{display:grid;grid-template-columns:1fr 340px;gap:1.5rem;align-items:start}#lot-evaluate .chart-card{position:sticky;top:1rem}#lot-evaluate .grade-seg{display:flex;border-radius:.375rem;border:1px solid var(--gray-outline);overflow:hidden}#lot-evaluate .grade-seg input[type=radio]{display:none}#lot-evaluate .grade-seg label{flex:1;padding:.625rem 0;font-size:.875rem;font-weight:700;text-align:center;background:#fff;color:var(--gray-muted);border-right:1px solid var(--gray-border);cursor:pointer;transition:background .15s,color .15s;justify-content:center}#lot-evaluate .grade-seg label:last-child{border-right:none}#lot-evaluate .grade-seg label.g-top:has(input:checked){background:#004e42;color:#fff}#lot-evaluate .grade-seg label.g-upper:has(input:checked){background:#0f766e;color:#fff}#lot-evaluate .grade-seg label.g-middle:has(input:checked){background:#16a34a;color:#fff}#lot-evaluate .grade-seg label.g-regular:has(input:checked){background:#b45309;color:#fff}#lot-evaluate .grade-seg label.g-low:has(input:checked){background:#ef4444;color:#fff}#lot-evaluate .slider-row{display:flex;align-items:center;gap:.75rem}#lot-evaluate .slider{flex:1;accent-color:var(--brand);border:none;padding:0;cursor:pointer;height:1.5rem}#lot-evaluate .slider-scale{font-size:.75rem;color:var(--gray-muted);font-weight:400;width:1rem;text-align:center}#lot-evaluate .slider-val{width:1.75rem;text-align:center;font-size:1.375rem;font-weight:700;color:var(--brand)}#lot-evaluate .grade-display{display:flex;align-items:center;gap:.75rem;color:var(--gray-muted)}#lot-evaluate .grade{display:inline-block;padding:.25rem 1.25rem;border-radius:9999px;font-size:1rem;font-weight:700;color:#fff}#lot-evaluate .grade.g-top{background:#004e42}#lot-evaluate .grade.g-upper{background:#0f766e}#lot-evaluate .grade.g-middle{background:#16a34a}#lot-evaluate .grade.g-regular{background:#b45309}#lot-evaluate .grade.g-low{background:#ef4444}#lot-evaluate .radar-svg{width:100%;display:block}#lot-evaluate .chart-legend{display:flex;gap:1.25rem;justify-content:center;font-size:.75rem;font-weight:400}#lot-evaluate .legend-good{color:var(--gray-muted)}#lot-evaluate .legend-bad{color:var(--amber)}#lot-evaluate .shade-info{display:flex;gap:2rem;justify-content:center;padding-top:.75rem;border-top:1px solid var(--gray-border)}#lot-evaluate .shade-item{display:flex;flex-direction:column;align-items:center;gap:.25rem}#lot-evaluate .shade-label{font-size:.75rem;color:var(--gray-muted)}#lot-evaluate .shade-val{font-size:.875rem;font-weight:700}#lot-evaluate .shade-val.bright{color:var(--green)}#lot-evaluate .shade-val.dark{color:var(--teal)}#quality .compare{display:flex;flex-direction:column;gap:1.5rem}#quality .seg.types{align-self:flex-start}#quality .ranges{flex:1 1 100%;border-top:1px solid var(--gray-border);padding-top:.75rem}#quality .ranges summary{cursor:pointer;font-weight:700;color:var(--gray)}#quality .ranges>div{display:flex;flex-direction:column;gap:1.25rem;margin-top:1rem}#quality .ranges .field{display:flex;flex-direction:column;gap:.4rem}#quality .ranges .seg label{margin-bottom:0}#quality .minmax{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem .75rem}#quality .minmax .edge{color:var(--gray-muted);font-weight:700}#quality .minmax input[type=number]{width:5rem}#quality .pm{width:1.25rem;height:1.25rem;color:var(--gray-muted);vertical-align:middle}#quality tr.pick{cursor:pointer;transition:background-color .3s ease}#quality tr.pick:hover{background:#e8f3f080}#quality td.qty{text-align:right;font-family:ui-monospace,monospace;white-space:nowrap}#quality td.qty .pos{color:var(--gray)}#quality td.qty .zero{color:var(--gray-border)}#quality td.qty .unit{color:var(--gray-muted);font-size:.875rem}#quality td.qty .pending-out{font-size:.75rem;color:#92400e;margin-top:.125rem}#quality td.qty .incoming{font-size:.75rem;color:#2563eb;margin-top:.125rem}#quality td.qty .low-stock{display:inline-block;margin-left:.375rem;padding:.1rem .35rem;font-size:.65rem;font-weight:600;color:#fff;background:#dc2626;border-radius:3px;vertical-align:middle;line-height:1.4}#quality .chart{width:100%;max-width:560px;margin:0 auto}#quality .radar{width:100%;display:block}#quality .keys{display:flex;flex-wrap:wrap;gap:1rem;justify-content:center;margin-top:.5rem}#quality .key{display:inline-flex;align-items:center;gap:.4rem;font-weight:600}#quality thead th .dot{margin-right:.4rem}#quality .dot{width:.85rem;height:.85rem;border-radius:9999px;display:inline-block}#quality .key button,#quality thead th button{border:none;background:none;cursor:pointer;color:var(--gray-muted);font-size:1rem;line-height:1}:is(#quality .key button,#quality thead th button):hover{color:var(--gray)}.detail{display:flex;flex-direction:column;gap:1.5rem}.detail .field>div:not(.seg):not(.checkbox-group){color:var(--gray);font-weight:500;padding:.5rem 0}:is(#product-show,#material-show) .info-grid{display:flex;flex-wrap:wrap;gap:0}:is(#product-show,#material-show) .info-grid>.field{padding:0 1.5rem 0 0;margin-right:1.5rem;border-right:1px solid var(--gray-border)}:is(#product-show,#material-show) .info-grid>.field:last-child{border-right:none}:is(#product-show,#material-show) .annual-info{display:flex;flex-wrap:wrap;gap:0;padding:0 1.5rem 1rem}:is(#product-show,#material-show) .annual-info>.field{padding:0 1.5rem 0 0;margin-right:1.5rem;border-right:1px solid var(--gray-border)}:is(#product-show,#material-show) .annual-info>.field:last-child{border-right:none}:is(#product-show,#material-show) .empty{padding:1rem 1.5rem;color:var(--gray-muted)}#product-show dl{margin:0}#product-show .field{display:flex;flex-direction:row;align-items:baseline;gap:.5rem;margin:0}#product-show .field>dt{flex:none;color:var(--gray-muted);font-weight:500}#product-show .field>dd{margin:0;color:var(--gray);font-weight:500}#product-show .info-grid,#product-show .annual-info{gap:.55rem 1.5rem}#product-show .info-grid>.field,#product-show .annual-info>.field{border-right:none;padding-right:0;margin-right:0}#product-show .summary .info-grid{flex:1;flex-direction:column;flex-wrap:nowrap}#product-show .summary .spec{flex:0 1 auto;border-collapse:collapse}#product-show .summary .spec th{text-align:left;font-weight:500;color:var(--gray-muted);white-space:nowrap;vertical-align:baseline;padding:0 1rem 1rem 0}#product-show .summary .spec td{color:var(--gray);font-weight:500;vertical-align:baseline;padding:0 6rem 1rem 0}#product-show .summary .spec td:last-child{padding:0 0 1rem}#product-show .subhead{display:flex;justify-content:space-between;align-items:center;padding-top:1.25rem;border-top:1px solid var(--gray-border);font-weight:700;color:var(--gray)}#product-show .rows{margin-bottom:0}@media(max-width:639px){#product-show .summary{flex-direction:column;gap:1rem}#product-show .summary .spec,#product-show .summary .spec tbody,#product-show .summary .spec tr,#product-show .summary .spec th,#product-show .summary .spec td{display:block;padding:0}#product-show .summary .spec th{padding-top:.75rem}#product-show .summary .spec td{padding-top:.25rem}#product-show .info-grid{grid-template-columns:1fr!important;-moz-column-gap:0!important;column-gap:0!important}}.modal .tabs{display:flex;border-bottom:1px solid var(--gray-border);background:var(--gray-light)}.modal .tabs button{padding:.625rem 1.25rem;font-size:.875rem;font-weight:600;color:var(--gray-muted);border-bottom:2px solid transparent}.modal .tabs button.active{color:var(--brand);border-bottom-color:var(--brand)}.modal .tabs button:hover:not(.active){color:var(--gray)}.map-svg{width:100%;overflow-x:auto}.map-svg svg{width:100%;height:auto;display:block}.map-svg text,.map-svg tspan{pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.map-svg rect[id]{pointer-events:all;outline:none;-webkit-tap-highlight-color:transparent}.map-svg rect.available{cursor:pointer;stroke:var(--brand);stroke-width:1.5;fill:var(--brand-bg);fill-opacity:1}.map-svg rect.available:hover{stroke-width:2.5}.map-svg rect.picked{stroke:var(--brand);stroke-width:3;fill:var(--brand);fill-opacity:.25}.map-state{padding:2rem;text-align:center;color:var(--gray-muted);font-size:.875rem}.map-info{padding:.625rem 0 0;font-size:.875rem;min-height:2rem}.map-info .hit{font-weight:700;color:var(--brand)}#locations{display:flex;flex-direction:column;gap:1.5rem}#locations td.kind{display:flex;gap:.375rem;flex-wrap:wrap}#locations .badge.warehouse{background-color:var(--gray-light);color:var(--gray-muted)}#locations .badge.sample{background-color:var(--teal-bg);color:var(--teal)}#locations section{background:#fff;border:1px solid var(--gray-border);border-radius:.5rem;box-shadow:0 1px 2px #0000000d;overflow:hidden}#locations section>.head{display:flex;justify-content:space-between;align-items:center;padding:.875rem 1.25rem;border-bottom:1px solid var(--gray-border);background:var(--gray-light)}#locations section>.head h3{font-size:.9375rem;font-weight:700;color:var(--gray);margin:0}#locations section .table-wrapper{border:none;border-radius:0;box-shadow:none}.modal .maps{margin-top:1.5rem;padding-top:1.25rem;border-top:1px solid var(--gray-border)}.modal .maps>.top{display:flex;justify-content:space-between;align-items:center;margin-bottom:.75rem}.modal .maps>.top h4{margin:0;font-size:.875rem;font-weight:700;color:var(--gray)}.modal .maps table{width:100%;font-size:.8125rem;margin-bottom:.75rem}.modal .maps>.none{font-size:.875rem;color:var(--gray-muted);margin-bottom:.75rem}.modal .maps>.form{margin-top:.75rem;padding:1rem;background:var(--gray-light);border:1px solid var(--gray-border);border-radius:.375rem}.modal .maps>.form h5{margin:0 0 .875rem;font-size:.8125rem;font-weight:700;color:var(--gray)}.modal .maps>.form .actions{display:flex;justify-content:flex-end;gap:.5rem;margin-top:.25rem}.modal .coords{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--gray-border)}.modal .coords h4{margin:0 0 .875rem;font-size:.875rem;font-weight:700;color:var(--gray)}.modal .coords>.row{display:flex;gap:.75rem}.modal .coords>.row .field{flex:1}.modal .quick-register{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--gray-border);display:flex;align-items:center;gap:.75rem;font-size:.875rem;color:var(--gray-muted)}.modal .quick-register .btn-quick{white-space:nowrap;padding:.375rem .875rem;border:1px solid var(--brand);border-radius:6px;color:var(--brand);font-size:.875rem;font-weight:600;background:#fff;cursor:pointer}.modal .quick-register .btn-quick:hover{background:var(--brand-bg)}.modal .quick-form{width:100%;display:flex;flex-direction:column;gap:.75rem}.modal .quick-form h4{font-size:.9375rem;font-weight:700;color:var(--gray);margin:0}.modal .quick-form .quick-note{font-size:.8125rem;color:var(--gray-muted);margin:0;line-height:1.5}.modal .quick-form .quick-actions{display:flex;justify-content:flex-end;gap:.5rem}.quick-done-banner{display:flex;align-items:center;flex-wrap:wrap;gap:.25rem;padding:.625rem 1rem;background:var(--brand-bg);border:1px solid var(--brand);border-radius:6px;font-size:.875rem;color:var(--gray)}.quick-done-banner a{color:var(--brand);font-weight:600;text-decoration:underline}#welcome{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f3f4f6;padding:2rem 1rem}#welcome main{background:#fff;border:1px solid var(--gray-border);border-radius:.75rem;box-shadow:0 4px 20px #00000014;padding:2.5rem 2rem;width:100%;max-width:480px;display:flex;flex-direction:column;align-items:center;gap:1.25rem;text-align:center}#welcome main .logo{height:4rem;width:auto;fill:var(--brand);color:var(--brand)}#welcome main .meta{display:flex;gap:.5rem;align-items:center;margin:0}#welcome main .meta .ver{font-size:.75rem;color:var(--gray-muted);background:var(--gray-light);padding:.125rem .625rem;border-radius:1rem}#welcome main .meta .env{font-size:.75rem;font-weight:600;padding:.125rem .625rem;border-radius:1rem;background:#fef3c7;color:#92400e}#welcome main .status{width:100%;padding:.5rem 1rem;border-radius:.5rem;font-weight:600;margin:0}#welcome main .status:before{content:"";display:inline-block;width:.5rem;height:.5rem;border-radius:50%;margin-right:.5rem;vertical-align:middle;position:relative;top:-1px}#welcome main .status[data-status=normal]{background:#d1fae5;color:#065f46}#welcome main .status[data-status=normal]:before{background:#10b981}#welcome main .status[data-status=maintenance]{background:#fef3c7;color:#92400e}#welcome main .status[data-status=maintenance]:before{background:#f59e0b}#welcome main .status[data-status=outage]{background:#fee2e2;color:#991b1b}#welcome main .status[data-status=outage]:before{background:#ef4444}#welcome main .notes{width:100%;text-align:left;border-top:1px solid var(--gray-border);padding-top:1.25rem;max-height:16rem;overflow-y:auto}#welcome main .notes p{font-size:.75rem;font-weight:700;color:var(--gray-muted);text-transform:uppercase;letter-spacing:.08em;margin:0 0 .75rem}#welcome main .notes dl{margin:0}#welcome main .notes dl dt{display:flex;align-items:center;gap:.5rem;font-weight:700;color:var(--gray);margin-top:.75rem}#welcome main .notes dl dt:first-child{margin-top:0}#welcome main .notes dl dt .badge{font-size:.75rem;font-weight:600;color:var(--brand);background:#d1fae5;padding:.125rem .5rem;border-radius:1rem}#welcome main .notes dl dd{margin:.125rem 0 0 1rem;color:var(--gray);line-height:1.7}#welcome main .notes dl dd:before{content:"・"}#welcome main .notes dl dd.cat{font-size:.75rem;font-weight:700;color:var(--gray-muted);margin-top:.25rem}#welcome main .notes dl dd.cat:before{content:none}#welcome footer{margin-top:1.5rem;color:var(--gray-muted)}#guide{max-width:1400px;margin:0 auto;padding:2rem 1.5rem 4rem;line-height:1.8;color:var(--gray)}#guide nav{background-color:var(--gray-light);border:1px solid var(--gray-border);border-radius:.5rem;padding:1rem 1.25rem;margin-bottom:2.5rem;line-height:1.6}#guide nav>p{font-weight:700;margin:0 0 .5rem}#guide nav ol,#guide nav ul{margin:0;padding-left:1.25rem}#guide nav li{margin:.25rem 0}#guide nav li.sub{padding-left:1.25rem}#guide h3{font-size:1.5rem;font-weight:700;margin:2.5rem 0 1rem;padding-bottom:.5rem;border-bottom:2px solid var(--brand);scroll-margin-top:1rem}#guide h4{font-size:1.2rem;font-weight:700;margin:2rem 0 .75rem;scroll-margin-top:1rem}#guide p{margin:0 0 1rem}#guide ul,#guide ol{margin:0 0 1rem;padding-left:1.5rem}#guide li{margin:.35rem 0}#guide a{color:var(--brand)}#guide a:hover{color:var(--brand-dark)}#guide figure{margin:1.5rem 0}#guide img{display:block;max-width:100%;height:auto;border:1px solid var(--gray-border);border-radius:.5rem;box-shadow:0 2px 8px #0000000f}#guide figure svg{display:block;width:12rem;height:auto}#guide figcaption{margin-top:.5rem;font-size:.875rem;color:var(--gray-muted);text-align:center}#guide table{width:100%;border-collapse:collapse;margin:1rem 0 1.5rem}#guide th,#guide td{border:1px solid var(--gray-border);padding:.5rem .75rem;text-align:left}#guide th{background-color:var(--gray-light);font-weight:700}#guide code{background-color:var(--gray-light);border:1px solid var(--gray-border);border-radius:.25rem;padding:.1rem .35rem;font-size:.9em}#guide .note{background-color:var(--gray-light);border-left:4px solid var(--brand);border-radius:.25rem;padding:.75rem 1rem;margin:1rem 0;font-size:.9375rem}#guide .links{display:flex;flex-wrap:wrap;gap:.75rem;margin:0 0 1.5rem}#guide .add{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem 1.2rem;border-radius:.375rem;background-color:var(--brand);color:#fff;font-weight:700;text-decoration:none}#guide .add:hover{background-color:var(--brand-dark);color:#fff}#inventory tr.more{transition:opacity .2s ease}#inventory tr.more td{padding:0 .75rem;text-align:right;background-color:var(--gray-light)}#inventory tr.more .actions{display:flex;align-items:center;justify-content:flex-end;overflow:hidden;max-height:6rem;padding:.5rem 0;opacity:1;transition:max-height .2s ease,padding .2s ease,opacity .2s ease}#inventory tr.more .actions>*{margin-left:.5rem}#inventory tr.more .actions .use{flex:1;margin:0;text-align:left}#inventory tr.more .actions .err{margin-top:0}#inventory:not(.show) table tbody td .badge{white-space:nowrap}#inventory .col-code .badge{display:block;width:-moz-fit-content;width:fit-content;margin-top:.25rem;font-family:Figtree,ui-sans-serif,system-ui,-apple-system,sans-serif}#inventory tr.more .btn-split{background-color:#fff}#inventory tr.more.more-enter-from,#inventory tr.more.more-leave-to{opacity:0}#inventory tr.more.more-enter-from .actions,#inventory tr.more.more-leave-to .actions{max-height:0;padding-top:0;padding-bottom:0;opacity:0}#inventory tr.more.more-leave-active{transition:opacity 75ms ease}#inventory tr.more.more-leave-active .actions{transition:max-height 75ms ease,padding 75ms ease,opacity 75ms ease}#tags{list-style:none;margin:.75rem 0 0;padding:0}#tags li{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.5rem 0;border-top:1px solid var(--gray-border)}#storage{display:grid;grid-template-columns:22rem 1fr;gap:1.5rem;align-items:start}#storage section{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;margin-bottom:.5rem}#storage section h3{display:flex;align-items:center;margin:0}#storage section h3 a{margin-right:1rem}#storage section h3 button{flex:1;padding:1rem;background:none;border:none;text-align:left;font-size:1rem;font-weight:700;color:var(--gray);cursor:pointer}#storage section h3 button:hover{background-color:var(--gray-light)}#storage ul{list-style:none;margin:0;padding:0 1rem .75rem}#storage li{display:flex;align-items:baseline;justify-content:space-between;gap:.5rem;border-top:1px solid var(--gray-border)}#storage li button{flex:1;padding:.375rem 0;background:none;border:none;text-align:left;font-size:1rem;color:var(--brand);cursor:pointer;text-decoration:underline}#storage li button.on{font-weight:700;text-decoration:none}#storage li span{color:var(--gray-muted)}#storage section>p{margin:0;padding:0 1rem .75rem;color:var(--gray-muted)}#storage article{background-color:#fff;border-radius:.5rem;box-shadow:0 1px 3px #0000001a;padding:1rem 1.5rem 1.25rem}#storage article h3{margin:0;font-size:1rem}#storage article>p{margin:.5rem 0 0;color:var(--gray-muted)}#storage table{width:100%;margin:.5rem 0 0;border-collapse:collapse}#storage td{padding:.5rem;border-top:1px solid var(--gray-border);vertical-align:top}#storage dl{display:grid;grid-template-columns:max-content 1fr max-content;-moz-column-gap:1rem;column-gap:1rem;row-gap:.25rem;margin:0}#storage dd{margin:0}#storage>button{position:fixed;right:1.5rem;bottom:1.5rem;z-index:30;display:flex;align-items:center;justify-content:center;width:3rem;height:3rem;border-radius:50%;background-color:var(--brand);color:#fff;font-size:1.25rem;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility .15s ease,background-color .15s ease}#storage>button:hover{background-color:var(--brand-dark)}#storage>button.on{opacity:1;visibility:visible}@media(prefers-reduced-motion:reduce){#storage>button{transition:none}}@media(max-width:900px){#storage{grid-template-columns:1fr}}.overdue-badge{display:inline-block;font-size:.75rem;font-weight:700;color:#fff;background-color:var(--red);border-radius:.25rem;padding:.1rem .4rem;white-space:nowrap}tr.overdue td{background-color:#fff8f8}.dates{display:flex;gap:1.5rem;align-items:flex-start}.zoom{margin:0}.zoom img{width:100%;max-height:70vh;-o-object-fit:contain;object-fit:contain}.summary{display:flex;gap:1.5rem;align-items:flex-start}.summary>.wrap,.summary>.info-grid,.summary>.lot-info{flex:1;min-width:0}.image{flex:none;width:12rem;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:.5rem}.image>img{width:100%;height:12rem;-o-object-fit:contain;object-fit:contain;background:var(--gray-light);border:1px solid var(--gray-border);border-radius:.5rem}.image>img:not([src^="/no-image"]){cursor:pointer}.image,.zoom{position:relative}:is(.image,.zoom)>.prev,:is(.image,.zoom)>.next{position:absolute;width:2.5rem;height:2.5rem;transform:translateY(-50%);border-radius:999px;background-color:#ffffffd9;box-shadow:0 1px 3px #0003}:is(:is(.image,.zoom)>.prev,:is(.image,.zoom)>.next):disabled{opacity:0;cursor:default}:is(:is(.image,.zoom)>.prev,:is(.image,.zoom)>.next):before{content:"";position:absolute;top:50%;left:50%;width:.5rem;height:.5rem;border-top:2px solid var(--gray);border-right:2px solid var(--gray)}:is(.image,.zoom)>.prev{left:.5rem}:is(.image,.zoom)>.prev:before{transform:translate(-50%,-50%) rotate(-135deg)}:is(.image,.zoom)>.next{right:.5rem}:is(.image,.zoom)>.next:before{transform:translate(-50%,-50%) rotate(45deg)}:is(.image,.zoom)>figcaption{display:flex;align-items:center;gap:1rem;height:2.5rem}:is(.image,.zoom)>figcaption span:last-child{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}:is(.image,.zoom)>figcaption span:first-child{flex:none;color:var(--gray-muted)}.image>figcaption,.zoom>figcaption{color:var(--gray);font-weight:400}.image>.btn-image{width:100%;justify-content:center}.image>figcaption{width:100%;height:auto;padding:.5rem 0;align-items:flex-start}.image>figcaption span:last-child{min-width:0;white-space:normal;overflow-wrap:anywhere}.image>.prev,.image>.next{top:6rem}.zoom>.prev,.zoom>.next{top:calc((100% - 2.5rem)/2)}.images{display:flex;gap:1rem;height:calc(80vh - 11rem)}.images figure{display:grid;grid-template-rows:1fr auto;flex:1;min-width:0;margin:0}.images figure img{grid-area:1 / 1;width:100%;height:100%;min-height:0;-o-object-fit:contain;object-fit:contain;background-color:var(--gray-light);border:1px solid var(--gray-border);border-radius:.5rem}.images figure .remove{grid-area:1 / 1;position:relative;display:flex;align-items:center;justify-content:center;border-radius:.5rem;background-color:#00000080;color:#fff;font-size:1rem;font-weight:700;cursor:pointer;opacity:0;transition:opacity .15s ease}.images figure .remove:hover{opacity:1}.images figure .remove:before{position:absolute;top:.5rem;right:.5rem;font-size:1.5rem;line-height:1;content:"×"}.images figcaption{grid-area:2 / 1;margin-top:.5rem}.images figcaption input{width:100%}.images ul{flex:none;display:flex;flex-direction:column;gap:.5rem;list-style:none;overflow-y:auto}.images ul img,.images ul button{width:4rem;height:4rem;background-color:var(--gray-light);border:1px solid var(--gray-border);border-radius:.5rem}.images ul img{display:block;-o-object-fit:contain;object-fit:contain;cursor:pointer}.images ul button{display:flex;align-items:center;justify-content:center;color:var(--gray-muted)}.images ul button:before{font-family:"Font Awesome 6 Free";font-weight:900;content:""}.images ul li[aria-current] img{border-color:var(--brand)}
