:root{color:#293b34;font-synthesis:none;--green:#29493c;--dark:#203c31;--muted:#798079;--border:#e6e8df;--cream:#faf9f5;background:#f8f8f4;font-family:Inter,Segoe UI,sans-serif;font-size:14px;font-weight:400}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}button,a,input,select,summary{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid #a66c35}button{touch-action:manipulation}a{color:inherit}h1,h2,h3,p{margin:0}svg{flex-shrink:0}button{border:0}input,select{color:inherit}input::placeholder{color:#90958f}input[type=number]{font-variant-numeric:tabular-nums}input[type=checkbox]{accent-color:var(--green);width:15px;height:15px}fieldset{border:0;min-width:0;margin:0;padding:0}input:invalid:not(:placeholder-shown):not(:focus){border-color:#c79583}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.app-shell{grid-template-columns:224px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{border-right:1px solid var(--border);z-index:2;background:#fff;flex-direction:column;width:224px;padding:34px 22px 22px;display:flex;position:fixed;inset:0 auto 0 0}.brand{letter-spacing:-.7px;align-items:center;gap:10px;font-size:20px;font-weight:650;text-decoration:none;display:flex}.brand-mark{color:#ecede1;background:var(--dark);border-radius:12px;place-items:center;width:42px;height:47px;display:grid}.brand-second{letter-spacing:2.3px;color:#788377;margin-top:1px;font-size:13px;font-weight:400;display:block}.nav-caption{letter-spacing:1.8px;color:#8d938a;margin:57px 12px 16px;font-size:9px;font-weight:600}.sidebar nav{gap:7px;display:grid}.sidebar nav button{text-align:left;color:#7b837c;background:0 0;border-radius:7px;align-items:center;gap:12px;padding:14px 13px;font-size:13px;display:flex}.sidebar nav button.active{color:#35513f;background:#eaf0e8;font-weight:600}.sidebar nav button span{background:#dbe5d7;border-radius:5px;margin-left:auto;padding:2px 7px;font-size:11px}.sidebar-note{color:#88917d;margin:auto 13px 34px;padding-top:70px}.small-leaf{color:#a6ad8d;font-size:23px}.sidebar-note p{color:#52604b;margin:17px 0 8px;font-family:Georgia,serif;font-size:21px;line-height:1.5}.sidebar-note>span:last-child{letter-spacing:.2px;font-size:11px}.local-status{color:#858b80;white-space:nowrap;border-top:1px solid var(--border);align-items:center;gap:6px;padding-top:18px;font-size:9px;display:flex}.local-status>span{background:#80976d;border-radius:50%;width:5px;height:5px}main{grid-column:2;width:100%;max-width:1660px;min-height:100vh;margin:auto;padding:0 48px}.topbar{border-bottom:1px solid var(--border);color:#838a81;letter-spacing:1.2px;justify-content:space-between;align-items:center;gap:10px;min-height:77px;font-size:9px;display:flex}.topbar b{color:#bbc0b5;margin:0 12px;font-weight:400}.prototype-badge{color:#717b67;letter-spacing:.3px;white-space:nowrap;background:#f1f3ec;border:1px solid #e0e3d8;border-radius:5px;padding:6px 9px;font-size:10px}.page-head{justify-content:space-between;align-items:center;gap:24px;padding:44px 0 32px;display:flex}.eyebrow{letter-spacing:2px;color:#879174;margin-bottom:13px;font-size:9px;font-weight:600}h1{letter-spacing:-1.4px;color:#263f32;font-family:Georgia,Times New Roman,serif;font-size:39px;font-weight:400;line-height:1.18}.subtitle{color:#84897e;margin-top:13px;font-size:13px}.button{white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:9px;min-height:42px;padding:11px 17px;font-size:12px;font-weight:500;transition:background .15s,transform .15s;display:inline-flex}.button:not(:disabled):active{transform:translateY(1px)}.primary{background:var(--green);color:#fff;box-shadow:0 2px 3px #233c3310}.primary:hover:not(:disabled){background:#365d49}.secondary{color:#4c6050;background:#fff;border:1px solid #dde2d6}.secondary:hover:not(:disabled){background:#eef1e9}.small{min-height:35px;padding:8px 12px;font-size:11px}.text-button{color:#637855;background:0 0;align-items:center;gap:8px;padding:5px 0;font-size:11px;font-weight:500;display:inline-flex}.text-button:hover:not(:disabled){text-decoration:underline}.icon-button{color:#60705e;background:0 0;border-radius:5px;justify-content:center;align-items:center;padding:7px;display:inline-flex}.icon-button:hover:not(:disabled){background:#edf1e7}.stats{border:1px solid var(--border);background:#fff;border-radius:9px;grid-template-columns:1fr 1fr 1.05fr;margin-bottom:38px;display:grid;overflow:hidden}.stats>div{min-height:139px;padding:24px 25px}.stats>div+div{border-left:1px solid var(--border)}.stats>div>span{letter-spacing:1.3px;color:#858d7b;font-size:9px;font-weight:500}.stats strong{color:#344b38;align-items:baseline;gap:15px;margin-top:4px;font-family:Georgia,serif;font-size:38px;font-weight:400;line-height:1.4;display:flex}.stats strong svg{opacity:.45;align-self:center}.stats .stat-detail{color:#929887;font-family:Segoe UI,sans-serif;font-size:11px}.stats p{color:#91968a;font-size:10px;line-height:1.8}.stats>div:last-child{background:#f0f2e9;position:relative}.stats h3{color:#556244;margin:14px 0 7px;font-family:Georgia,serif;font-size:20px;font-weight:400}.stats>div:last-child>span{color:#8c977e}.section-heading{justify-content:space-between;align-items:center;gap:20px;margin:0 0 21px;display:flex}h2{color:#354831;letter-spacing:-.4px;font-family:Georgia,serif;font-size:25px;font-weight:400}.section-heading h2>span{vertical-align:middle;color:#758562;background:#eaf0e4;border-radius:4px;margin-left:7px;padding:3px 7px;font-family:Segoe UI,sans-serif;font-size:10px}.section-heading p{color:#959a8e;margin-top:8px;font-size:11px}.filters{align-items:center;gap:12px;margin-bottom:20px;display:flex}.search{color:#8a9583;background:#fff;border:1px solid #dfe3d9;border-radius:5px;flex:1;align-items:center;gap:9px;min-width:0;max-width:550px;padding:0 12px;display:flex}.search input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:13px 0;font-size:11px}.search:focus-within{outline-offset:1px;outline:2px solid #a6b598}.search button{color:#87917d;background:0 0;padding:4px;display:flex}.filters select{background:#fff;border:1px solid #e0e3d9;border-radius:5px;max-width:200px;padding:12px 24px 12px 11px;font-size:11px}.stock-filter{color:#7d8773;white-space:nowrap;align-items:center;gap:6px;margin-left:auto;font-size:10px;display:flex}.wine-list{border:1px solid var(--border);background:#fff;border-radius:8px;overflow:hidden}.wine-list-head,.wine-row{grid-template-columns:minmax(180px,2.4fr) minmax(115px,1fr) minmax(105px,1fr) minmax(125px,1.1fr) 128px;align-items:center;column-gap:14px;padding:0 22px;display:grid}.wine-list-head{letter-spacing:.9px;color:#909782;background:#f2f3ed;padding-top:14px;padding-bottom:14px;font-size:8px}.wine-row{min-height:103px}.wine-row+.wine-row{border-top:1px solid #eef0e9}.wine-identity{text-align:left;overflow-wrap:anywhere;background:0 0;align-items:center;gap:15px;min-width:0;padding:15px 0;display:flex}.wine-identity strong{color:#364730;font-family:Georgia,serif;font-size:16px;font-weight:400;line-height:1.4;display:block}.wine-subtitle{color:#8d9485;margin-top:7px;font-size:10px;line-height:1.5;display:block}.color-dot{vertical-align:middle;background:#989b83;border-radius:50%;width:5px;height:5px;margin-right:5px;display:inline-block}.color-dot.rouge{background:#995451}.color-dot.blanc{background:#baad65}.color-dot.rose{background:#c28e7e}.color-dot.effervescent{background:#9caa88}.wine-identity small{color:#8c9581;margin-top:5px;font-size:10px;display:block}.wine-vintage strong,.wine-price strong{color:#5d6857;font-size:12px;font-weight:500}.wine-vintage small,.wine-price small{color:#9b9e94;margin-top:7px;font-size:9px;display:block}.stock-pill{white-space:nowrap;color:#6d8057;background:#edf2e6;border-radius:4px;padding:6px 9px;font-size:10px;display:inline-block}.stock-pill.zero{color:#9b9d95;background:#f1f1ed}.wine-actions{justify-content:flex-end;gap:7px;display:flex}.add-purchase{border:1px solid #e1e6d9}.depleted .bottle-art{opacity:.55}.wine-row:hover{background:#fcfcf8}.empty{text-align:center;color:#8a9480;background:#fff;border:1px dashed #dce2d2;border-radius:8px;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:270px;padding:60px 20px;display:flex}.empty h3{color:#42543b;font:400 26px Georgia,serif}.empty p{max-width:400px;font-size:12px;line-height:1.9}.first-wine{background:radial-gradient(at 50% 0,#f2f3e9,#0000 75%),#fff;padding-top:35px;padding-bottom:35px}.first-wine .eyebrow{margin:0}.first-wine>span{color:#a0a594;margin-top:4px;font-size:9px}.bottle-art{background:#f2f1e8;border-radius:7px;flex-shrink:0;justify-content:center;align-items:center;width:40px;height:61px;display:flex;position:relative;overflow:hidden}.bottle-shape{background:#66715c;border-radius:6px 6px 3px 3px;width:17px;height:39px;margin-top:11px;position:relative;box-shadow:inset 3px 0 3px #ffffff13}.bottle-shape:before{content:"";background:#66715c;border-radius:1px;width:7px;height:13px;position:absolute;top:-10px;left:5px}.bottle-shape i{z-index:1;background:#5d413e;width:7px;height:5px;position:absolute;top:-11px;left:5px}.bottle-shape span{text-align:center;letter-spacing:.3px;color:#657051;background:#e8e2d1;padding:4px 0;font-size:3px;line-height:1.5;position:absolute;top:12px;left:2px;right:2px}.bottle-art.rouge .bottle-shape,.bottle-art.rouge .bottle-shape:before{background:#465341}.bottle-art.blanc .bottle-shape,.bottle-art.blanc .bottle-shape:before{background:#a7ad77}.bottle-art.rose .bottle-shape,.bottle-art.rose .bottle-shape:before{background:#c2a08a}.bottle-art.effervescent .bottle-shape,.bottle-art.effervescent .bottle-shape:before{background:#69816a}.bottle-art.large{background:#eeeee2;border-radius:35px 35px 9px 9px;width:80px;height:106px}.bottle-art.large .bottle-shape{margin-top:17px;transform:scale(1.65)}.bottle-art.large .bottle-shape span{font-family:Georgia,serif}.history-section{padding-top:10px}.count-label{color:#8a937e;font-size:10px}.history{border:1px solid var(--border);background:#fff;border-radius:8px;overflow:hidden}.history-row{align-items:center;gap:16px;padding:20px 22px;display:flex}.history-row+.history-row{border-top:1px solid #edf0e7}.movement-icon{color:#74865d;background:#edf2e6;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;display:flex}.movement-icon.exit{color:#a88361;background:#f4ede6}.movement-icon.undo{color:#7b8c7f;background:#edf0ed}.movement-icon.adjust{color:#7a8b96;background:#edf0f2}.history-info{flex:1;min-width:0}.history-info strong{overflow-wrap:anywhere;font-size:13px;font-weight:500;display:block}.history-info>span,.history-info small{color:#929a87;margin-top:6px;font-size:10px;line-height:1.4;display:block}.movement-quantity{color:#aa7f65;text-align:right;min-width:55px;font:400 23px Georgia,serif}.movement-quantity.positive{color:#748361}.movement-quantity small{color:#929a87;margin-top:3px;font:9px Segoe UI,sans-serif;display:block}.history-undo{text-align:right;min-width:80px}.muted{color:#9da391;font-size:10px}.compact .history-row{gap:11px;padding:16px 13px}.compact .history-info strong{font-size:12px}.compact .history-undo{min-width:62px}.message{border-radius:6px;align-items:center;gap:10px;margin-bottom:20px;padding:14px 16px;font-size:12px;line-height:1.6;display:flex}.message button:not(.icon-button){color:inherit;white-space:normal;background:0 0;align-items:center;gap:5px;font-size:11px;text-decoration:underline;display:inline-flex}.message>span{flex:1}.message>.icon-button{margin-left:auto}.message.success{color:#4b6942;background:#eaf2e4;border:1px solid #d9e5cf}.message.error{color:#945239;background:#f9eee8;border:1px solid #efdbce}.message.error>button{margin-left:auto}.message.warning{color:#806632;background:#fff4d9;border:1px solid #eadfbb;justify-content:space-between;align-items:flex-start}.message p{margin-top:4px;font-size:11px}.inline-actions{flex-wrap:wrap;align-self:center;gap:10px;display:flex}footer{border-top:1px solid var(--border);color:#a2a698;letter-spacing:.2px;justify-content:space-between;margin:42px 0 0;padding:21px 0 24px;font-size:9px;display:flex}footer>span:first-child{color:#7b896e;letter-spacing:.5px}dialog{color:#344637;background:#fff;border:1px solid #e3e6dc;border-radius:12px;width:min(580px,100vw - 28px);max-height:calc(100dvh - 36px);padding:0;box-shadow:0 25px 90px #1c302342}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#1a2e2566}.dialog-head{background:#fafbf6;border-bottom:1px solid #eaede3;justify-content:space-between;align-items:flex-start;gap:12px;padding:29px 30px 23px;display:flex}.dialog-head h2{font-size:27px;line-height:1.25}.dialog-head .eyebrow{margin-bottom:11px;font-size:8px}.dialog-head p:last-child:not(.eyebrow){color:#8b9481;margin-top:12px;font-size:11px;line-height:1.6}.dialog-head .icon-button{margin-top:-3px;margin-right:-8px}.wine-form{padding:26px 30px 0}.wine-form label{color:#617257;flex-wrap:wrap;align-items:baseline;gap:6px;margin-bottom:21px;font-size:11px;font-weight:500;display:flex}.wine-form input,.wine-form select{color:#405235;background:#fff;border:1px solid #dce2d3;border-radius:5px;flex-basis:100%;width:100%;min-height:43px;margin-top:3px;padding:11px 12px;font-size:12px}.wine-form input:focus,.wine-form select:focus{border-color:#a0af8c}.wine-form .optional{color:#989f8b;margin-left:auto;font-size:9px;font-weight:400}.required{color:#a77e55}.form-grid{grid-template-columns:1fr 1fr;gap:19px;display:grid}.wine-form details{border-top:1px solid #e9ecdf;margin:1px 0 22px}.wine-form summary{color:#758866;cursor:pointer;padding:17px 0;font-size:10px}.wine-form summary span{float:right;color:#a4aa98;font-size:9px}.optional-fields{padding-top:5px}.form-footer{border-top:1px solid #e9ecdf;justify-content:flex-end;align-items:center;gap:10px;margin-top:9px;padding:21px 0 24px;display:flex}.form-error{color:#9f5135;background:#fcf0e8;border:1px solid #edd8cb;border-radius:5px;margin-bottom:18px;padding:12px 14px;font-size:12px;line-height:1.6}.stock-context{align-items:center;gap:16px;padding-bottom:25px;display:flex}.stock-context strong{color:#536743;font:400 21px Georgia,serif;display:block}.stock-context span{color:#8b977f;margin-top:7px;font-size:10px;display:block}.form-hint{color:#87957a;margin-bottom:24px;font-size:11px;line-height:1.8}.wine-detail{padding:25px 30px 29px}.detail-overview{align-items:center;gap:25px;margin-bottom:23px;display:flex}.detail-overview h3{color:#46583b;margin:12px 0 5px;font:400 31px Georgia,serif}.detail-overview p{color:#829173;margin:8px 0;font-size:10px}.detail-overview small{color:#a0a693;font-size:9px;line-height:1.8;display:block}.detail-meta{flex-wrap:wrap;gap:8px;margin-bottom:25px;display:flex}.detail-meta span{color:#88967c;background:#f3f4ee;border-radius:4px;padding:5px 9px;font-size:10px}.detail-buttons{gap:10px;display:flex}.adjust-link{margin:16px 0 23px}.detail-history-title{color:#637652;margin:6px 0 15px;font:400 18px Georgia,serif}@media (width>=1500px){main{padding-left:65px;padding-right:65px}.wine-list-head,.wine-row{column-gap:24px;padding-left:27px;padding-right:27px}}@media (width<=1200px){.app-shell{grid-template-columns:185px minmax(0,1fr)}.sidebar{width:185px;padding:29px 14px 20px}.brand{gap:8px;font-size:18px}.brand-mark{width:35px;height:43px}.brand-second{font-size:11px}.local-status{font-size:8px}main{padding:0 28px}h1{font-size:33px}.stats>div{padding:20px 18px}.stats .stat-detail{font-size:9px}.wine-list-head,.wine-row{grid-template-columns:minmax(155px,2fr) 85px 90px 100px 112px;column-gap:10px;padding-left:16px;padding-right:16px}.wine-identity{gap:10px}.wine-identity strong{font-size:14px}.wine-list-head{font-size:7px}.wine-actions{gap:5px}.filters{flex-wrap:wrap}.search{max-width:none}.stock-filter{width:100%;margin-top:0}.stats h3{font-size:18px}}@media (width<=1000px) and (width>=761px){.app-shell{grid-template-columns:145px minmax(0,1fr)}.sidebar{width:145px;padding-left:10px;padding-right:10px}.brand{font-size:15px}.brand-second{font-size:9px}.brand-mark{width:31px;height:38px}.nav-caption{letter-spacing:1px;font-size:7px}.sidebar nav button{gap:8px;font-size:11px}.local-status{white-space:normal;font-size:8px;line-height:1.5}.sidebar-note{margin-left:10px}.sidebar-note p{font-size:18px}main{padding:0 22px}.page-head{gap:15px}h1{font-size:29px}.button{padding:10px 12px;font-size:11px}.stats{grid-template-columns:1fr 1fr}.stats>div:last-child,.wine-list-head{display:none}.wine-row{grid-template-columns:minmax(160px,1fr) 110px}.wine-identity{grid-area:1/1/4}.wine-vintage{grid-column:2;padding-top:13px;font-size:9px}.wine-vintage small{margin-left:7px;display:inline}.wine-stock,.wine-price{grid-column:2;padding-top:8px}.wine-price small{margin-left:5px;display:inline}.wine-actions{grid-column:1/-1;justify-content:flex-end;padding-bottom:12px}.wine-row{padding-bottom:5px}}@media (width<=760px){.app-shell{display:block}.sidebar{border-right:0;border-bottom:1px solid var(--border);gap:18px;width:100%;padding:17px 20px 0;position:relative}.brand{gap:9px;font-size:18px}.brand-second{letter-spacing:-.5px;margin:0 0 0 2px;font-size:18px;font-weight:400;display:inline}.brand-mark{border-radius:8px;width:31px;height:36px}.brand-mark svg{width:22px;height:22px}.nav-caption,.sidebar-note,.local-status{display:none}.sidebar nav{gap:23px;display:flex}.sidebar nav button{border-radius:0;padding:12px 2px;font-size:12px;position:relative}.sidebar nav button.active{color:#36513e;background:0 0}.sidebar nav button.active:after{content:"";background:#476441;height:2px;position:absolute;bottom:-1px;left:0;right:0}.sidebar nav button svg{width:17px;height:17px}.sidebar nav button span{padding:1px 5px;font-size:9px}.sidebar nav button{gap:8px}main{min-height:calc(100vh - 117px);padding:0 20px}.topbar{letter-spacing:.6px;min-height:55px;font-size:8px}.topbar b{margin:0 7px}.prototype-badge{padding:5px 7px;font-size:8px}.page-head{padding:28px 0 24px;display:block}.eyebrow{letter-spacing:1.6px;margin-bottom:10px;font-size:8px}h1{letter-spacing:-1px;font-size:32px;line-height:1.25}.subtitle{margin-top:9px;font-size:12px}.page-head>.button{width:100%;min-height:44px;margin-top:23px;font-size:12px}.stats{grid-template-columns:1fr 1fr;margin-bottom:28px}.stats>div{min-height:118px;padding:18px 15px}.stats>div>span{letter-spacing:.9px;font-size:8px}.stats strong{gap:10px;font-size:33px}.stats strong svg{width:20px;height:20px}.stats .stat-detail{max-width:65px;font-size:9px;line-height:1.5}.stats p{font-size:9px;line-height:1.7}.stats>div:last-child{display:none}.section-heading{align-items:flex-start;gap:12px;margin-bottom:18px}h2{font-size:23px}.section-heading p{max-width:190px;font-size:10px;line-height:1.6}.section-heading .text-button{text-align:right;flex-shrink:0;gap:5px;max-width:99px;margin-top:3px;font-size:9px;line-height:1.6}.section-heading .text-button svg{width:14px}.filters{gap:10px}.search{flex-basis:100%;height:43px}.search input{font-size:11px}.filters select{flex:1;min-width:0;max-width:210px;padding:11px 6px;font-size:10px}.stock-filter{gap:5px;width:auto;font-size:9px}.stock-filter input{width:14px;height:14px}.wine-list{background:0 0;border:0;overflow:visible}.wine-list-head{display:none}.wine-row{border:1px solid var(--border);background:#fff;border-radius:7px;grid-template-columns:1fr auto;gap:10px 12px;margin-bottom:12px;padding:16px;display:grid;position:relative}.wine-row+.wine-row{border-top:1px solid var(--border)}.wine-identity{grid-column:1/-1;gap:14px;padding:0}.wine-identity strong{font-size:17px}.wine-subtitle{margin-top:5px;font-size:10px}.wine-identity .bottle-art{width:43px;height:65px}.wine-vintage{grid-column:1/-1;align-items:center;gap:8px;margin-top:-18px;padding-bottom:3px;padding-left:57px;display:flex}.wine-vintage strong{font-size:10px}.wine-vintage small{margin:0;font-size:9px}.wine-stock{grid-area:3/1;align-self:center;margin-top:7px}.wine-price{grid-area:4/1;margin-top:-4px}.wine-price strong{font-size:11px}.wine-price small{margin-left:5px;font-size:9px;display:inline}.wine-actions{grid-area:3/2/5;align-self:center;gap:8px;margin-top:5px}.wine-actions .button{min-height:39px;padding:9px 12px;font-size:11px}.add-purchase{min-width:36px;min-height:39px}.empty{min-height:270px;padding:38px 17px}.empty h3{font-size:23px}.empty p{font-size:11px}.first-wine{gap:15px;padding:30px 17px}.first-wine>span{font-size:8px}.first-wine .eyebrow{letter-spacing:1.5px;font-size:7px}.first-wine h3{max-width:230px}.first-wine .button{font-size:11px}.history-row{flex-wrap:wrap;gap:11px;padding:17px 13px}.history-info strong{font-size:12px}.history-info>span{font-size:9px}.history-undo{min-width:63px}.movement-quantity{min-width:35px;font-size:21px}.history .text-button{gap:4px;font-size:10px}.movement-icon{width:30px;height:30px}.count-label{text-align:right;max-width:80px;font-size:9px;line-height:1.5}.message{align-items:flex-start;padding:12px;font-size:11px}.message.success{flex-wrap:wrap}.message.success>span{flex-basis:70%}.message.success>button:not(.icon-button){margin-left:25px}.message.success>.icon-button{position:absolute;right:28px}.message.warning{flex-wrap:wrap;gap:10px}.inline-actions{gap:15px}.message button:not(.icon-button){font-size:10px}footer{margin-top:30px;padding:19px 0;font-size:8px}.dialog-head{padding:25px 22px 20px}.dialog-head h2{font-size:25px}.dialog-head p:last-child:not(.eyebrow){font-size:10px}.wine-form{padding:23px 22px 0}.form-grid{gap:13px}.wine-form label{font-size:10px}.wine-form input,.wine-form select{min-height:45px;font-size:12px}.wine-form .optional{font-size:8px}.form-footer{gap:8px;padding-bottom:22px}.form-footer .button{min-height:42px;padding:11px 12px;font-size:11px}.wine-detail{padding:23px 22px}.detail-overview{gap:18px}.detail-overview h3{font-size:29px}.detail-overview small{font-size:8px}.detail-buttons{flex-wrap:wrap;gap:9px}.detail-buttons .button{flex:1;font-size:11px}.wine-form summary{font-size:9px}.wine-form summary span{font-size:8px}.compact .history-row{gap:8px;padding:14px 10px}.compact .history-undo{min-width:54px}.compact .history-info>span{font-size:8px}}@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}.access-shell{place-items:center;min-height:100dvh;padding:24px;display:grid}.access-card{background:#fffefa;border:1px solid #dce2d4;border-radius:12px;width:min(100%,440px);padding:clamp(24px,6vw,44px)}.access-card h1{margin:12px 0 26px;font-size:clamp(32px,7vw,44px)}.access-form{gap:14px;display:grid}.access-form label{font-weight:600}.access-form input{width:100%;font:inherit;border:1px solid #adb6a4;border-radius:6px;padding:12px}.access-form button{justify-content:center;margin-top:6px}.access-message{z-index:20;text-align:center;background:#f8ede0;padding:12px;position:fixed;inset:0 0 auto}.quick-actions{flex-wrap:wrap;align-items:center;gap:20px;margin:-12px 0 28px;display:flex}.wine-thumb{object-fit:contain;background:#eeece3;border-radius:6px;flex-shrink:0;width:48px;height:66px}.detail-photo{object-fit:contain;border-radius:8px;width:130px;height:180px}.photo-flow{padding:0 28px 28px}.photo-dropzone{text-align:center;color:#526a3b;background:#f6f6ef;border:1px dashed #a7af98;border-radius:12px;padding:30px 20px}.photo-dropzone h3{margin:12px 0;font-size:24px}.photo-dropzone p{color:#657557;line-height:1.7}.photo-preview{object-fit:contain;border-radius:8px;max-width:100%;height:210px;margin:0 auto 22px;display:block}.photo-actions{flex-wrap:wrap;justify-content:center;gap:12px;margin-top:20px;display:flex}.photo-service-note,.field-help,.photo-fallback span{color:#657557;font-size:12px;line-height:1.7}.photo-service-note .text-button{margin-left:6px}.photo-fallback{flex-direction:column;align-items:flex-start;gap:14px;margin-top:24px;display:flex}.camera-panel{color:#fff;text-align:center;background:#17271f;border-radius:10px;padding:16px}.camera-panel video{border-radius:6px;width:100%;max-height:350px}.camera-panel p{font-size:13px}.recognition-result{background:#f6f6ef;border-left:3px solid #70895a;border-radius:0 8px 8px 0;margin-top:24px;padding:8px 18px}.recognition-result h3{margin:10px 0;font-size:25px}.recognition-result p,.recognition-result li{font-size:13px;line-height:1.7}.recognition-result summary{cursor:pointer;padding:12px 0;font-size:12px}.recognition-result .text-button{margin:14px 0}.observed-text{white-space:pre-wrap}.review-label{color:#80551e;font-size:13px}.photo-commit{border-top:1px solid #e1e5d7;margin-top:24px;padding-top:24px}.photo-commit fieldset,.admin-form fieldset{border:0;min-width:0;margin:0;padding:0}.photo-commit label,.admin-form label{flex-direction:column;gap:9px;margin-bottom:20px;font-size:13px;font-weight:500;display:flex}.photo-commit input:not([type=radio]),.admin-form input:not([type=checkbox]){width:100%;font:inherit;color:#283e2b;box-sizing:border-box;background:#fff;border:1px solid #d4dacb;border-radius:6px;padding:12px}.candidate-option{cursor:pointer;border:1px solid #d4dacb;border-radius:8px;padding:14px;flex-direction:row!important;gap:12px!important;display:flex!important}.candidate-option input{accent-color:#395c31}.candidate-option small{color:#657557;margin-top:7px;font-weight:400;line-height:1.6;display:block}.analysis-progress{color:#395c31;background:#eff3e9;border-radius:6px;padding:14px;font-size:13px}.form-photo{height:140px}.admin-layout{grid-template-columns:minmax(0,1.5fr) minmax(260px,1fr);gap:24px;display:grid}.admin-main,.admin-aside{flex-direction:column;gap:24px;display:flex}.admin-card{background:#fffefa;border:1px solid #e0e4d8;border-radius:12px;padding:28px}.admin-card h2{margin:8px 0 16px;font-size:29px}.admin-card h3{margin:0 0 15px;font-size:23px}.admin-intro,.admin-card p{color:#657557;font-size:13px;line-height:1.8}.config-status{background:#f7f0e2;border-radius:8px;margin:22px 0;padding:16px}.config-status.ready{background:#edf3e8}.config-status strong,.config-status span{font-size:13px;line-height:1.7;display:block}.admin-form .field-help{margin:-8px 0 24px}.admin-form .checkbox-label{flex-direction:row;align-items:center}.admin-model{border-top:1px solid #e0e4d8;justify-content:space-between;gap:16px;padding:20px 0;font-size:12px;display:flex}.admin-save{flex-wrap:wrap;justify-content:flex-end;gap:12px;margin-top:12px;display:flex}.period-label{color:#657557;font-size:12px}.cost-list{margin:24px 0 0}.cost-list>div{border-bottom:1px solid #e0e4d8;justify-content:space-between;gap:12px;padding:15px 0;font-size:12px;display:flex}.cost-list dd{white-space:nowrap;margin:0;font-weight:600}.cost-list .remaining{color:#395c31;font-size:14px}.privacy-card a{color:#395c31;text-decoration:underline}.admin-aside{position:static}@media (width<=1000px){.admin-layout{grid-template-columns:1fr}.admin-aside{grid-template-columns:1fr 1fr;display:grid}}@media (width<=760px){.admin-aside{display:flex}.admin-card{padding:22px}.photo-flow{padding:0 20px 24px}.photo-dropzone{padding:24px 12px}.photo-actions .button{white-space:normal;flex:1;min-width:130px}.quick-actions{margin:0 0 22px}.admin-model{flex-direction:column;gap:8px}.cost-list>div,.candidate-option small{font-size:12px}}.subtitle,.section-heading p,.stats p{color:#68745f}.topbar{color:#69745f;font-size:10px}.nav-caption{color:#6b785d;font-size:10px}.stats>div>span{color:#667457;font-size:10px}.stats p{font-size:11px}.stats .stat-detail{color:#6e795f;font-size:11px}.wine-list-head{color:#667457;font-size:9px}.wine-subtitle,.wine-identity small,.wine-vintage small,.wine-price small{color:#6c775f;font-size:11px}.stock-pill{color:#526a3b;font-size:11px}.stock-pill.zero{color:#69725e}.filters select,.search input{font-size:12px}.stock-filter{color:#667457;font-size:11px}.history-info>span,.history-info small{color:#6b775e;font-size:11px}.wine-form label{font-size:12px}.wine-form .optional{color:#6e795f;font-size:10px}.wine-form summary{font-size:11px}.wine-form summary span{color:#6e795f;font-size:10px}.form-hint{color:#657557;font-size:12px}.detail-overview small{color:#6e795f;font-size:11px}@media (width<=760px){.topbar,.stats>div>span{font-size:9px}.stats p{font-size:10px}.section-heading p,.wine-vintage strong{font-size:11px}.history-info>span,.history-info small{font-size:10px}}
