main{padding-top:22px}.header{padding-top:15px;padding-bottom:15px}.brand{font-size:27px}.brand small{font-size:10px}.nav-item{min-height:49px;font-size:14px}.page-heading{margin-bottom:18px}.page-heading h1{font-size:29px}.footer{margin-top:28px}.field{margin-bottom:16px}.machine-search-field{position:relative}.machine-suggestions{position:absolute;z-index:15;top:100%;left:0;right:0;max-height:260px;overflow:auto;border:1px solid #d9dfeb;border-radius:0 0 12px 12px;background:#fff;box-shadow:0 12px 25px #1d28471a}.machine-suggestions>button{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:48px;padding:12px 15px;border-bottom:1px solid #edf0f5;text-align:left}.machine-suggestions strong{font-size:14px}.machine-suggestions span{font-size:11px;color:#758095;white-space:nowrap}.machine-suggestions button:hover,.machine-suggestions button.active{background:#eff5ff}.machine-suggestions p{font-size:13px;padding:12px;margin:0}.estimate-studio{max-width:840px;margin:auto}.studio-title{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:15px}.studio-title .section-label{font-size:11px;margin-bottom:4px}.studio-title h1{font-size:26px;margin:0}.studio-title .text-button{font-size:12px}.studio-model-bar{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:white;border:1px solid #e0e4ed;border-radius:12px;margin-bottom:10px;gap:14px}.studio-model-bar strong{display:block;font-size:15px}.studio-model-bar span{font-size:11px;color:#72809a}.studio-model-bar .text-button{font-size:12px;white-space:nowrap}.studio-tabs{display:flex;gap:5px;padding:5px;background:#e7eaf1;border-radius:12px;margin-bottom:14px}.studio-tabs button{flex:1;font-size:13px;font-weight:700;min-height:41px;border-radius:8px;padding:7px 10px;white-space:nowrap}.studio-tabs button.active{background:white;color:#ce1c30;box-shadow:0 2px 6px #22325310}.studio-screen{background:#fff;padding:24px;border:1px solid #e0e4ed;border-radius:16px;min-width:0}.studio-screen h2{font-size:20px}.studio-screen .small-note{font-size:12px;line-height:1.8}.studio-count-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.studio-section-heading{display:flex;justify-content:space-between;align-items:center;gap:14px}.studio-section-heading .text-button{font-size:12px}.studio-measured{font-weight:700;color:#135eb5;padding:8px 12px;background:#eff5ff;border-radius:8px;font-size:13px;margin:10px 0 18px}.studio-measured:empty{display:none}.studio-hint{font-size:12px;line-height:1.9;color:#73634a;background:#fff8e9;padding:11px 14px;border-radius:9px;margin:14px 0}.studio-action{display:flex;justify-content:space-between;align-items:center;gap:15px;position:sticky;bottom:12px;z-index:7;margin-top:12px;padding:13px 16px;border:1px solid #dce1eb;border-radius:13px;background:#ffffffef;backdrop-filter:blur(6px);box-shadow:0 6px 20px #202c4310}.studio-action p{font-size:11px;color:#778195;margin:0}.studio-action .primary{font-size:14px;min-height:43px;padding:9px 20px}.studio-machine-strip{display:flex;overflow-x:auto;gap:11px;scroll-snap-type:x mandatory;padding:6px 2px 15px}.studio-machine-strip>button{flex:0 0 190px;text-align:left;padding:17px;scroll-snap-align:start;border:1px solid #e1e5ee;border-top:3px solid #d82032;background:#fffaf8;border-radius:12px;min-height:92px}.studio-machine-strip strong{font-size:14px;display:block}.studio-machine-strip span{font-size:11px;color:#70788d;display:block;margin-top:8px}.studio-role-checks{display:flex;flex-wrap:wrap;gap:12px;margin:10px 0 20px}.studio-role-checks label{font-size:13px;display:flex;align-items:center;gap:7px}.studio-role-checks input{width:17px;height:17px;padding:0;accent-color:#d82032}.studio-aggregate{padding:13px 0;border-bottom:1px solid #e8ecf3;margin-bottom:16px}.studio-aggregate summary{margin-bottom:10px}.studio-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:18px 0}.studio-summary>div{padding:13px 16px;background:#f4f6fb;border-radius:10px}.studio-summary span{font-size:11px;color:#66718a;display:block}.studio-summary strong{display:block;font-size:24px;font-variant-numeric:tabular-nums}.studio-bars{display:grid;gap:12px;margin:20px 0}.studio-bar{display:grid;grid-template-columns:55px 1fr 62px;align-items:center;gap:12px;font-size:13px}.studio-bar>div{height:16px;background:#edf0f5;border-radius:8px;overflow:hidden}.studio-bar i{display:block;background:#91acd8;height:100%;border-radius:8px}.studio-bar.leading i{background:linear-gradient(90deg,#d82032,#f7b548)}.studio-bar strong{font-variant-numeric:tabular-nums;text-align:right}.studio-bar.leading strong{color:#c31a2c}.studio-result-actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}.studio-result-actions .text-button{font-size:12px}.studio-dialog{border:1px solid #dde3ee;border-radius:18px;max-width:820px;width:calc(100% - 32px);max-height:82dvh;overflow:auto;padding:28px}.studio-dialog::backdrop{background:#1b233a70}.studio-dialog-close{position:sticky;top:0;display:block;margin-left:auto;background:#f1f3f8;border-radius:100%;font-size:23px;width:37px;height:37px;line-height:30px;z-index:2}.studio-dialog p{font-size:13px;line-height:1.9}.studio-dialog details{margin:20px 0}.studio-dialog table{font-variant-numeric:tabular-nums}.studio-dialog td{white-space:nowrap}.studio-dialog table th{min-width:70px}.studio-dialog li{font-size:13px;line-height:2}.studio-dialog h2{font-size:21px}.studio-dialog .primary{margin-top:20px}#est-photo-canvas{display:block;max-width:100%;height:auto;max-height:310px;object-fit:contain;margin:auto;touch-action:none;border:1px solid #dde2ec;background:#f7f8fb}#est-photo-workspace .outline-button{margin:15px 0}#est-import-preview input[data-est-count]{background:#fff9ef}.studio-role-checks [type=checkbox]{flex:none}
.library-header{padding:22px 26px 20px;box-shadow:none;margin-bottom:20px;grid-template-columns:1fr}.library-header h1{font-size:31px}.library-title p{font-size:13px}.lucky-type{display:none}.library-controls{margin-top:15px}.search-field input{padding:12px 0}.feature-links{margin:0 0 16px}.feature-links a{font-size:13px;padding:8px 13px}.library-grid,.upcoming-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:16px;padding:4px 2px 18px;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch}.library-grid .machine-card{flex:0 0 285px;min-height:240px;scroll-snap-align:start;padding:18px;border-radius:14px;box-shadow:none}.machine-description{font-size:12px!important;line-height:1.8;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.machine-title{font-size:17px}.machine-tags .fact-tag{display:none}.machine-maker{margin-bottom:3px}.machine-card-top{width:100%}.card-footer{margin-top:auto;padding-top:14px;font-size:12px}.upcoming-card{flex:0 0 325px;grid-template-columns:1fr;scroll-snap-align:start;padding:21px;gap:12px;box-shadow:none}.upcoming-date{flex-direction:row;align-items:center;justify-content:space-between;padding:10px 13px}.upcoming-date strong{font-size:24px}.upcoming-card h2{font-size:18px;margin:12px 0}.upcoming-card p{font-size:12px}.upcoming-meta{font-size:10px;gap:6px}.upcoming-card .small-note{display:none}.upcoming-card .p-inline-actions{margin:12px 0 0;gap:8px}.upcoming-card .fact-source{font-size:11px}.carousel-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:12px 0}.carousel-controls p{font-size:12px;color:#748096;margin:0}.carousel-controls>div{display:flex;gap:8px}.carousel-controls button{background:white;border:1px solid #dce1ed;border-radius:10px;width:40px;height:36px;font-size:18px}.library-scope .glossary-block{display:none}.compact-tabs{display:flex;gap:7px;overflow:auto;white-space:nowrap;padding:4px 0 12px;margin-bottom:12px}.compact-tabs button{padding:9px 16px;border:1px solid #dce2ed;border-radius:25px;background:white;font-size:13px;font-weight:700}.compact-tabs button.active{background:#215dbc;border-color:#215dbc;color:white}.compact-pachinko{max-width:900px;margin:auto}.compact-pachinko .pachinko-intro{margin:0 0 15px}.compact-pachinko .pachinko-intro h2{font-size:22px}.compact-pachinko .pachinko-intro p{font-size:12px;margin:0}.compact-pachinko .pachinko-machine{padding:20px}.compact-pachinko .pachinko-machine .small-note{display:none}.compact-pachinko .pachinko-machine .field{margin-bottom:10px}.compact-pachinko .pachinko-shop{padding:20px}.compact-pachinko .pachinko-shop>summary{font-size:17px}.compact-pachinko .calc-card h2{font-size:21px}.compact-pachinko .pachinko-grid{display:block}.compact-pachinko .calc-card .small-note{font-size:12px}.compact-pachinko .pachinko-intro>a{display:none}.compact-pachinko .pachinko-shop>summary span{font-size:10px}.compact-machine .machine-heading{padding:20px 23px}.compact-machine .machine-heading h1{font-size:25px}.compact-machine .article-meta{font-size:11px}.compact-machine .article-summary{display:none}.compact-machine .quick-facts{display:none}.compact-machine .article-toc{display:flex;overflow:auto;white-space:nowrap;gap:8px;padding:6px 0 14px;margin:18px 0}.compact-machine .article-toc a{padding:8px 14px;flex:none;font-size:13px;border:1px solid #dce2ed;background:white;border-radius:25px}.compact-machine .article-toc a.active{background:#d82032;color:white;border-color:#d82032}.compact-machine .article-columns{display:block}.compact-machine .article-section{padding:21px;margin:0}.compact-machine .fact-list>div{padding:13px 0}.compact-machine .fact-list p{font-size:13px}.compact-machine .fact-list strong{font-size:19px}.compact-machine .article-actions{margin-top:15px}.compact-machine .article-actions .button-link{font-size:13px;min-height:42px;padding:8px 14px}.compact-machine .article-section .source-list{margin:0}.compact-machine .pachinko-details{padding:0;border:0;box-shadow:none}.compact-machine .pachinko-details>.flow-cards{display:flex;overflow:auto;scroll-snap-type:x mandatory}.compact-machine .pachinko-details>.flow-cards article{flex:0 0 215px;scroll-snap-align:start}.compact-machine .source-list li{font-size:13px}.compact-machine .update-list{max-height:240px;overflow:auto}.compact-machine .fact-list{margin:0}.compact-machine .note-card{max-width:650px}.compact-update-feed{max-height:65dvh;overflow:auto}.signal-view{max-width:900px;margin:auto}.signal-picker{padding:20px}.signal-picker .condition-grid{grid-template-columns:1fr 1fr 1.2fr;margin-top:12px}.signal-card{min-height:300px}.signal-percent{font-size:51px}.signal-card h3{font-size:20px}.signal-view+.pachinko-details,.signal-view~#signals-spec{display:none}.coverage-table{font-size:12px}.footer{font-size:11px}.ad-placement{margin:28px auto 10px;max-width:970px;min-height:150px;text-align:center}.ad-placement>span{display:block;font-size:10px;color:#8792a6;margin-bottom:8px}.ad-placement ins{display:block;min-height:130px}.ad-loading-consent{padding:16px;background:#fff;border:1px solid #dde3ed;border-radius:12px;font-size:12px;text-align:left}.ad-loading-consent button{margin:8px 12px 0 0;font-size:12px}.approved-machine-image{display:block;width:100%;height:155px;object-fit:contain;content-visibility:auto;contain-intrinsic-size:200px 155px;background:#f6f7fb;border-radius:10px;margin-bottom:10px}.image-credit{font-size:9px;color:#77849b}.machine-visual-none{display:none}
@media(max-width:650px){main{padding:15px 16px 22px}.header{padding:12px 16px}.brand{font-size:24px}.brand img{width:34px;height:34px}.brand small{font-size:9px;max-width:215px}.nav-item{min-height:48px;font-size:11px;gap:5px}.nav-item svg{width:18px;height:18px}.studio-title h1{font-size:21px}.studio-title{align-items:flex-start;margin-bottom:12px}.studio-title .text-button{font-size:10px;max-width:100px;white-space:normal;text-align:right}.studio-screen{padding:19px 17px;border-radius:13px}.studio-screen .field{font-size:12px;margin-bottom:14px;gap:6px}.studio-screen .field input,.studio-screen select{padding:10px 11px}.studio-count-grid{gap:0 12px}.studio-tabs{gap:2px;padding:4px}.studio-tabs button{font-size:11px;padding:7px 5px;min-height:38px}.studio-action{bottom:max(8px,env(safe-area-inset-bottom));padding:10px 13px}.studio-action p{font-size:10px;max-width:120px}.studio-action .primary{font-size:13px;min-height:42px;padding:9px 16px}.studio-model-bar{padding:10px 13px}.studio-model-bar strong{font-size:13px}.studio-dialog{padding:20px 16px;border-radius:16px}.studio-bars{gap:11px}.studio-bar{grid-template-columns:46px 1fr 58px;gap:9px;font-size:12px}.studio-summary strong{font-size:22px}.studio-section-heading h2{font-size:18px}.studio-result-actions .outline-button{font-size:12px}.library-header{padding:20px;margin-bottom:15px}.library-header h1{font-size:27px}.library-title p{font-size:12px;max-width:none}.library-grid .machine-card{flex-basis:82%;min-height:225px}.upcoming-card{flex-basis:88%;padding:18px}.upcoming-card h2{font-size:17px}.page-heading h1{font-size:25px}.page-heading .lead{font-size:12px}.page-heading{padding-left:14px}.library-filter-row{display:none}.coverage-note{font-size:11px;padding:8px 11px}.compact-pachinko .calc-card{padding:20px 17px}.compact-pachinko .pachinko-shop{padding:20px 17px}.compact-pachinko .pachinko-intro h2{font-size:20px}.compact-pachinko .field{font-size:12px;margin-bottom:14px}.compact-machine .machine-heading{padding:20px 16px}.compact-machine .machine-heading h1{font-size:23px}.compact-machine .article-section{padding:20px 16px}.compact-machine .article-toc a{flex:none;font-size:12px}.compact-machine .article-actions .outline-button{flex:none;font-size:12px}.signal-picker .condition-grid{grid-template-columns:1fr 1fr}.signal-picker .condition-grid>.field:last-child{grid-column:1/-1}.signal-picker{padding:18px}.signal-card{min-height:290px}.footer{margin-top:23px;padding-top:18px}.studio-machine-strip>button{flex-basis:165px}.feature-chips button{font-size:12px;padding:9px 14px}.feature-links a{font-size:11px;padding:8px 10px}.studio-result-actions{gap:8px}.studio-result-actions .text-button{font-size:11px}.upcoming-date strong{font-size:23px}}
/* Compact navigation and accessible disclosure controls */
.nav{position:static!important;inset:auto!important;backdrop-filter:none;min-height:0}.nav-wrap{position:static}.nav-item{min-height:42px}.layout{display:block}body{padding-bottom:0}.compact-machine-tabs{display:flex;gap:7px;overflow:auto;white-space:nowrap;margin:18px 0 12px;padding:3px 0 8px}.compact-machine-tabs button{flex:none;padding:9px 15px;background:white;border:1px solid #dae0e9;border-radius:24px;font-size:13px}.compact-machine-tabs button.active{background:#d82032;color:white;border-color:#d82032}.compact-machine-pane{min-height:200px;max-height:66dvh;overflow:auto}.compact-machine .machine-heading .article-actions{gap:8px}.compact-machine .machine-heading .article-actions button{font-size:12px;min-height:39px}.compact-machine .approved-machine-image{height:auto;background:#f7f8fa;margin:15px 0;padding:12px}.approved-machine-image img{width:100%;height:180px;object-fit:contain}.approved-machine-image figcaption{font-size:10px}.compact-carousel-controls{display:flex;justify-content:flex-end;gap:8px;align-items:center;margin:7px 0}.compact-carousel-controls span{margin-right:auto;font-size:11px;color:#737f92}.compact-carousel-controls button{font-size:14px;min-height:32px;padding:3px 13px}.compact-library-filters{margin:10px 0}.compact-library-filters>summary{cursor:pointer;font-size:12px;font-weight:700;color:#596a82;padding:8px 0}.compact-library-filters .library-filter-row{display:flex;flex-wrap:wrap;padding:8px 0}.compact-policy{padding:16px 20px;background:white;border:1px solid #dde3ee;border-radius:12px;margin:12px 0}.compact-policy>summary{font-weight:800;font-size:15px;cursor:pointer}.compact-policy p{font-size:13px}.compact-pachinko-pane{margin-top:16px}.compact-pachinko .pachinko-intro p{display:none}.compact-pachinko .pachinko-intro{margin-bottom:14px}.compact-pachinko .calc-card,.compact-pachinko .pachinko-shop{margin-bottom:14px}.compact-pachinko .studio-tabs{margin-top:18px}.compact-pachinko .calc-card h2{font-size:21px}.compact-pachinko .calc-card .condition-grid{gap:0 14px}.compact-pachinko .small-note{font-size:11px}.compact-pachinko .pachinko-shop>summary{display:none}.compact-pachinko .pachinko-machine{padding:17px 21px}.compact-machine-help,.compact-calculation-help,.compact-signal-details{border:1px solid #dde3ee;border-radius:10px;padding:12px 16px;margin:14px 0;font-size:12px;background:#fff}.compact-machine-help>summary,.compact-calculation-help>summary,.compact-signal-details>summary{cursor:pointer;font-weight:700}.compact-signal-details #signals-spec{display:block}.signal-picker>.condition-grid{margin-bottom:0}.coverage-table{max-width:100%}.coverage-table tbody{font-size:11px}.table-scroll:has(.coverage-table){max-height:55dvh;overflow:auto}.ad-consent{margin:24px auto;max-width:800px;padding:18px;background:#fff;border:1px solid #e0e5ed;border-radius:12px;font-size:12px}.ad-consent button,.ad-consent a{margin:6px 12px 0 0;font-size:12px}.ad-label{font-size:10px;color:#7a889e;margin:0 0 6px}.library-tools{margin-top:10px}.ad-placement{min-height:200px}.studio-action{z-index:5}
@media(max-width:650px){.compact-machine-tabs button{font-size:12px;padding:9px 13px}.compact-library-filters .library-filter-row{display:flex}.compact-pachinko .condition-grid{grid-template-columns:1fr 1fr}.compact-pachinko .condition-grid>.field{grid-column:auto}.compact-pachinko .condition-grid>.field:has([name=referenceNote]){grid-column:1/-1}.compact-pachinko .studio-tabs{position:sticky;top:4px;z-index:4}.compact-policy{padding:14px 16px}.compact-machine-pane{max-height:63dvh}.machine-suggestions{max-height:300px}.library-header{padding:16px}.library-title h1{font-size:24px}.library-header .feature-links{margin:12px 0 0;flex-wrap:nowrap;overflow:auto}.library-header .feature-links a{white-space:nowrap;flex:none}.compact-machine .machine-heading .article-actions .primary{width:100%}}
/* In-page calculator tools and detail sheets */
.hub-sheet{width:min(1000px,calc(100vw - 28px));max-height:92dvh;height:92dvh;padding:0;border:1px solid #d6deeb;border-radius:16px;background:#f4f5f8;color:#202235;overflow:hidden;box-shadow:0 25px 80px #13203c40}.hub-sheet::backdrop{background:#14223caa;backdrop-filter:blur(3px)}.hub-sheet-header{display:flex;gap:14px;align-items:center;position:sticky;top:0;padding:12px 18px;background:#fff;border-bottom:3px solid #e2af27;min-height:66px}.hub-sheet-header strong{font-size:14px;margin-right:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hub-sheet-header button{font-size:12px;white-space:nowrap;min-height:37px}.hub-sheet-open{overflow:hidden}#hub-sheet-content{height:calc(100% - 66px);overflow:auto;padding:18px 22px;overscroll-behavior:contain}#hub-sheet-content .page-heading{margin:0 0 18px}#hub-sheet-content .page-heading h1{font-size:25px}#hub-sheet-content .compact-machine-pane{max-height:none}.slot-ev{max-width:820px;margin:auto;background:#fff;border:1px solid #dce3ef;border-top:4px solid #e2af27;padding:23px;border-radius:13px}.slot-ev h2{font-size:23px;margin:0}.slot-ev h3{font-size:18px}.slot-ev .studio-tabs{margin:14px 0 20px}.slot-ev .studio-tabs button{padding:9px 13px}.slot-ev .feature-chips{overflow:auto;flex-wrap:nowrap}.slot-ev .feature-chips button{white-space:nowrap;flex:none;font-size:12px;padding:7px 12px}.slot-ev .ev-exchange{margin:18px 0;border:1px solid #e0e6ef;border-radius:10px;padding:12px 15px}.ev-exchange summary{font-size:13px;font-weight:700;cursor:pointer}.ev-exchange[open]>summary{margin-bottom:13px}.slot-ev .field{font-size:13px;margin-bottom:15px}.slot-ev .studio-count-grid{gap:0 16px}.slot-ev .p-result-grid strong{font-size:25px}.slot-ev .small-note{font-size:11px}.return-navigation{font-size:12px;white-space:nowrap}#inline-setting .studio-title h1{font-size:23px}#inline-setting .estimate-studio{max-width:820px}#calculator-panel .calculator-heading h1{font-size:26px}#calculator-panel .calculator-heading{margin-bottom:18px}#calculator-panel .calc-kind-switch{margin-bottom:16px}.slot-reference-grid{display:flex;gap:13px;overflow:auto;scroll-snap-type:x mandatory}.slot-reference-grid>article{flex:0 0 250px;background:#fff6dd;border:1px solid #e4cf8b;padding:16px;border-radius:12px;scroll-snap-align:start}.slot-reference-grid strong{font-size:30px;display:block;color:#ac7617}.slot-reference-grid h3{font-size:14px}.slot-reference-grid p{font-size:12px}.machine-resources{display:flex;gap:10px;flex-wrap:wrap}.machine-resources>a{display:block;padding:11px 14px;border:1px solid #dae2ed;border-radius:9px;background:#f8faff;font-size:13px}#library-panel>.glossary-block{margin-top:20px}#library-panel .topic-grid{display:flex;overflow:auto;gap:12px}#library-panel .topic-card{flex:0 0 250px;padding:15px}#library-panel .topic-card p{font-size:12px}.photo-row-preview{max-height:48dvh;overflow:auto}.photo-row-preview>div{display:grid;grid-template-columns:1.5fr 1fr;gap:10px;margin-bottom:10px;padding:10px;background:#f6f8fc;border-radius:8px}.photo-row-preview label{font-size:11px}
.library-more{display:block;margin:15px auto;font-size:12px}.photo-row-preview>div{grid-template-columns:80px 1.4fr 1fr;align-items:center}.photo-row-preview canvas{width:100%;max-height:38px;object-fit:contain;background:#fff}.photo-row-preview input,.photo-row-preview select{width:100%;min-width:0;font-size:12px}.photo-row-preview small{display:block;color:#a34119}.studio-title{flex-wrap:wrap}.studio-title>div{margin-right:auto}.slot-ev .studio-tabs{overflow-x:auto;flex-wrap:nowrap}.slot-ev .studio-tabs button{white-space:nowrap}.studio-dialog details{margin:15px 0}.studio-dialog details>summary{cursor:pointer;font-weight:700}
@media(max-width:650px){.hub-sheet{width:100%;max-width:100%;height:96dvh;max-height:96dvh;margin:auto auto 0;border-radius:17px 17px 0 0}.hub-sheet-header{padding:10px 12px;gap:8px}.hub-sheet-header strong{font-size:12px}#hub-sheet-content{padding:15px 16px}.slot-ev{padding:19px 16px}.slot-ev .field{font-size:12px}.slot-ev h2{font-size:21px}.slot-ev .studio-tabs button{font-size:11px;padding:8px 7px}.slot-ev .p-result-grid strong{font-size:23px}.header{flex-wrap:wrap}.return-navigation{font-size:11px}.header>.return-navigation{margin-left:auto}.slot-ev .ev-exchange{padding:11px 12px}.slot-ev .studio-count-grid{gap:0 12px}#calculator-panel .calculator-heading h1{font-size:23px}.hub-sheet-header #hub-sheet-close{padding:6px 9px}.machine-resources>a{font-size:12px}.photo-row-preview>div{grid-template-columns:50px 1.3fr 1fr}}

/* Independent Juggler grape reverse calculation */
.grape-photo{padding:12px 14px;margin:10px 0 18px;background:#f7faf3;border:1px solid #e1e8d7;border-radius:10px}.grape-photo .field{margin:0 0 8px}.grape-photo input[type=file]{padding:9px;font-size:13px}.grape-photo .small-note{margin:6px 0}.grape-photo-progress{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.grape-photo-progress p{flex:1;min-width:180px}.grape-photo-progress button{font-size:12px}.grape-photo .grape-details{padding:8px 0 0;margin-top:9px}.grape-photo textarea{font-size:13px;min-height:75px}.grape-photo [data-grape-graph-canvas]{display:block;width:100%;height:auto;max-height:320px;object-fit:contain;border:1px solid #e1e8d7;border-radius:8px;background:#fff}
.photo-auto-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.photo-manual-image{max-height:420px;overflow:auto;border:1px solid #dde2ec}#est-photo-canvas{width:100%;max-height:none;height:auto;border:0}.photo-detected-field{min-width:0;padding:12px;border:1px solid #e1e6ef;border-radius:10px;margin-bottom:12px;background:#fbfcff}.photo-detected-field .field{margin-bottom:4px}.photo-detected-field>small{display:block;font-size:12px;color:#497086}.photo-use{display:flex;gap:7px;align-items:center;font-size:11px;margin-bottom:6px}.photo-use input{width:16px;height:16px;padding:0}.photo-detected-field input:disabled{opacity:.45}.photo-auto-actions~details{margin:12px 0}.photo-auto-actions~details>summary{font-size:12px;cursor:pointer}
.studio-tabs{overflow-x:auto;overscroll-behavior-inline:contain}.studio-tabs button{flex:1 0 auto}.studio-tabs button[data-est-step="grape"].active{color:#506734;background:#eff5e5}.grape-tool .studio-count-grid{gap:0 14px}.grape-tool .field input{min-width:0;width:100%;font-variant-numeric:tabular-nums}.grape-record-copy{margin:-4px 0 12px}.grape-record-copy button{font-size:12px}.grape-style{padding:0;border:0;margin:12px 0 14px}.grape-style legend{font-size:13px;font-weight:700;margin-bottom:8px}.grape-choice-row{display:flex;gap:6px}.grape-choice-row button{flex:1;min-height:43px;padding:7px 8px;border:1px solid #dbe3d0;border-radius:10px;background:#f7faf2;font-size:12px;white-space:nowrap}.grape-choice-row button.active{background:#e4efd3;border-color:#779851;color:#354e22;font-weight:700}.grape-style .small-note{margin:8px 0}.grape-answer{background:#f4f8ec;border:1px solid #d8e5bf;border-left:4px solid #819d50;border-radius:12px;padding:15px 18px}.grape-answer .mini-tag{background:#e7efd7;color:#52642e}.grape-answer-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:8px}.grape-answer-heading>div{min-width:0}.grape-answer-heading small{display:block;font-size:11px;color:#65764d}.grape-answer-heading strong{display:block;font-size:28px;line-height:1.5;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;color:#344827}.grape-answer-heading button{white-space:nowrap;flex:none;font-size:12px;padding:8px 12px;min-height:42px}.grape-answer .small-note{margin:5px 0 0}.grape-range{font-size:13px;margin:8px 0 0;font-weight:700}.grape-separate-note{font-size:12px;line-height:1.7;color:#747a87;margin:12px 0}.grape-placeholder{padding:15px;background:#f5f6f9;border-radius:10px;font-size:13px;color:#66718a}.grape-details{border-top:1px solid #e8ecdf;padding:13px 0}.grape-details summary{font-size:13px;font-weight:700;cursor:pointer;min-height:28px}.grape-details .studio-count-grid{margin-top:12px}.grape-details .field{font-size:12px}.grape-reference-strip{display:flex;gap:7px;overflow-x:auto;margin:14px 0 8px;padding-bottom:7px}.grape-reference-strip>div{flex:1 0 72px;padding:9px 7px;border-radius:8px;text-align:center;background:#f5f8ef}.grape-reference-strip small{display:block;font-size:11px;color:#718052}.grape-reference-strip strong{font-size:14px;white-space:nowrap}.grape-formula{font-size:12px;line-height:1.9;color:#506437;background:#f5f8ef;padding:12px;border-radius:8px;overflow-wrap:anywhere}.grape-source-links{display:flex;gap:9px 16px;flex-wrap:wrap;margin:12px 0;font-size:12px}
@media(max-width:600px){.grape-tool{padding:18px 14px}.grape-tool .studio-section-heading{gap:7px}.grape-tool h2{font-size:18px}.grape-tool .studio-count-grid{gap:0 10px}.grape-tool .field{font-size:12px}.grape-tool .field input{padding:12px 10px;font-size:16px}.grape-answer{padding:12px}.grape-answer-heading{align-items:flex-end}.grape-answer-heading strong{font-size:23px}.grape-choice-row button{padding:7px 5px;font-size:11px}.grape-answer-heading button{padding:8px 9px}}

.photo-role-results{margin:16px 0}.photo-role-results h3{font-size:15px;margin-bottom:8px}.photo-role-results>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.photo-role-results article{display:flex;flex-direction:column;gap:4px;padding:10px 12px;background:#f2f7fb;border:1px solid #d9e5ef;border-radius:8px}.photo-role-results span{font-size:12px}.photo-role-results strong{font-size:23px;color:#276381}.photo-role-results small{font-size:11px;color:#697e90}

/* Full setting tables stay readable on narrow screens. */
.slot-bonus-reference{margin:20px 0;padding-top:12px;border-top:1px solid #dce4ef}.slot-bonus-reference h3{font-size:17px;margin:0 0 8px}.slot-bonus-reference .border-source-table{width:100%;min-width:0;table-layout:fixed;font-size:14px;font-variant-numeric:tabular-nums}.slot-bonus-reference .border-source-table th,.slot-bonus-reference .border-source-table td{padding:10px 8px;white-space:nowrap;text-align:right}.slot-bonus-reference .border-source-table th:first-child{text-align:left;width:18%}.slot-bonus-reference caption{text-align:left;font-size:12px;color:#5e6e85;padding:0 0 9px}.slot-bonus-reference th small{display:block;white-space:normal;font-weight:400;font-size:10px}.slot-bonus-reference .small-note{font-size:12px;line-height:1.7}.slot-bonus-reference .source-list{margin:8px 0;font-size:12px}.slot-bonus-reference .source-list small{margin-left:8px}.slot-bonus-reference .table-scroll:focus-visible{outline:2px solid #326c99;outline-offset:3px}@media(max-width:430px){.slot-bonus-reference .border-source-table{font-size:12px}.slot-bonus-reference .border-source-table th,.slot-bonus-reference .border-source-table td{padding:9px 4px}}

.slot-bonus-reference .border-source-table thead th{white-space:normal;overflow-wrap:anywhere;line-height:1.5}

/* Search results take their own space; touch scrolling stays inside the list. */
.machine-search-field .machine-input-control{position:relative;width:100%;min-width:0}
.machine-input-control>input{width:100%;padding-right:44px}
.machine-suggestions.machine-suggestions-inline{position:relative;inset:auto;display:block;width:100%;max-height:min(320px,42dvh);overflow-x:hidden;overflow-y:auto;margin-top:8px;box-sizing:border-box;border-radius:10px;overscroll-behavior-y:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;z-index:1}
.machine-suggestions-inline>button{touch-action:pan-y;min-height:52px}
.machine-suggestions-inline>button strong{min-width:0;white-space:normal;overflow-wrap:anywhere}
.machine-suggestions-inline>button span{flex:none}

/* Each observation is a vertical row within its measured state. */
.photo-batch-picker{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0;max-width:100%}
.photo-batch-picker>button{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-height:44px;max-width:100%;padding:8px 12px;border:1px solid #c9d7e5;border-radius:9px;background:#fff;text-align:left;overflow-wrap:anywhere;font-size:12px}
.photo-batch-picker>button[aria-pressed=true]{background:#eaf3fa;border-color:#497fa8;box-shadow:inset 3px 0 #497fa8}
.photo-batch-picker small{color:#61738a}
.photo-phase-group{margin:18px 0;padding:14px 0 0;border-top:1px solid #dce4ed;min-width:0}
.photo-phase-group>h3,.photo-phase-group>h4{margin:0 0 10px;font-size:15px;color:#244c6b}
.photo-value-list,.photo-role-results .photo-value-list{display:flex;flex-direction:column;gap:8px;min-width:0}
.photo-detected-field,.photo-batch-field,.photo-value-list>article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 14px;align-items:center;min-width:0;padding:12px 14px;border:1px solid #dce5ee;border-radius:10px;background:#f9fbfd}
.photo-detected-field .field,.photo-batch-field .field{margin:0;min-width:0}
.photo-detected-field>.photo-field-state{grid-column:1;grid-row:1}
.photo-detected-field>.photo-use{grid-column:2;grid-row:1;display:flex;align-items:center;gap:6px;margin:0;font-size:12px}
.photo-detected-field>.field{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(100px,220px);align-items:center;gap:12px;font-size:14px}
.photo-detected-field>.field>input{margin:0}
.photo-detected-field>small[id]{text-align:right}
.photo-detected-field input[type=text],.photo-batch-field input[type=text]{max-width:100%}
.photo-detected-field>small,.photo-detected-field>.small-note,.photo-batch-field>.small-note{grid-column:1/-1;margin:0}
.photo-field-state,.photo-batch-cue{display:inline-block;font-size:11px;line-height:1.5;color:#32715e;font-weight:700}
.photo-needs-input,.photo-batch-needs,.photo-detected-field.is-missing,[data-photo-needed=true]{border-color:#c99a3f!important;background:#fff8e9!important}
.photo-needs-input .photo-field-state,.photo-batch-needs .photo-batch-cue,.photo-detected-field.is-missing .photo-field-state{color:#8a5b10}
.photo-batch-known{color:#32715e}
.photo-required-missing{padding:10px 12px;border:1px solid #c99a3f;border-radius:9px;background:#fff8e9}
.photo-required-missing::after{content:'入力が必要';color:#8a5b10;font-size:11px;font-weight:700}
[data-photo-missing=true]{border-color:#c99a3f!important;background:#fffdf6!important}
.photo-value-list>article>strong{font-size:23px;font-variant-numeric:tabular-nums;white-space:nowrap}
.photo-value-list>article>small{grid-column:1/-1;color:#6c7d90;font-size:12px}
.photo-role-results>div{display:block}
@media(max-width:520px){.photo-detected-field,.photo-batch-field{grid-template-columns:minmax(0,1fr) auto;padding:10px 12px}.photo-detected-field>.field{grid-template-columns:minmax(0,1fr) minmax(70px,110px);gap:8px}.photo-phase-group{margin:14px 0}.photo-batch-picker>button{flex:1 1 130px}.machine-suggestions.machine-suggestions-inline{max-height:38dvh}}
