:root{--paper:#f7f8f4;--white:#fff;--ink:#223c32;--muted:#738078;--line:#e3e7df;--green:#26483e;--green-hover:#1a382e;--green-soft:#edf2ea;--gold:#aa8a4c;--gold-soft:#f4efdf;--danger:#9d3f37;--shadow:0 12px 35px #26392f0b;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.45}a{color:inherit}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b7a56a;outline-offset:3px}button,select{touch-action:manipulation}[hidden]{display:none!important}.svg-sprite{position:absolute;width:0;height:0;overflow:hidden}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);border:0}.skip{position:fixed;top:-100px;left:20px;padding:15px;background:white;z-index:20}.skip:focus{top:15px}.app-shell{display:flex;min-height:100vh}.sidebar{width:236px;flex:0 0 236px;background:#fcfcf8;border-right:1px solid var(--line);padding:38px 22px 24px;position:fixed;inset:0 auto 0 0;z-index:4;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-size:27px;font-weight:650;letter-spacing:-1.3px}.brand-dot{color:var(--gold)}.sidebar-label{font-size:9px;letter-spacing:1.9px;color:var(--muted);margin:15px 0 43px 4px;font-weight:650}.sidebar nav{display:flex;flex-direction:column;gap:8px}.nav-item{border:0;background:transparent;display:flex;align-items:center;gap:11px;border-radius:9px;text-align:left;padding:14px 13px;font-size:13px;font-weight:550;color:#728078;min-height:49px;white-space:nowrap}.nav-item.active{background:#eaf0e7;color:var(--ink)}.nav-item:hover{background:#f0f3ec}.nav-item.active:before{content:'';width:3px;height:18px;background:var(--green);position:absolute;left:22px;border-radius:0 4px 4px 0}.nav-count{margin-left:auto;min-width:22px;padding:3px 5px;border-radius:4px;font-size:10px;background:#dce6d8;color:var(--green);text-align:center}.nav-item:not(.active) .nav-count{background:#f0f2eb;color:var(--muted)}.sidebar-bottom{margin-top:auto}.local-note{display:flex;gap:10px;padding:18px 6px 22px;color:#748275}.local-note>.icon{color:#9aa88d;margin-top:1px}.local-note strong{font-size:12px;font-weight:600;color:#5c6b60}.local-note p{font-size:11px;line-height:1.7;margin:7px 0 0}.text-button{border:0;background:transparent;color:var(--muted);display:inline-flex;gap:7px;align-items:center;padding:6px 0;font-size:12px}.text-button:hover{color:var(--green)}.about-button{border-top:1px solid var(--line);padding:20px 6px 0;width:100%}.about-button .icon{width:15px;height:15px}.workspace{margin-left:236px;flex:1;min-width:0}.topbar{height:95px;border-bottom:1px solid var(--line);padding:0 45px;display:flex;justify-content:space-between;align-items:center;background:#fcfcf9}.eyebrow{display:flex;align-items:center;gap:9px;font-size:10px;letter-spacing:1.8px;font-weight:600;color:#7b887b}.status-dot{width:6px;height:6px;border-radius:50%;background:#8e9e78}.topbar-actions{display:flex;gap:10px}.button{min-height:42px;border:1px solid transparent;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 16px;font-size:12px;font-weight:600;line-height:1.2;text-decoration:none}.button .icon{width:16px;height:16px}.primary{color:#fff;background:var(--green);border-color:var(--green)}.primary:hover{background:var(--green-hover)}.secondary{background:#fff;border-color:#dce2d9;color:#4d6053}.secondary:hover{background:#f0f4ed;border-color:#c2cec0}.danger{background:#fff6f4;color:var(--danger);border-color:#e5c7c1}.button.wide{width:100%}main{max-width:1510px;margin:0 auto;padding:42px 45px 22px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.section-kicker{font-size:9px;font-weight:650;letter-spacing:2px;color:var(--gold);margin-bottom:10px}h1{font-family:Georgia,"Times New Roman",serif;font-size:40px;line-height:1.2;font-weight:400;letter-spacing:-1.1px;margin:0}.title-dot{color:var(--gold)}.page-heading p{margin:12px 0 0;font-size:13px;color:var(--muted);line-height:1.6}.demo-pill{border:1px solid #e6e5d9;background:#f9f8ee;display:flex;gap:7px;align-items:center;border-radius:25px;padding:8px 11px;color:#8d7b4a;white-space:nowrap;font-size:10px}.demo-pill .icon{width:13px;height:13px}.pill-dot{height:5px;width:5px;background:#bba05e;border-radius:50%}.stats{display:grid;grid-template-columns:1.15fr 1fr 1fr;margin:30px 0 31px;border:1px solid var(--line);border-radius:11px;background:#fcfcf9;padding:20px 0}.stat{display:flex;gap:13px;align-items:center;padding:3px 26px;position:relative;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat-symbol{width:42px;height:42px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#eef1e7;color:#8b9b79;flex-shrink:0}.stat-symbol .icon{width:21px;height:21px}.stat-label{font-size:10px;color:var(--muted);font-weight:500}.stat-value{font-size:25px;font-weight:600;letter-spacing:-1px;line-height:1.2;margin-top:5px}.stat-small{font-size:12px;color:#9ba49a;letter-spacing:0;font-weight:400;margin-left:6px}.stat-progress{width:45px;height:4px;background:#e2e8dd;border-radius:6px;margin-left:auto;overflow:hidden}.stat-progress div{height:100%;background:#819473;border-radius:6px}.toolbar{display:flex;align-items:stretch;gap:12px}.search-box{display:flex;align-items:center;gap:12px;border:1px solid #dce2d9;background:white;min-height:48px;border-radius:8px;padding:0 15px;flex:1;min-width:0}.search-box>.icon{color:#839182;width:18px}.search-box input{border:0;outline:0!important;min-width:0;width:100%;height:46px;background:transparent;color:var(--ink);font-size:12px}.search-box:focus-within{border-color:#7c947d;box-shadow:0 0 0 2px #b5c5aa33}.search-box input::placeholder{color:#8c968d}.search-shortcut{border:1px solid var(--line);font-size:11px;border-radius:3px;padding:0 6px;color:#a0a89d}.filter-selects{display:flex;gap:10px}.filter-selects label{display:flex}select{appearance:none;border:1px solid #dce2d9;color:#647262;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23808d7f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;padding:10px 34px 10px 14px;border-radius:7px;font-size:11px;cursor:pointer;min-height:42px;max-width:100%}.filter-selects select{min-height:48px}.sub-toolbar{display:flex;justify-content:space-between;gap:14px;align-items:center;margin:18px 0 23px;padding-bottom:20px;border-bottom:1px solid var(--line)}.filter-tabs{display:flex;background:#eceedf66;padding:3px;border-radius:6px;gap:2px}.filter-tabs button{font-size:11px;padding:8px 14px;border:0;background:none;border-radius:5px;color:#7b8575;min-height:33px}.filter-tabs button.selected{background:var(--green);color:white;box-shadow:0 2px 3px #1d30211a}.type-filter select{background-color:transparent;border:0;min-height:30px;padding-top:4px;padding-bottom:4px}.result-bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px;min-height:29px}.result-bar p{font-size:11px;color:#8b9587;margin:0}.result-bar strong{color:#5b6e5a;font-weight:600}.sort-control{display:flex;align-items:center;color:#a0a99a;gap:4px;font-size:10px}.sort-control select{border:0;background-color:transparent;min-height:28px;padding:4px 26px 4px 5px;font-size:10px;background-position:right 5px center;color:#61715e}.coin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.coin-card{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;transition:box-shadow .2s,border-color .2s,transform .2s;display:flex;flex-direction:column;position:relative}.coin-card:hover{border-color:#c6d0bf;box-shadow:var(--shadow);transform:translateY(-2px)}.coin-card.is-owned{border-color:#bdcdb6}.card-image-button{display:block;width:100%;height:196px;border:0;position:relative;background:linear-gradient(140deg,#f9faf6,#f1f3ea);padding:35px 28px 14px;cursor:pointer}.card-image-button img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 5px 4px #37482e16);transition:transform .25s}.card-image-button:hover img{transform:scale(1.035)}.coin-year{position:absolute;top:13px;right:13px;border:1px solid #e0e4d7;background:#ffffffaa;color:#727f69;font-size:10px;padding:4px 7px;border-radius:5px;font-weight:550}.coin-type{position:absolute;left:13px;top:16px;color:#8c977e;font-size:8px;letter-spacing:.6px;text-transform:uppercase;font-weight:600}.card-content{padding:15px 15px 13px;display:flex;flex-direction:column;flex:1}.coin-country{display:flex;align-items:center;gap:6px;font-size:10px;color:#86907f;margin-bottom:7px}.country-flag{font-size:13px}.card-title{border:0;background:transparent;text-align:left;padding:0;font-size:13px;font-weight:600;letter-spacing:-.2px;line-height:1.5;min-height:39px;color:#30432d;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.card-subtitle{font-size:9px;color:#a3aa9a;margin:5px 0 14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-actions{margin-top:auto}.add-button{border:1px solid #dce4d5;background:#fff;color:#648057;width:100%;min-height:35px;display:flex;align-items:center;justify-content:center;gap:6px;border-radius:6px;font-size:10px;font-weight:550}.add-button:hover{background:#edf3e7;border-color:#b5c5aa}.add-button .icon{width:13px;height:13px}.quantity-control{display:flex;border:1px solid #c4d2bc;border-radius:6px;background:#edf3e7;align-items:center;justify-content:space-between;min-height:35px;overflow:hidden}.quantity-control button{width:33px;height:33px;border:0;display:flex;align-items:center;justify-content:center;background:transparent;color:#5b7951}.quantity-control button:hover{background:#dde9d3}.quantity-control .icon{width:13px;height:13px}.quantity-label{font-size:10px;color:#5d7752;display:flex;align-items:center;gap:5px}.friend-owned{display:flex;justify-content:center;align-items:center;gap:6px;min-height:35px;background:#f1eee3;color:#8b7846;border-radius:6px;font-size:10px}.load-more-row{text-align:center;margin-top:24px}.page-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:19px;margin-top:35px;font-size:10px;color:#97a08e;line-height:1.5}.page-footer .text-button{font-size:10px}.page-footer .icon{width:13px}.empty-state{padding:65px 25px;text-align:center;border:1px dashed #cbd6c5;border-radius:12px;background:#fbfcf8}.empty-state>.icon{width:38px;height:38px;color:#91a385;margin-bottom:10px}.empty-state h2{font-family:Georgia,serif;font-weight:400;font-size:26px;margin:5px 0 10px}.empty-state p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 auto 20px;max-width:400px}.warning{border:1px solid #dfbb79;background:#fff6e7;color:#835d21;padding:13px 16px;border-radius:8px;margin-bottom:22px;font-size:12px;line-height:1.6}.collection-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.collection-tile{background:white;border:1px solid var(--line);padding:23px;border-radius:11px;display:flex;flex-direction:column;align-items:flex-start;gap:13px;text-align:left;min-height:185px}.collection-tile>.icon{width:30px;height:30px;color:#b2995f}.collection-tile strong{font-family:Georgia,serif;font-size:23px;font-weight:400;overflow-wrap:anywhere}.collection-tile p{margin:0;font-size:12px;color:var(--muted)}.collection-tile span{font-size:10px;color:#a3ab99}.collection-tile:hover{border-color:#becdb4;box-shadow:var(--shadow)}.shared-intro{border-radius:10px;background:#eef2e8;padding:18px 22px;display:flex;gap:15px;align-items:center;margin-bottom:22px}.shared-intro>.icon{width:26px;height:26px;color:#8ca27c}.shared-intro p{font-size:12px;line-height:1.7;margin:0;color:#73836c}.imported-header{display:flex;justify-content:space-between;align-items:center;background:#f1eddf;padding:12px 17px;border-radius:8px;margin-bottom:20px;gap:15px;font-size:11px;color:#8a794a}.imported-header .text-button{color:#8a794a;font-size:11px}dialog{border:1px solid #e3e7dd;background:#fcfdf9;border-radius:17px;padding:0;max-width:min(650px,calc(100vw - 30px));width:100%;max-height:calc(100dvh - 40px);color:var(--ink);box-shadow:0 30px 110px #172b3040}dialog::backdrop{background:#152b2766;backdrop-filter:blur(4px)}.modal-header{display:flex;gap:15px;align-items:flex-start;justify-content:space-between;padding:26px 28px 0}.modal-header h2{font-family:Georgia,serif;font-weight:400;font-size:28px;line-height:1.2;margin:0}.modal-header p{font-size:12px;color:var(--muted);margin:9px 0 0;line-height:1.6}.close-modal{border:1px solid var(--line);background:#fff;border-radius:50%;height:32px;width:32px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.close-modal .icon{width:16px;height:16px}.modal-content{padding:24px 28px 28px}.modal-coin{display:grid;grid-template-columns:180px 1fr;gap:25px;align-items:center}.detail-image{background:#f1f4ea;border-radius:12px;padding:13px;width:180px;height:180px;object-fit:contain;mix-blend-mode:multiply}.detail-meta{font-size:11px;color:var(--muted);line-height:1.8}.detail-meta strong{color:var(--ink);font-weight:500}.detail-tags{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:8px}.small-tag{font-size:10px;background:#eff2e8;border:1px solid #e0e6d7;border-radius:5px;padding:5px 7px;color:#718264}.detail-description{font-size:12px;line-height:1.7;color:#6c7b64;margin:20px 0 10px}.source-link{font-size:10px;color:#8b967c;text-decoration:underline;text-underline-offset:3px}.detail-credit{font-size:9px;color:#a4ab99;line-height:1.6;margin-bottom:22px}.entry-form{padding-top:18px;border-top:1px solid var(--line)}.form-row{display:grid;grid-template-columns:1fr 1.3fr;gap:16px}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:18px;font-size:12px;font-weight:500}.field small{font-weight:400;color:var(--muted);font-size:10px}.field input,.field textarea{border:1px solid #d8e1d2;background:#fff;padding:11px 12px;border-radius:7px;width:100%;color:var(--ink);font-size:13px}.field input{height:44px}.field textarea{resize:vertical;min-height:70px}.field input::placeholder,.field textarea::placeholder{color:#a1aa97}.modal-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:10px;flex-wrap:wrap}.modal-actions .left{margin-right:auto}.form-error{color:var(--danger);background:#fff0ec;border-radius:6px;padding:11px;font-size:12px;line-height:1.6;margin-bottom:15px}.callout{background:#eef3e9;border:1px solid #dce6d4;border-radius:9px;padding:16px;font-size:12px;color:#697e5a;line-height:1.7;margin:18px 0}.callout.gold{background:#f7f1df;border-color:#e8ddbc;color:#8c7949}.modal-summary{display:flex;gap:20px;padding:15px 0;margin-bottom:12px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.modal-summary div{font-size:11px;color:var(--muted)}.modal-summary strong{display:block;font-size:25px;color:var(--ink);font-weight:550;margin-bottom:5px}.choice{display:flex;align-items:flex-start;gap:10px;padding:15px;border:1px solid var(--line);border-radius:8px;margin:10px 0;cursor:pointer}.choice:has(input:checked){border-color:#91a780;background:#f0f5ea}.choice input{accent-color:var(--green);margin-top:3px}.choice strong{display:block;font-size:12px;font-weight:550}.choice p{font-size:11px;color:var(--muted);line-height:1.6;margin:6px 0 0}.about-prose{font-size:12px;line-height:1.8;color:#728168}.about-prose strong{color:var(--ink);font-weight:550}.about-prose p{margin:0 0 16px}.about-prose a{color:var(--green)}.about-prose ul{padding-left:20px}.toast{position:fixed;bottom:26px;left:calc(50% + 118px);transform:translateX(-50%);display:flex;align-items:center;gap:18px;border:1px solid #476052;background:#26483e;color:#fff;padding:13px 18px;border-radius:9px;box-shadow:0 8px 25px #122e2733;z-index:20;max-width:calc(100vw - 30px);font-size:12px;line-height:1.5}.toast button{border:0;background:transparent;color:#e0c78a;font-weight:600;padding:5px;white-space:nowrap}.toast .icon{width:16px;height:16px}.rename-button{border:0;background:none;color:#7c8c70;padding:6px;margin-left:5px}.rename-button .icon{width:17px;height:17px}.example-button{border:1px dashed #c5d2b8;background:#f8faf4;color:#7b8c69}.readonly-note{font-size:12px;color:var(--muted);line-height:1.7;margin:15px 0}.error-panel{padding:35px;border:1px solid #d5b3a5;border-radius:10px;color:#885341;background:#fff4ef;font-size:13px;line-height:1.7}
@media(min-width:1550px){.coin-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.card-image-button{height:210px}}
@media(max-width:1230px){.sidebar{width:212px;flex-basis:212px;padding-left:17px;padding-right:17px}.workspace{margin-left:212px}.topbar{padding:0 30px}main{padding:35px 30px 22px}.coin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.stat{padding:3px 18px;gap:10px}.stat-progress{display:none}.demo-pill{font-size:9px}.toast{left:calc(50% + 106px)}}
@media(max-width:940px){.sidebar{width:185px;flex-basis:185px;padding:30px 12px}.brand{font-size:24px;gap:7px}.brand img{width:33px;height:33px}.sidebar-label{font-size:8px;letter-spacing:1px}.nav-item{font-size:11px;gap:9px;padding-left:10px;padding-right:10px}.nav-item.active:before{left:12px}.workspace{margin-left:185px}main{padding:30px 24px 20px}.topbar{padding:0 24px;height:83px}.eyebrow{font-size:8px;letter-spacing:1.1px}.button{padding:10px 12px;font-size:11px}.page-heading{align-items:flex-start;flex-direction:column;gap:15px}h1{font-size:37px}.stats{margin:24px 0;padding:17px 0}.stat{gap:10px;padding:2px 16px}.stat-symbol{display:none}.stat-label{font-size:9px}.stat-value{font-size:24px}.toolbar{flex-direction:column}.filter-selects label{flex:1}.filter-selects select{width:100%;min-height:41px}.card-image-button{height:165px;padding-left:18px;padding-right:18px}.card-content{padding:12px}.coin-grid{gap:13px}.coin-type{font-size:7px;left:10px}.coin-year{right:10px}.card-title{font-size:12px}.add-button{font-size:9px}.collection-list{grid-template-columns:repeat(2,minmax(0,1fr))}.toast{left:calc(50% + 92px)}}
@media(max-width:700px){.app-shell{display:block}.sidebar{position:relative;inset:auto;width:100%;padding:19px 20px 0;border-right:0;border-bottom:1px solid var(--line);background:#fcfcf8}.brand{font-size:26px}.brand img{width:34px;height:34px}.sidebar-label,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:0;margin-top:17px;justify-content:space-between}.nav-item{flex:1;justify-content:center;border-radius:0;padding:14px 5px;font-size:11px;gap:7px;min-height:49px;background:transparent!important;border-bottom:2px solid transparent}.nav-item>.icon{width:16px;height:16px}.nav-item.active{border-bottom-color:var(--green)}.nav-item.active:before{display:none}.nav-count{margin-left:2px;font-size:9px;min-width:18px}.nav-item[data-view=shared] .nav-count{display:none}.workspace{margin-left:0}.topbar{position:absolute;top:17px;right:20px;padding:0;height:auto;border:0;background:transparent}.topbar .eyebrow{display:none}.topbar-actions{gap:7px}.topbar .button{min-height:37px;padding:9px 11px;font-size:10px}.topbar .button .icon{width:14px;height:14px}.topbar .primary span{font-size:0}.topbar .primary span:after{content:'Share';font-size:10px}main{padding:27px 20px 22px}.page-heading{gap:14px}.section-kicker{font-size:8px;letter-spacing:1.6px;margin-bottom:9px}h1{font-size:34px}.page-heading p{font-size:12px;margin-top:9px}.demo-pill{font-size:9px;padding:6px 10px}.stats{margin:23px 0;padding:16px 0;grid-template-columns:1fr 1fr 1fr}.stat{padding:0 13px;gap:0}.stat-label{font-size:8px;white-space:nowrap}.stat-value{font-size:23px;margin-top:7px}.stat-small{font-size:9px;margin-left:4px}.toolbar{gap:9px}.search-box{min-height:46px;padding:0 12px}.search-box input{font-size:12px;height:44px}.search-shortcut{display:none}.filter-selects{gap:9px}.filter-selects select{font-size:11px}.sub-toolbar{margin:15px 0;padding-bottom:15px;gap:5px}.filter-tabs button{padding:8px 11px;font-size:10px}.type-filter select{font-size:10px;padding-left:5px;padding-right:23px;background-position:right 3px center}.result-bar{margin-bottom:13px}.result-bar p{font-size:10px}.coin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.card-image-button{height:172px;padding:38px 19px 13px}.coin-type{top:16px;font-size:7px;letter-spacing:.35px}.coin-year{font-size:9px;top:12px;padding:4px 6px}.card-content{padding:12px}.coin-country{font-size:9px}.card-title{font-size:12px;min-height:36px}.card-subtitle{font-size:8px;margin-bottom:12px}.add-button{font-size:10px;min-height:38px}.quantity-control{min-height:38px}.quantity-control button{height:36px;width:31px}.quantity-label{font-size:9px}.page-footer{gap:14px;align-items:flex-start;font-size:9px;line-height:1.7;margin-top:25px}.page-footer>span{max-width:190px}.page-footer .text-button{font-size:9px;white-space:nowrap}.toast{left:50%;bottom:17px;width:max-content;gap:12px;padding:11px 14px;font-size:11px}.collection-list{grid-template-columns:1fr}.collection-tile{min-height:150px;padding:20px}.shared-intro{padding:16px}.shared-intro p{font-size:11px}.modal-header{padding:22px 20px 0}.modal-header h2{font-size:25px}.modal-content{padding:20px}.modal-coin{grid-template-columns:125px 1fr;gap:15px}.detail-image{width:125px;height:125px;padding:7px}.detail-meta{font-size:10px}.small-tag{font-size:9px}.modal-actions .button{min-height:44px}.form-row{gap:10px;grid-template-columns:1fr 1.3fr}.field{font-size:11px}.field input,.field textarea{font-size:16px}.imported-header{align-items:flex-start;font-size:10px}.empty-state{padding:42px 20px}.empty-state h2{font-size:25px}.empty-state p{font-size:12px}.about-prose{font-size:12px}}
@media(max-width:375px){.sidebar{padding-left:14px;padding-right:14px}.topbar{right:14px}.brand{font-size:23px}.topbar .button{padding:9px}.brand img{width:30px;height:30px}main{padding:25px 14px 18px}.nav-item{font-size:10px;gap:5px}.nav-count{display:none}.card-image-button{height:151px;padding:33px 13px 10px}.stat{padding:0 9px}.filter-tabs button{padding:8px}.type-filter select{font-size:9px}.card-content{padding:10px}.coin-type{font-size:6.5px}.quantity-label{font-size:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}

.language-control{display:flex;align-items:center}.language-control select{min-height:42px;width:64px;padding-left:10px;padding-right:23px;background-position:right 7px center;font-size:11px;font-weight:600}
@media(max-width:700px){.topbar-actions{gap:6px}.language-control select{min-height:37px;width:52px;padding:8px 18px 8px 6px;background-position:right 4px center;font-size:10px}.topbar [data-action="import"]{gap:0}.topbar [data-action="import"] span{display:none}html[lang="de"] .topbar .primary span:after{content:"Teilen"}.nav-item{min-width:0;font-size:10px;white-space:normal}.nav-item span:not(.nav-count){line-height:1.35}.nav-count{display:none}.stat-label{white-space:normal;line-height:1.4;display:block;min-height:22px}.coin-type{font-size:7px}.page-heading{width:100%}h1{overflow-wrap:anywhere}}

/* Keep all actions in document flow below the mobile navigation. */
.language-control{gap:8px}.language-label{font-size:11px;color:var(--muted)}.language-control select{width:100px}.share-label-short{display:none}
@media(min-width:701px) and (max-width:1100px){.topbar .eyebrow{display:none}.topbar{justify-content:flex-end}}
@media(max-width:700px){.topbar{position:relative;top:auto;right:auto;z-index:5;padding:12px 20px;min-height:61px;border-bottom:1px solid var(--line);background:#fcfcf9}.topbar-actions{width:100%;gap:8px}.language-control{margin-right:auto;gap:6px}.language-label{font-size:10px}.language-control select{width:90px;min-height:37px;padding-left:8px}.topbar .button{padding:9px}.topbar .primary{gap:6px}.topbar .primary span:after{content:none!important}.topbar .primary .share-label-full{display:none}.topbar .primary .share-label-short{display:inline;font-size:11px}}

/* The full dialect name should remain readable in the language control. */
.language-control select{width:150px}
@media(max-width:700px){.topbar-actions{flex-wrap:wrap}.language-control select{width:138px}}
@media(max-width:375px){.language-control{flex-basis:100%;margin-bottom:3px}.topbar-actions>.button{margin-left:0}.topbar-actions>[data-action="import"]{margin-left:auto}}

/* Tutorial: real controls are spotlighted; exercises live in an isolated dialog. */
.topbar{height:auto;min-height:95px;padding-top:14px;padding-bottom:14px;gap:16px}
.topbar-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center}
.tutorial-launch{white-space:nowrap}
#tutorial-dialog{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;overflow:hidden}
#tutorial-dialog::backdrop{background:transparent;backdrop-filter:none}
.tutorial-mask{position:absolute;background:rgba(13,32,25,.56);pointer-events:none}
.tutorial-spotlight{position:absolute;border:2px solid #e3c676;border-radius:10px;box-shadow:0 0 0 3px #e3c67655;pointer-events:none}
.tutorial-panel{position:absolute;display:flex;flex-direction:column;overflow:hidden;max-width:calc(100vw - 24px);background:#fcfdf9;border:1px solid #d8dfd1;border-radius:15px;box-shadow:0 18px 60px #10231a55;color:var(--ink)}
.tutorial-header{padding:17px 22px 0;flex-shrink:0}
.tutorial-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;font-weight:650;color:#6b795e}
.tutorial-topline .close-modal{width:40px;height:40px}
.tutorial-progress-track{height:3px;background:#e6eadf;border-radius:4px;margin:8px 0 16px;overflow:hidden}
#tutorial-bar{height:100%;background:var(--gold)}
.tutorial-header h2{font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:400;line-height:1.15;margin:0}
.tutorial-header h2:focus{outline:none}
#tutorial-location{font-size:11px;line-height:1.5;color:#68765f;margin:9px 0 4px}
.tutorial-body{padding:0 22px 12px;overflow:auto;min-height:0;overscroll-behavior:contain}
.tutorial-copy{font-size:13px;line-height:1.65;color:#53644f;margin:13px 0 16px}
.tutorial-note{font-size:11px;line-height:1.6;color:#67765e;margin:12px 0}
.tutorial-body .field{margin-bottom:8px;font-size:11px}
.tutorial-body input:not([type=radio]),.tutorial-body textarea{font-size:16px}
.tutorial-results{display:grid;gap:6px}
.tutorial-result{display:flex;align-items:center;gap:12px;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:9px;width:100%;min-height:58px}
.tutorial-result:hover{background:#eff4e9;border-color:#a2b394}
.tutorial-result img{object-fit:contain;mix-blend-mode:multiply}
.tutorial-result>span{flex:1;min-width:0}
.tutorial-result strong{display:block;font-size:12px;font-weight:600;line-height:1.3}
.tutorial-result small{display:block;margin-top:4px;font-size:10px;color:#6e7d64}
.tutorial-result>.icon{width:15px}
.tutorial-coin{display:flex;gap:16px;align-items:center;background:#eff3e8;border-radius:9px;padding:13px;margin-bottom:12px}
.tutorial-coin img{object-fit:contain;mix-blend-mode:multiply}
.tutorial-coin strong{display:block;font-size:13px;line-height:1.4}
.tutorial-coin span{display:block;font-size:11px;margin-top:5px;color:#68755e}
.tutorial-quantity{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}
.tutorial-quantity .button{min-width:44px;min-height:44px;padding:10px}
.tutorial-quantity output{font-size:12px;line-height:1.5;text-align:center;font-weight:600;min-width:115px}
.tutorial-details{font-size:12px;border-top:1px solid var(--line);padding-top:12px}
.tutorial-details summary{cursor:pointer;min-height:36px;line-height:1.6;color:#52694a}
.tutorial-details .field{margin-top:8px}
.tutorial-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#f0f3e9;border:1px solid #dce4d3;border-radius:9px;padding:14px 8px;gap:8px;text-align:center}
.tutorial-stats strong{display:block;font-size:25px;font-weight:550;margin-bottom:7px}
.tutorial-stats span{display:block;font-size:10px;line-height:1.5;color:#5d6f54}
.tutorial-filename{font-size:11px;font-weight:600;overflow-wrap:anywhere;margin-bottom:8px}
#tutorial-file pre{max-height:170px;overflow:auto;font-size:11px;line-height:1.6;border:1px solid var(--line);background:#eff2e9;padding:12px;border-radius:8px;margin:0}
.tutorial-example,.tutorial-feedback{font-size:12px;line-height:1.65;padding:12px 14px;background:#f3eddd;border:1px solid #e6d9b9;border-radius:8px;margin:14px 0}
.tutorial-feedback{background:#edf4e7;border-color:#d4e3c7;color:#405b35}
.tutorial-import{padding:0;margin:10px 0;border:0}
.tutorial-import .choice{align-items:center;min-height:48px;margin:6px 0}
.tutorial-import .choice input{margin:0}
.tutorial-finish-icon{display:flex;align-items:center;justify-content:center;margin:16px auto 4px;background:#e9efdf;color:#829765;border-radius:50%;width:54px;height:54px}
.tutorial-finish-icon .icon{width:29px;height:29px}
.tutorial-footer{padding:12px 22px 18px;border-top:1px solid var(--line);background:#f6f8f1;flex-shrink:0}
#tutorial-safety{font-size:10px;line-height:1.5;color:#5c6e52;margin:0 0 12px}
.tutorial-actions{display:flex;justify-content:space-between;gap:12px}
.tutorial-actions .button{min-height:44px}
@media(max-width:1200px){.topbar .eyebrow{display:none}.topbar{justify-content:flex-end}}
@media(max-width:700px){.topbar{min-height:61px;padding:12px 20px}.topbar-actions{gap:8px}.language-control{order:0;flex:1 1 calc(100% - 110px);margin:0}.tutorial-launch{order:1}.topbar-actions>[data-action="import"]{order:2;margin-left:auto}.topbar-actions>[data-action="export"]{order:3}.topbar .tutorial-launch{min-height:40px}.topbar [data-action="import"]{gap:6px}.topbar [data-action="import"] span{display:inline}.tutorial-header{padding:12px 18px 0}.tutorial-header h2{font-size:26px}.tutorial-body{padding:0 18px 10px}.tutorial-footer{padding:10px 18px 14px}}
@media(max-height:500px){.tutorial-header h2{font-size:22px}.tutorial-header{padding-top:8px}.tutorial-progress-track{margin:4px 0 8px}#tutorial-location{margin:5px 0}.tutorial-footer{padding-top:8px;padding-bottom:10px}#tutorial-safety{margin-bottom:6px}}
@media(max-width:375px){.topbar .language-label{display:none}.topbar .language-control{min-width:0}}

/* Camera picker, local crop and unconfirmed visual suggestions. */
.scan-launch{white-space:nowrap;background:#eef3e8;border-color:#ccdac0;color:#3b5834}
#scanner-dialog{width:580px}
#scanner-title:focus{outline:none}
.scanner-kicker{font-size:10px;letter-spacing:.8px;color:#8c7347;margin:0 0 10px;text-transform:uppercase}
.scanner-body{padding:16px 28px 22px}
.scanner-copy{font-size:13px;line-height:1.7;color:#53644f;margin:0 0 16px}
.scanner-note{font-size:11px;line-height:1.65;color:#66775c;margin:12px 0}
.scanner-callout{background:#f4efdf;border:1px solid #e3d8b9;padding:14px;border-radius:8px;font-size:12px;color:#715e36;line-height:1.7;margin:16px 0}
.scanner-intro-icon{display:flex;align-items:center;justify-content:center;width:64px;height:64px;background:#edf2e4;border-radius:50%;margin:2px auto 20px;color:#728c5c}
.scanner-intro-icon .icon{width:30px;height:30px}
.scanner-photo-actions,.scanner-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}
.scanner-photo-actions .button{flex:1}
.scanner-actions{justify-content:flex-end}
.scanner-body .button{min-height:44px}
.scanner-footer{display:flex;gap:10px;padding:14px 28px;border-top:1px solid var(--line);background:#f0f4e9;color:#5b7150}
.scanner-footer .icon{width:18px;height:18px;margin-top:3px}
.scanner-footer p{font-size:10px;line-height:1.65;margin:0}
#scanner-crop{display:block;width:100%;max-width:360px;height:auto;aspect-ratio:1;margin:0 auto;border-radius:10px;touch-action:none;cursor:grab;background:#e8edde}
#scanner-crop:active{cursor:grabbing}
.scanner-zoom{display:flex;align-items:center;gap:12px;margin:15px 0;font-size:12px;min-height:36px}
.scanner-zoom input{min-width:0;flex:1;accent-color:var(--green);height:32px}
.scanner-zoom output{min-width:35px}
.scanner-preview{display:block;width:110px;height:110px;border-radius:9px;object-fit:cover;margin:0 auto 16px}
#scanner-progress-bar{width:100%;height:9px;accent-color:var(--green)}
.scanner-source{display:flex;align-items:center;justify-content:center;gap:14px;font-size:11px;color:#66745d;margin-bottom:20px}
.scanner-source .scanner-preview{width:70px;height:70px;margin:0}
.scanner-results{display:grid;gap:12px}
.scanner-result{display:flex;gap:18px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;align-items:center}
.scanner-result>img,.scanner-selected>img{object-fit:contain;mix-blend-mode:multiply;flex-shrink:0}
.scanner-result>div{min-width:0}
.scanner-result h3{font-size:14px;font-weight:600;line-height:1.5;margin:0 0 5px}
.scanner-result p{font-size:11px;line-height:1.5;color:#6b7a60;margin:5px 0}
.scanner-result .button{font-size:11px;margin-top:6px}
.scanner-selected{display:flex;align-items:center;gap:20px;background:#f0f3e8;padding:16px;border-radius:9px;margin-bottom:18px}
.scanner-selected strong{font-size:14px;line-height:1.5}
.scanner-selected p{font-size:11px;color:#66795b}
#scanner-year{font-size:16px;min-height:46px}
@media(max-width:1400px){.topbar .eyebrow{display:none}.topbar{justify-content:flex-end}}
@media(max-width:700px){.scan-launch{order:2}.topbar-actions>[data-action="import"]{order:3}.topbar-actions>[data-action="export"]{order:4}.scanner-body{padding:16px 20px 20px}.scanner-footer{padding:12px 20px}.scanner-result{padding:12px;gap:12px}.scanner-result>img{width:70px;height:70px}.scanner-actions .button{flex:1}.scanner-photo-actions{flex-wrap:wrap}.scanner-selected>img{width:90px;height:90px}.scanner-selected{padding:12px;gap:12px}}
