/* Quiet personal-library flows. */
:root{--muted:#526561}button{touch-action:manipulation}.icon-btn{min-width:44px;min-height:44px}.chip{min-height:44px}.phase{font-size:11px;letter-spacing:1.25px}.back{min-height:35px}.side-bottom{display:flex;flex-direction:column;align-items:start;gap:15px;padding-top:27px}.side-bottom p{margin-top:8px}.side-brand{margin-bottom:10px}.side-title{font-size:22px;margin-bottom:25px}.side-link{min-height:44px}.phase-nav summary{min-height:48px}.prototype{min-height:44px}.top-note{font-size:10px}.topbar .avatar{width:40px;height:40px}.library-nav{display:flex;gap:24px;border-bottom:1px solid var(--line);margin:0 0 26px;overflow:auto;white-space:nowrap}.library-nav button{padding:11px 0 15px;font-size:15px;color:var(--muted);border-bottom:2px solid transparent;min-height:48px}.library-nav button.selected{border-bottom-color:var(--amber);color:var(--amber);font-weight:600}.capture-banner{background:#E5ECEA;border:1px solid #D4DEDC;border-radius:5px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:25px}.capture-banner>div{display:flex;align-items:center;gap:13px;font-size:15px}.capture-banner .btn{background:transparent;border-color:#A0B5B0;white-space:nowrap}.library-tools{display:flex;gap:12px;margin:20px 0 24px}.search-box{display:flex;align-items:center;gap:10px;flex:1;border:1px solid var(--line);border-radius:4px;min-height:47px;padding:0 13px;background:var(--white)}.search-box .icon{width:18px;color:var(--muted)}.search-box input{min-width:0;width:100%;padding:11px 0;background:none;border:0;outline:none;font-size:14px}.search-box:focus-within{outline:2px solid var(--amber);outline-offset:2px}.library-tools select{border:1px solid var(--line);border-radius:4px;background:var(--white);padding:10px 30px 10px 12px;max-width:155px;font-size:14px}.library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:21px}.library-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--white)}.library-bottle{display:flex;flex-direction:column;align-items:stretch;padding:0;width:100%;text-align:left}.library-bottle img{height:185px;width:100%;object-fit:contain;background:#E5ECEA;padding:17px}.library-bottle span{font:23px/1.2 var(--serif);padding:19px 20px 0}.library-card-body{padding:9px 20px 17px}.library-card-body>p{font-size:12px;color:var(--muted);margin-bottom:18px;min-height:32px}.score-pair{display:flex;align-items:start;gap:30px;margin:18px 0}.score-pair>div{display:flex;flex-direction:column;gap:5px;min-width:0}.score-pair span{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:1px}.score-pair strong{font:26px var(--serif);font-weight:400}.score-pair small{font-size:11px;color:var(--muted)}.library-card-actions{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:14px;margin-top:17px}.library-card-actions .btn{font-size:13px;padding:8px 13px}.quiet-link{margin:25px 0 10px}.rating-row{display:flex;gap:20px;align-items:center;padding:22px 0;border-bottom:1px solid var(--line)}.rating-identity{display:flex;align-items:center;gap:17px;flex:1;min-width:0;text-align:left;padding:0}.rating-identity>.bottle-thumb{width:59px;height:84px;object-fit:contain;padding:5px;background:#E5ECEA}.rating-identity>span{display:flex;flex-direction:column;gap:7px}.rating-identity strong{font:22px/1.25 var(--serif);font-weight:400}.rating-identity small{font-size:12px;color:var(--muted)}.rating-note{font-size:13px;color:var(--muted);max-width:520px}.rating-value{display:flex;flex-direction:column;align-items:end;gap:4px;flex-shrink:0}.rating-value>span{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted)}.rating-value>strong{font:29px var(--serif)}.rating-value small{font:12px var(--body);color:var(--muted)}.rating-value>.text-link{font-size:12px;min-height:35px}.section-head.compact{margin:0}.destination-choices{display:flex;gap:25px;flex-wrap:wrap}.destination-choices .check{margin:8px 0}.check{min-height:30px;align-items:center}.check input{flex-shrink:0}.import-choices{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:30px}.import-choices>.card{text-align:left;display:flex;flex-direction:column;gap:15px}.import-choices .icon{color:var(--amber);width:26px;height:26px}.import-choices p{margin:0}.import-choices .icon:last-child{align-self:end;margin-top:15px}.home-shortcuts{display:flex;gap:12px;margin:-5px 0 25px}.hero{min-height:300px}.hero-copy h2{font-size:34px;max-width:300px}.hero:after{background:linear-gradient(90deg,#E5ECEA 0%,#E5ECEA 29%,#E5ECEAd9 41%,transparent 70%)}.hero-copy{width:54%}.hero-counter button{width:44px;height:44px;background:#F3F8F770}.recent-ratings .rating-identity strong{font-size:20px}.recent-ratings{max-width:950px}.photo-dialog{width:min(720px,94vw);padding:28px;max-height:90dvh;overflow:auto}.photo-dialog h2{margin:10px 0 12px}.recognition-note{font-size:13px!important;line-height:1.5}.photo-previews{display:flex;gap:10px;overflow:auto;margin:20px 0}.photo-previews img{height:100px;width:100px;object-fit:cover;border-radius:4px}.batch-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap;margin:20px 0;font-size:12px;color:var(--muted)}.batch-actions>span{margin-right:auto}.batch-actions .chip{font-size:12px;padding:7px 13px}.photo-candidates{display:flex;flex-direction:column;gap:18px}.photo-candidate{padding:20px;border:1px solid var(--line);border-radius:5px;background:var(--white)}.candidate-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.candidate-head .check{margin:0;font-size:13px}.review-warning{font-size:11px;color:var(--amber)}.candidate-identity{display:flex;align-items:center;gap:15px;margin:17px 0}.candidate-identity .bottle-thumb{width:48px;height:76px;object-fit:contain;background:#E5ECEA;padding:4px}.candidate-identity .field{flex:1;min-width:0}.field select{min-width:0}.photo-candidate .destination-choices{font-size:13px;gap:18px;margin-bottom:15px}.photo-candidate .check{font-size:13px}.photo-review-footer{position:sticky;bottom:-28px;background:var(--paper);padding:20px 0 10px;margin-top:15px;border-top:1px solid var(--line)}.photo-review-footer small{font-size:11px;color:var(--muted);display:block;text-align:center;margin-top:10px}.small-detail{border-top:1px solid var(--line);margin:18px 0 3px;padding-top:12px}.small-detail summary{font-size:13px;color:var(--amber);cursor:pointer;min-height:32px;padding:4px 0}.small-detail p{font-size:13px!important;color:var(--muted);margin:10px 0!important}.small-detail .field{margin:12px 0}.photo-results{display:grid;grid-template-columns:1fr 1fr;gap:22px}.photo-result{padding:25px;background:var(--white);border:1px solid var(--line);border-radius:6px;min-width:0}.photo-result-top{display:flex;gap:20px;align-items:center}.photo-result-top>div{min-width:0;flex:1}.photo-result h2{font-size:25px;margin-top:9px;overflow-wrap:anywhere}.result-bottle{padding:0;min-width:65px;width:80px;flex-shrink:0}.result-bottle img{width:100%;height:160px;object-fit:contain;background:#E5ECEA;border-radius:4px;padding:8px}.photo-result .score-pair{gap:25px;margin:17px 0 5px}.photo-result .score-pair strong{font-size:27px}.photo-result .score-pair span{font-size:10px;letter-spacing:.7px}.match-reasons{margin:22px 0 15px}.match-reasons p{display:flex;align-items:start;gap:10px;font-size:13px;color:#435A56;margin:10px 0}.match-reasons .icon{width:15px;height:19px;color:var(--amber)}.reason-caution>span{min-width:15px;text-align:center;color:var(--muted);font-size:19px;line-height:18px}.result-actions{display:flex;flex-wrap:wrap;gap:9px;margin:21px 0 0}.result-actions .btn{font-size:12px;padding:9px 12px}.review-pending{border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;padding-bottom:15px;font-size:13px;color:var(--muted)}.bottle-portrait{height:420px;border-radius:6px;background:#E5ECEA;padding:30px}.bottle-portrait img{width:100%;height:100%;object-fit:contain}.score-pair.large{gap:40px}.score-pair.large strong{font-size:38px}.personal-note{border-top:1px solid var(--line);margin-top:22px;padding-top:21px}.personal-note h4{font-size:17px}.bottle-summary .personal-note p{font-size:14px}.opening-history{display:flex;gap:20px;flex-wrap:wrap;margin:17px 0;font-size:13px;color:var(--muted)}.opening-history strong{color:var(--ink);margin-left:4px}.compass-key{display:flex;justify-content:space-between;gap:20px;font-size:13px;margin:14px 0}.compass-legend{color:var(--muted)}#toast{pointer-events:auto}#toast button{color:#C9E9E0;padding:3px 5px;text-decoration:underline;min-height:32px;margin-left:10px}.score-control button{width:44px;height:44px}.pour-nav button{width:44px;height:44px}.viewfinder h3{font-size:27px}.viewfinder{padding:24px}.field input:focus-visible,.field textarea:focus-visible,.field select:focus-visible{outline:2px solid var(--amber);outline-offset:2px}.empty .muted{margin-top:12px}.empty{grid-column:1/-1}.tab{min-height:48px}.tab.active:after{display:none}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(max-width:1150px){.library-grid{grid-template-columns:1fr 1fr}.photo-results{grid-template-columns:1fr}.hero-copy h2{font-size:32px}.hero-copy{width:57%}}
@media(max-width:560px){.page-head{align-items:center;margin-bottom:23px}.page-head h1{font-size:33px}.page-head>.btn{font-size:12px;min-height:44px;white-space:nowrap;padding:8px 12px}.library-nav{gap:21px;margin-bottom:22px}.library-nav button{font-size:14px}.capture-banner{padding:15px;gap:10px}.capture-banner>div{font-size:13px;gap:10px}.capture-banner>div .icon{width:18px}.capture-banner .btn{font-size:12px;padding:7px 10px}.capture-banner .btn .icon{display:none}.library-tools{flex-wrap:wrap;gap:10px}.search-box{flex-basis:100%}.library-tools select{flex:1;max-width:none}.library-grid{grid-template-columns:1fr 1fr;gap:12px}.library-bottle img{height:155px;padding:15px}.library-bottle span{font-size:18px;padding:15px 13px 0}.library-card-body{padding:8px 13px 13px}.library-card-body>p{font-size:11px;margin-bottom:12px}.score-pair{gap:18px;margin:14px 0}.score-pair span{font-size:9px;letter-spacing:.5px}.score-pair strong{font-size:23px}.library-card-actions{flex-wrap:wrap;margin-top:12px;gap:0}.library-card-actions .btn{padding:8px 9px;font-size:11px;flex:1}.library-card-actions .icon-btn{min-width:32px;width:32px}.library-card-actions .icon-btn .icon{width:17px}.rating-row{gap:12px;padding:21px 0}.rating-identity{gap:12px}.rating-identity>.bottle-thumb{width:44px;height:73px}.rating-identity strong{font-size:18px}.rating-identity small{font-size:11px}.rating-note{font-size:12px}.rating-value>strong{font-size:25px}.rating-value>span{font-size:9px;letter-spacing:.6px}.recent-ratings .rating-identity strong{font-size:18px}.section-head.compact{gap:10px}.section-head.compact .muted{font-size:12px}.section-head.compact .text-link{font-size:12px;white-space:nowrap}.home-shortcuts{margin-top:0;margin-bottom:22px}.home-shortcuts .btn{font-size:13px;flex:1;padding:9px 11px}.hero{min-height:300px}.hero-copy{width:75%;padding:25px 23px}.hero-copy h2{font-size:29px;max-width:215px}.hero-copy>p{max-width:175px;font-size:12px}.hero-image{object-position:60% center;opacity:.82}.hero:after{background:linear-gradient(90deg,#E5ECEA 0%,#E5ECEAe8 33%,#E5ECEA44 72%,transparent 100%)}.hero-copy .text-link{margin-top:15px}.hero-copy .range{margin-top:17px}.hero-counter{bottom:10px;right:9px;gap:7px}.hero-counter button{width:44px;height:44px}.import-choices{grid-template-columns:1fr}.photo-dialog{padding:22px;max-height:94dvh;width:calc(100% - 20px);border-radius:8px}.photo-candidate{padding:16px}.photo-review-footer{bottom:-22px}.photo-dialog h2{font-size:29px}.photo-result{padding:20px}.photo-result-top{gap:15px}.photo-result h2{font-size:24px}.result-bottle{width:64px;min-width:64px}.result-bottle img{height:145px;padding:5px}.photo-result .score-pair{gap:16px}.photo-result .score-pair strong{font-size:24px}.photo-result .score-pair span{font-size:9px}.result-actions .btn{font-size:12px;flex:1;padding:9px}.score-pair.large strong{font-size:31px}.bottle-portrait{height:290px;padding:25px}.phase{font-size:10px;letter-spacing:1px}.compass-key{font-size:12px}.top-note{display:none}.topbar .avatar{width:40px;height:40px}.topbar .top-actions{gap:8px}.topbar #menu-button{min-width:44px}.btn.primary{border-radius:4px}.viewfinder h3{font-size:25px}.grid.two.keep{grid-template-columns:1fr 1fr;gap:12px}.destination-choices{gap:18px}.photo-review-footer small{font-size:11px}.match-reasons{margin-top:20px}}

@media(min-width:851px){.mobile-preview .page-head{align-items:center;margin-bottom:23px}.mobile-preview .page-head h1{font-size:33px}.mobile-preview .page-head>.btn{font-size:12px;min-height:44px;white-space:nowrap;padding:8px 12px}.mobile-preview .library-nav{gap:21px;margin-bottom:22px}.mobile-preview .library-nav button{font-size:14px}.mobile-preview .capture-banner{padding:15px;gap:10px}.mobile-preview .capture-banner>div{font-size:13px;gap:10px}.mobile-preview .capture-banner>div .icon{width:18px}.mobile-preview .capture-banner .btn{font-size:12px;padding:7px 10px}.mobile-preview .capture-banner .btn .icon{display:none}.mobile-preview .library-tools{flex-wrap:wrap;gap:10px}.mobile-preview .search-box{flex-basis:100%}.mobile-preview .library-tools select{flex:1;max-width:none}.mobile-preview .library-grid{grid-template-columns:1fr 1fr;gap:12px}.mobile-preview .library-bottle img{height:155px;padding:15px}.mobile-preview .library-bottle span{font-size:18px;padding:15px 13px 0}.mobile-preview .library-card-body{padding:8px 13px 13px}.mobile-preview .library-card-body>p{font-size:11px;margin-bottom:12px}.mobile-preview .score-pair{gap:18px;margin:14px 0}.mobile-preview .score-pair span{font-size:9px;letter-spacing:.5px}.mobile-preview .score-pair strong{font-size:23px}.mobile-preview .library-card-actions{flex-wrap:wrap;margin-top:12px;gap:0}.mobile-preview .library-card-actions .btn{padding:8px 9px;font-size:11px;flex:1}.mobile-preview .library-card-actions .icon-btn{min-width:32px;width:32px}.mobile-preview .library-card-actions .icon-btn .icon{width:17px}.mobile-preview .rating-row{gap:12px;padding:21px 0}.mobile-preview .rating-identity{gap:12px}.mobile-preview .rating-identity>.bottle-thumb{width:44px;height:73px}.mobile-preview .rating-identity strong{font-size:18px}.mobile-preview .rating-identity small{font-size:11px}.mobile-preview .rating-note{font-size:12px}.mobile-preview .rating-value>strong{font-size:25px}.mobile-preview .rating-value>span{font-size:9px;letter-spacing:.6px}.mobile-preview .recent-ratings .rating-identity strong{font-size:18px}.mobile-preview .section-head.compact{gap:10px}.mobile-preview .section-head.compact .muted{font-size:12px}.mobile-preview .section-head.compact .text-link{font-size:12px;white-space:nowrap}.mobile-preview .home-shortcuts{margin-top:0;margin-bottom:22px}.mobile-preview .home-shortcuts .btn{font-size:13px;flex:1;padding:9px 11px}.mobile-preview .hero{min-height:300px}.mobile-preview .hero-copy{width:75%;padding:25px 23px}.mobile-preview .hero-copy h2{font-size:29px;max-width:215px}.mobile-preview .hero-copy>p{max-width:175px;font-size:12px}.mobile-preview .hero-image{object-position:60% center;opacity:.82}.mobile-preview .hero:after{background:linear-gradient(90deg,#E5ECEA 0%,#E5ECEAe8 33%,#E5ECEA44 72%,transparent 100%)}.mobile-preview .hero-copy .text-link{margin-top:15px}.mobile-preview .hero-copy .range{margin-top:17px}.mobile-preview .hero-counter{bottom:10px;right:9px;gap:7px}.mobile-preview .hero-counter button{width:44px;height:44px}.mobile-preview .import-choices{grid-template-columns:1fr}.mobile-preview .photo-dialog{padding:22px;max-height:94dvh;width:calc(100% - 20px);border-radius:8px}.mobile-preview .photo-candidate{padding:16px}.mobile-preview .photo-review-footer{bottom:-22px}.mobile-preview .photo-dialog h2{font-size:29px}.mobile-preview .photo-result{padding:20px}.mobile-preview .photo-result-top{gap:15px}.mobile-preview .photo-result h2{font-size:24px}.mobile-preview .result-bottle{width:64px;min-width:64px}.mobile-preview .result-bottle img{height:145px;padding:5px}.mobile-preview .photo-result .score-pair{gap:16px}.mobile-preview .photo-result .score-pair strong{font-size:24px}.mobile-preview .photo-result .score-pair span{font-size:9px}.mobile-preview .result-actions .btn{font-size:12px;flex:1;padding:9px}.mobile-preview .score-pair.large strong{font-size:31px}.mobile-preview .bottle-portrait{height:290px;padding:25px}.mobile-preview .phase{font-size:10px;letter-spacing:1px}.mobile-preview .compass-key{font-size:12px}.mobile-preview .top-note{display:none}.mobile-preview .topbar .avatar{width:40px;height:40px}.mobile-preview .topbar .top-actions{gap:8px}.mobile-preview .topbar #menu-button{min-width:44px}.mobile-preview .btn.primary{border-radius:4px}.mobile-preview .viewfinder h3{font-size:25px}.mobile-preview .grid.two.keep{grid-template-columns:1fr 1fr;gap:12px}.mobile-preview .destination-choices{gap:18px}.mobile-preview .photo-review-footer small{font-size:11px}.mobile-preview .match-reasons{margin-top:20px} .mobile-preview .library-grid{grid-template-columns:1fr 1fr}.mobile-preview .photo-results{grid-template-columns:1fr}.mobile-preview .import-choices{grid-template-columns:1fr}}
.candidate-quick{display:flex;gap:13px;align-items:center;margin:16px 0}.candidate-quick>.bottle-thumb{width:42px;height:63px;object-fit:contain;padding:4px;background:#E5ECEA}.candidate-quick>strong{font:20px/1.2 var(--serif);flex:1}.candidate-quick>.field{max-width:108px;width:108px;flex-shrink:0;font-size:11px}.candidate-quick input{padding:10px;font-size:16px}.photo-candidate>.small-detail{margin-top:8px;padding-top:6px}.photo-candidate>.destination-choices{margin-bottom:0}.photo-candidate>.small-detail summary{min-height:35px;padding:7px 0}.photo-dialog{padding-bottom:15px}.photo-review-footer{bottom:-15px}.library-card-actions .icon-btn{min-width:44px;width:44px}.photo-dialog .candidate-quick strong{overflow-wrap:anywhere}.photo-result .small-detail summary{min-height:44px}.small-detail .text-link{min-height:44px}.side-link.sub{min-height:40px}
@media(max-width:560px){.candidate-quick{gap:10px}.candidate-quick>strong{font-size:18px}.candidate-quick>.field{max-width:85px;width:85px}.photo-candidate{padding:15px}.candidate-quick>.bottle-thumb{width:34px;height:58px}.photo-dialog .destination-choices{gap:13px}.photo-dialog .check{font-size:12px}.photo-dialog .small-detail{font-size:12px}.photo-dialog .small-detail summary{font-size:12px}.library-card-actions .icon-btn{min-width:44px;width:44px}.rating-identity strong{overflow-wrap:anywhere}}
.library-card-body>.saved-note{font-size:13px;min-height:0;line-height:1.45;margin:0 0 12px;color:var(--ink)}
