@charset "UTF-8";
:root{--bg:#101827;--panel:#172031;--ink:#f7f8fb;--muted:#8b95a9;--line:#2a3548;--pink:#ff7ebd;--blue:#7acaff;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,a,input,select{-webkit-tap-highlight-color:transparent}button,input,select{font:inherit;color:inherit}button{cursor:pointer;background:none;border:0}a{color:inherit;text-decoration:none}button,a{touch-action:manipulation}button:disabled{opacity:.3;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--pink);outline-offset:4px}button:hover:not(:disabled){filter:brightness(1.12)}.topbar{max-width:1320px;margin:auto;padding:22px 40px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:8px;font:600 22px Georgia,serif;letter-spacing:-.6px}.brand span{color:var(--pink);margin-left:-7px}.save-status{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:8px}.save-status:before{content:'';width:6px;height:6px;background:#95bb84;border-radius:50%}main{max-width:1240px;padding:0 40px;margin:auto}.intro{display:flex;justify-content:space-between;align-items:center;padding:44px 0 32px}.eyebrow{font-size:10px;letter-spacing:.2em;color:var(--muted);margin:0}.intro h1{font-size:38px;letter-spacing:.04em;line-height:1.5;margin:8px 0 10px;font-weight:750}.intro h1 span{font-size:15px;color:#aab3c3;font-weight:500;margin-left:15px;letter-spacing:.1em}.intro>div>p:last-child{font-size:13px;line-height:1.9;margin:0;color:#aab2c1}.intro-note{display:flex;align-items:center;gap:14px}.intro-note>span{font:13px ui-monospace,monospace;border:1px solid #3e485b;border-radius:7px;padding:10px;color:#bdc4d0}.intro-note p{font-size:10px;line-height:1.9;color:var(--muted)}.mobile-only{display:none}.section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;gap:10px}.section-title h2{font-size:13px;letter-spacing:.04em;margin:0;font-weight:500;display:flex;align-items:center;gap:12px}.section-title small{font:10px ui-monospace,monospace;color:#68778e}.section-title>span{font-size:10px;color:#77849a}.templates{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.template-card{padding:0;text-align:left;border:1px solid #3a4353;border-radius:8px;overflow:hidden;background:#172031;transition:border-color .2s,box-shadow .2s}.template-card[aria-pressed=true]{border-color:#ff98c9;box-shadow:0 0 0 2px #ff7ebd15}.template-art{height:112px;position:relative;display:flex;align-items:center;justify-content:center;padding:17px 15px 10px;gap:10px}.template-art:before{content:none;position:absolute;top:10px;left:12px;color:var(--preview-ink);font:6px ui-monospace,monospace;letter-spacing:.12em;opacity:.5}.template-art svg{width:38px;height:69px}.template-art.matrix-preview{gap:8px}.template-art.matrix-preview svg{height:55px}.template-info{padding:13px 14px;display:flex;justify-content:space-between;gap:5px;align-items:center;border-top:1px solid #30394a}.template-info strong{font-size:12px;display:block;font-weight:600}.template-info small{display:block;color:#8591a6;font-size:9px;margin-top:5px}.choice-dot{display:flex;align-items:center;justify-content:center;font-size:10px;border:1px solid #627086;width:18px;height:18px;border-radius:50%;color:transparent;flex-shrink:0}.template-card[aria-pressed=true] .choice-dot{background:var(--pink);border-color:var(--pink);color:#101827}.editor{margin-top:30px}.text-button{color:#9eacc3;font-size:11px}.editor-toolbar{padding:14px 16px;background:#192233;border:1px solid #2f3a4f;border-radius:8px 8px 0 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.instructions{display:flex;gap:20px;color:#748299;font-size:10px}.instructions b{font-size:11px;color:#a7b2c5;font-weight:400;margin-left:4px}.toolbar-buttons{display:flex;align-items:center;gap:7px}.quiet-button{min-height:35px;padding:6px 11px;background:#1f2a3e;border:1px solid #36435a;border-radius:5px;color:#afbbce;font-size:11px}.export-button{display:flex;align-items:center;justify-content:center;gap:7px;background:var(--pink);color:#38172a;border:1px solid #ff93c6;border-radius:5px;min-height:35px;padding:6px 14px;font-size:11px;font-weight:650;cursor:pointer}.sheet{--paper:#101827;--sheet-ink:#f7f8fb;--sheet-muted:#7c879b;--sheet-line:#435066;--selection:#ffb4d8;background:var(--paper);color:var(--sheet-ink);padding:32px 30px 22px;border:1px solid #303d52;border-top:0}.sheet[data-theme=classic],.sheet[data-theme=matrix]{--paper:#fff;--sheet-ink:#15171c;--sheet-muted:#83858c;--sheet-line:#92969d;--selection:#dc679c;background:#fff;color:#15171c}.sheet-kicker{font:8px ui-monospace,monospace;letter-spacing:.18em;color:var(--sheet-muted);margin:0 0 10px}.sheet-title{display:block;width:100%;border:1px solid transparent;background:transparent;color:var(--sheet-ink);font-size:32px;line-height:1.5;font-weight:750;letter-spacing:.035em;padding:0;margin:0;min-width:0}.sheet-title:hover{border-bottom-color:var(--sheet-line)}.sheet-title:focus{border-bottom-color:var(--selection);outline:0}.sheet-subline{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:6px}.sheet-subline p{margin:0;color:var(--sheet-muted);font-size:10px;line-height:1.7}.sheet-subline>span{font-size:9px;border:1px solid var(--sheet-muted);padding:2px 6px;border-radius:3px;color:var(--sheet-muted)}.legend{display:flex;gap:22px;align-items:center;justify-content:center;padding:19px 0 16px;margin-bottom:13px;flex-wrap:wrap}.legend-button{display:flex;align-items:center;gap:7px;color:var(--sheet-ink);font-size:14px;font-weight:650;border-radius:4px;padding:5px 3px;border:1px solid transparent}.legend-button[aria-pressed=true]{border-bottom-color:var(--sheet-muted)}.legend-dot{width:17px;height:17px;display:block;border-radius:50%;border:1px solid var(--dot);background:var(--dot)}.legend-dot.outline{background:transparent;border:1.8px solid #788398}.legend-dot.cross{background:none;border:0;border-radius:0;color:#ff505d;font-size:24px;line-height:15px}.bottles-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:24px 18px}.bottle-item{min-width:0;position:relative;text-align:center}.bottle-control{width:100%;height:160px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:7px;touch-action:pan-y pinch-zoom;user-select:none;-webkit-user-select:none;cursor:ew-resize;outline:none}.bottle-control svg{height:151px;width:107px;overflow:visible;pointer-events:none}.bottle-control:after{content:'';position:absolute;inset:0;border:1px dashed transparent;border-radius:7px;pointer-events:none}.bottle-item.selected .bottle-control:after{border-color:var(--selection);opacity:.65}.bottle-control:focus-visible{outline:2px solid var(--selection)}.bottle-number,.bottle-percent{position:absolute;top:0;font:7px ui-monospace,monospace;color:var(--sheet-muted);opacity:0}.bottle-number{left:3px}.bottle-percent{right:3px}.bottle-item.selected .bottle-number,.bottle-item.selected .bottle-percent{opacity:1}.bottle-label{width:100%;display:block;text-align:center;background:transparent;border:1px solid transparent;border-radius:3px;color:var(--sheet-ink);font-weight:650;font-size:18px;line-height:1.5;height:31px;margin:0 0 3px;padding:2px 0;min-width:0}.bottle-label.long{font-size:12px}.bottle-label:hover{border-color:var(--sheet-line)}.bottle-label:focus{outline:0;border-color:var(--selection)}.matrix-headings{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;margin:0 0 13px}.matrix-headings span{display:flex;align-items:center;justify-content:center;position:relative;text-align:center;font-size:11px;min-height:39px;font-weight:700;color:#47293b;background:#ffedf6;border:1px solid #f0c8dc;border-radius:50% 50% 40% 40%}.sheet[data-theme=matrix] .bottles-grid{gap:12px 9px}.sheet[data-theme=matrix] .bottle-control{height:105px}.sheet[data-theme=matrix] .bottle-control svg{width:92px;height:100px}.sheet[data-theme=matrix] .bottle-label{font-size:11px;height:26px;line-height:1.4;margin:0 0 3px}.sheet[data-theme=matrix] .bottle-label.long{font-size:9px}.sheet-footer{display:flex;align-items:center;justify-content:space-between;margin-top:29px;padding-top:15px;border-top:1px solid var(--sheet-line);font-size:8px;color:var(--sheet-muted)}.sheet-footer>span:last-child{font:italic 13px Georgia}.edit-panel{display:grid;grid-template-columns:1fr 1fr 1fr;align-items:center;gap:22px;background:#172132;border:1px solid #303d52;border-top:0;padding:18px 24px;border-radius:0 0 8px 8px}.selected-info>span{font-size:9px;color:#8492a9;display:block;margin-bottom:5px}.selected-info>span>span{font:9px ui-monospace,monospace;margin-left:9px}.selected-info strong{font-size:16px;font-weight:500;overflow-wrap:anywhere}.level-control>div{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:#9ba9bf}.level-control output{font:15px ui-monospace,monospace;color:#d8dfea}.level-control input{width:100%;height:25px;accent-color:var(--pink);touch-action:manipulation;margin:4px 0 0;cursor:pointer}.panel-help{font-size:10px;line-height:1.8;color:#8290a6;display:flex;align-items:center;gap:9px;justify-content:center}.panel-help>span{font-size:20px}.storage-note{font-size:10px;color:#697890;text-align:center;line-height:1.8;margin:15px 0 0}footer{display:flex;justify-content:space-between;align-items:center;padding:25px 0 30px;margin-top:28px;border-top:1px solid var(--line);color:#68788f;font-size:9px}footer>span{font:italic 15px Georgia}footer a{text-decoration:underline;text-underline-offset:3px}.toast{position:fixed;bottom:28px;left:50%;transform:translate(-50%,12px);pointer-events:none;opacity:0;z-index:20;background:#f7f8fc;color:#26324b;border-radius:40px;padding:12px 18px;font-size:12px;max-width:calc(100vw - 28px);width:max-content;box-shadow:0 4px 24px #0005;text-align:center;transition:.2s}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{background:#182234;color:#eaf0fa;border:1px solid #455168;border-radius:10px;width:620px;max-width:calc(100vw - 24px);max-height:92dvh;padding:23px}dialog::backdrop{background:#050b16bb;backdrop-filter:blur(4px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:17px}.dialog-heading h2{font-size:19px;font-weight:600;margin:8px 0 0}.close-button{font-size:29px;width:32px;height:32px;padding:0;line-height:1}.export-preview{background:#293347;padding:10px;border-radius:5px}.export-preview img{display:block;width:100%;max-height:57dvh;object-fit:contain}.export-tip{font-size:10px;color:#8e9bb2;text-align:center;line-height:1.8;margin:12px 0}.export-actions{display:flex;gap:10px}.export-actions .export-button{flex:2;min-height:43px}.export-actions .quiet-button{flex:1}[hidden]{display:none!important}#dense-toggle{display:none}
@media(max-width:1000px){main{padding:0 24px}.topbar{padding:21px 24px}.sheet{padding:26px 20px 20px}.bottles-grid{gap:20px 10px}.bottle-control{height:139px}.bottle-control svg{height:132px;width:93px}.bottle-label{font-size:12px}.bottle-label.long{font-size:9px}.template-art{gap:5px}.template-art svg{width:33px}.template-info{padding:11px}.instructions{gap:10px}.instructions b{display:block;margin:4px 0 0}.matrix-headings span{font-size:9px}}
@media(max-width:640px){main{padding:0 15px}.topbar{padding:18px 17px}.brand{font-size:20px}.brand svg{height:23px;width:18px}.save-status{font-size:9px;gap:5px}.intro{padding:29px 2px 25px;align-items:flex-start;gap:8px}.intro h1{font-size:30px;line-height:1.4;margin:8px 0 12px}.intro h1 span{font-size:10px;display:block;margin:5px 0 0;letter-spacing:.2em}.intro>div>p:last-child{font-size:11px;line-height:1.8}.eyebrow{font-size:7px;letter-spacing:.13em}.intro-note{display:block;text-align:right;margin-top:19px;min-width:113px}.intro-note>span{font-size:10px;padding:7px}.intro-note p{font-size:8px;line-height:1.8;margin-top:17px}.mobile-only{display:block}.section-title h2{font-size:11px;gap:8px}.section-title>span{font-size:8px}.section-title small{font-size:9px}.templates{grid-template-columns:repeat(2,1fr);gap:10px}.template-art{height:94px;padding:18px 12px 9px;gap:10px}.template-art:before{font-size:5px;top:9px;left:10px}.template-art svg{height:61px;width:34px}.template-art svg:nth-child(4){display:none}.template-info{padding:10px 11px}.template-info strong{font-size:11px}.template-info small{font-size:8px;margin-top:4px}.choice-dot{width:15px;height:15px;font-size:9px}.editor{margin-top:26px}.editor-toolbar{display:block;padding:10px}.instructions{display:flex;justify-content:center;gap:18px;font-size:8px;margin-bottom:10px}.instructions b{display:inline;margin-left:3px;font-size:9px}.toolbar-buttons{gap:6px;justify-content:space-between}.quiet-button{font-size:9px;padding:5px 9px;min-height:34px}.export-button{font-size:10px;padding:5px 10px;min-height:34px}.export-button svg{width:14px;height:14px}.sheet{padding:22px 12px 18px}.sheet-kicker{font-size:6px;letter-spacing:.13em;margin-bottom:9px}.sheet-title{font-size:21px;letter-spacing:0;height:36px}.sheet-subline p{font-size:8px}.sheet-subline>span{font-size:7px}.legend{gap:10px;padding:17px 0 10px;margin-bottom:8px;flex-wrap:nowrap}.legend-button{font-size:10px;gap:4px;padding:5px 1px}.legend-dot{width:11px;height:11px}.legend-dot.cross{font-size:19px;line-height:11px}.bottles-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:17px 5px}.bottle-control{height:104px}.bottle-control svg{height:99px;width:70px}.bottle-label{font-size:11px;height:28px;margin-top:0}.bottle-label.long{font-size:9px}.bottle-number,.bottle-percent{font-size:6px;top:-1px}.sheet-footer{margin-top:23px;padding-top:12px;font-size:6px}.sheet-footer>span:last-child{font-size:10px}.edit-panel{grid-template-columns:1fr 1.2fr;padding:16px 13px;gap:16px}.selected-info strong{font-size:13px}.selected-info>span{font-size:8px}.level-control>div{font-size:9px}.level-control output{font-size:12px}.panel-help{grid-column:1/-1;font-size:9px;border-top:1px solid #2b3b53;padding-top:10px;text-align:center;display:block}.panel-help br{display:none}.panel-help>span{font-size:13px;margin-right:7px}.storage-note{font-size:8px;padding:0 10px}.matrix-headings{gap:4px}.matrix-headings span{font-size:6px;min-height:29px;line-height:1.5}.sheet[data-theme=matrix] .bottles-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:9px 3px}.sheet[data-theme=matrix] .bottle-control{height:66px}.sheet[data-theme=matrix] .bottle-control svg{height:61px;width:43px}.sheet[data-theme=matrix] .bottle-label{font-size:6px;height:20px;line-height:1.4;font-weight:700;margin:0 0 2px}.sheet[data-theme=matrix] .bottle-label.long{font-size:5px}.sheet.dense .bottles-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:13px 3px}.sheet.dense .bottle-control{height:70px}.sheet.dense .bottle-control svg{height:65px;width:45px}.sheet.dense .bottle-label{font-size:7px;height:22px}.sheet.dense .bottle-label.long{font-size:5px}.sheet[data-theme=matrix].dense .bottle-label{font-size:6px;height:20px}.sheet[data-theme=matrix].dense .bottle-label.long{font-size:5px}#dense-toggle{display:block;font-size:9px}footer{font-size:8px;padding:20px 0 26px;margin-top:22px}footer>span{font-size:13px}dialog{padding:17px}.dialog-heading h2{font-size:17px}.export-preview{padding:6px}.export-tip{font-size:9px}.toast{font-size:10px}.bottle-label:focus{font-size:16px;position:relative;z-index:5;background:var(--paper);min-width:110px;left:50%;transform:translateX(-50%)}.sheet[data-theme=matrix] .bottle-label:focus{width:110px;font-size:16px}.sheet-title:focus{font-size:21px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.gesture-note{background:#172031;border-left:1px solid #303d52;border-right:1px solid #303d52;padding:11px 16px;color:#a7b5ca;font-size:10px;line-height:1.8}.legend-dot.heart{background:none;border:0;border-radius:0;color:#ff4c9b;font-size:23px;line-height:17px}.legend-button{cursor:default}.instructions b{white-space:nowrap}
@media(max-width:640px){.gesture-note{font-size:8px;padding:9px 10px}.instructions{gap:10px;flex-wrap:wrap}.legend-dot.heart{font-size:17px;line-height:11px}}
/* Separate template picker and editor pages. */
.template-card{display:block}.template-arrow{color:var(--pink);font-size:20px}.template-note{font-size:12px;line-height:1.9;color:#9ba9bf;margin:26px 0 44px}.editor-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;padding-top:29px;font-size:12px;color:#aab5c7}.editor-nav a{text-decoration:underline;text-underline-offset:4px}.editor-nav span{font-size:10px;color:#ffabd3}.editor-nav+.editor{margin-top:24px}.shared-note{padding:14px 17px;background:#2f2540;border:1px solid #6c4f7d;font-size:11px;line-height:1.8;display:flex;gap:14px;align-items:center}.shared-note p{margin:0;flex:1}.shared-note button{flex-shrink:0}.link-warning{font-size:12px;line-height:1.9;color:#b1bed0}.share-url-label{font-size:11px;display:block;margin:18px 0 7px}#share-url{width:100%;resize:vertical;background:#101827;border:1px solid #455168;border-radius:5px;color:#dce7f5;font:11px/1.6 monospace;padding:10px;overflow-wrap:anywhere;margin-bottom:14px}#copy-link{width:100%;min-height:43px}.sheet{border-radius:0 0 8px 8px}
@media(max-width:640px){.toolbar-buttons{display:grid;grid-template-columns:1fr 1fr;gap:7px}.toolbar-buttons>*{width:100%;min-height:36px;white-space:nowrap}.toolbar-buttons .quiet-button{font-size:10px}.editor-nav{font-size:10px;padding-top:23px}.editor-nav span{font-size:9px}.editor-nav+.editor{margin-top:23px}.template-note{font-size:10px;margin:23px 0 32px}.shared-note{display:block;font-size:9px;padding:11px}.shared-note button{margin-top:9px}.link-warning{font-size:11px}}

.brand{font-family:inherit;font-size:18px;letter-spacing:.03em}.intro h1{font-size:30px}.intro{padding:34px 0 23px}.editor{margin-bottom:35px}.templates{margin-bottom:40px}@media(max-width:640px){.brand{font-size:17px}.intro{padding:28px 0 18px}.intro h1{font-size:24px}.editor-nav{padding-top:22px}.section-title h2{line-height:1.8}}

#loading{color:var(--muted);font-size:12px;padding:25px 0}

@media(max-width:640px){.toolbar-buttons #empty{grid-column:1/-1}}

/* Fit split labels above the jars without hiding their endings. */
.bottle-label.very-long:not(:focus){font-size:11px}
@media(max-width:1000px){.bottle-label.very-long:not(:focus){font-size:8px}}
@media(max-width:640px){.bottle-label.very-long:not(:focus){font-size:7.5px}.sheet.dense .bottle-label.very-long:not(:focus){font-size:5px}}

@media(max-width:640px){.bottle-label.longest:not(:focus){font-size:6px}.sheet.dense .bottle-label.longest:not(:focus){font-size:4px}}

/* Five-column sheets and explicit audience variants. */
.audience-switch{display:flex;align-items:center;padding:3px;border:1px solid #455168;border-radius:24px;gap:3px;background:#182234}
.audience-switch button{font-size:12px;padding:7px 13px;border-radius:18px;min-height:32px;color:#aab5c7;white-space:nowrap}
.audience-switch button[aria-pressed=true]{background:#ff9dcc;color:#361526;font-weight:700}
#dense-toggle{display:block}
#sheet .bottles-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:22px 14px}
#sheet.dense .bottles-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:18px 9px}
#sheet .bottle-control{height:160px}
#sheet .bottle-control svg{width:107px;height:151px;max-width:100%}
#sheet .bottle-label{resize:none;overflow:hidden;white-space:pre-wrap;overflow-wrap:anywhere;height:45px;font-size:16px;line-height:1.3;padding:3px 0;margin:0 0 3px;border:1px solid transparent;border-radius:3px}
#sheet .bottle-label.long:not(:focus),#sheet .bottle-label.very-long:not(:focus),#sheet .bottle-label.longest:not(:focus){font-size:13px}
.bottle-category{display:block;font-size:10px;line-height:1.4;color:var(--sheet-muted);margin-bottom:5px}.dense .bottle-category{display:none}
@media(max-width:640px){
 .topbar{gap:10px;padding:14px 15px}.brand{font-size:16px}.audience-switch button{font-size:10px;padding:5px 10px;min-height:30px}
 #sheet .bottles-grid{gap:17px 5px}#sheet.dense .bottles-grid{gap:13px 3px}
 #sheet .bottle-control{height:87px}#sheet .bottle-control svg{width:58px;height:84px}
 #sheet .bottle-label{height:36px;font-size:10px;line-height:1.25;padding:2px 0}
 #sheet .bottle-label.long:not(:focus),#sheet .bottle-label.very-long:not(:focus){font-size:9px}
 #sheet .bottle-label.longest:not(:focus){font-size:7.5px}
 #sheet.dense .bottle-control{height:66px}#sheet.dense .bottle-control svg{width:43px;height:62px}
 #sheet.dense .bottle-label,#sheet.dense .bottle-label.long:not(:focus),#sheet.dense .bottle-label.very-long:not(:focus),#sheet.dense .bottle-label.longest:not(:focus){font-size:5.5px;height:28px}
 #sheet .bottle-label:focus{font-size:16px;width:140px;height:66px;min-width:140px;background:var(--paper);border-color:var(--selection)}
 .bottle-category{font-size:7px}
}

#sheet .bottle-label{font-family:inherit}
