body.studio{--ink:#344e5b;--muted:#526773;--green:#476879;color:var(--ink);font:400 16px/1.6 Arial,sans-serif;background:#fff}body.studio[data-style="h"]{--ink:#3f513f;--muted:#5d6e55;--green:#536a49;background:#fffefa}body.studio[data-style] h1,body.studio[data-style] h2,body.studio[data-style] h3{font-weight:500;line-height:1.2;letter-spacing:-.025em;color:var(--ink)}body.studio[data-style="h"] h1,body.studio[data-style="h"] h2{font-family:Georgia,serif}body.studio[data-style] h1{font-size:44px;margin:10px 0 16px}body.studio[data-style] h2{font-size:27px;margin:6px 0 20px}body.studio[data-style] h3{font-size:21px;margin:30px 0 20px}body.studio[data-style] p{color:var(--ink)}body.studio[data-style] .eyebrow{font:600 12px/1.6 Arial,sans-serif;letter-spacing:.1em;color:var(--muted)}body.studio[data-style] .help,body.studio[data-style] .limit{color:var(--muted);font-size:14px;line-height:1.55;margin:8px 0 16px}body.studio[data-style] .heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 26px}body.studio[data-style] .heading img{width:230px;height:auto}body.studio[data-style] .notice{border-left:4px solid #aec8d6;background:#f2f7fa;border-radius:4px 16px 16px 4px;padding:18px 24px}body.studio[data-style="h"] .notice{background:#f1f4ec;border-color:#b8c7aa}body.studio[data-style] .notice p{margin:5px 0;font-size:14px}body.studio[data-style] .filebar{display:flex;justify-content:space-between;gap:16px;align-items:center;margin:22px 0 0}body.studio[data-style] #save-status{font-size:14px;font-weight:600}body.studio[data-style] .actions{display:flex;flex-wrap:wrap;gap:8px}body.studio[data-style] button{min-height:42px;border:1px solid #bfced4;border-radius:10px;background:#f8fafb;color:var(--ink);padding:10px 14px;font:600 14px/1.3 Arial,sans-serif;cursor:pointer}body.studio[data-style] button:hover{background:#eaf1f5}body.studio[data-style] button:disabled{opacity:.55;cursor:not-allowed}body.studio[data-style] button[aria-pressed="true"]{background:var(--green);color:#fff}body.studio[data-style] a{color:var(--green)}body.studio[data-style] .studio-grid{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:24px;margin:20px 0}body.studio[data-style] .card{border:1px solid #d9e2e6;border-radius:20px;padding:28px;background:white;min-width:0}body.studio[data-style="h"] .card{border-color:#dfe4d8;background:#fffffc;border-radius:12px}body.studio[data-style] .results{align-self:start;background:#f8fbfd;position:sticky;top:20px}body.studio[data-style] label{display:block;font-weight:600;font-size:14px;margin:14px 0 7px}body.studio[data-style] input,body.studio[data-style] select,body.studio[data-style] textarea{width:100%;min-width:0;padding:12px;border:1px solid #a8bac4;border-radius:8px;font:400 16px/1.4 Arial,sans-serif;color:var(--ink);background:white}body.studio[data-style] input[aria-invalid="true"]{border:2px solid #a23636}body.studio[data-style] :focus-visible{outline:3px solid #527eb2;outline-offset:3px}body.studio[data-style] .pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}body.studio[data-style] .oil-row{margin:20px 0;padding:14px;background:#f7fafb;border-radius:12px;display:grid;grid-template-columns:minmax(0,1fr) 115px 42px;gap:8px;align-items:end}body.studio[data-style] .oil-row label{margin-top:0}body.studio[data-style] .oil-row .sap-note{grid-column:1/-1;font-size:12px;margin:0;color:var(--muted)}body.studio[data-style] .oil-row button{padding:10px 5px}body.studio[data-style] .dashed{width:100%;border-style:dashed}body.studio[data-style] details{margin:20px 0}body.studio[data-style] summary{font-weight:600;font-size:16px;cursor:pointer}body.studio[data-style] details p{font-size:15px}body.studio[data-style] .scale-line{display:flex;gap:8px}body.studio[data-style] .scale-line button{flex-shrink:0}body.studio[data-style] .metric{padding:16px 0;border-bottom:1px solid #dce5e9;display:flex;justify-content:space-between;align-items:center;gap:12px}body.studio[data-style] .metric strong{font-size:26px;font-weight:600}body.studio[data-style] .metric small{font-size:14px}body.studio[data-style] .metrics{margin-bottom:22px}body.studio[data-style] table{border-collapse:collapse;width:100%;font-size:14px}body.studio[data-style] th,body.studio[data-style] td{padding:11px 5px;text-align:left;vertical-align:top;border-bottom:1px solid #dce5e9;overflow-wrap:anywhere}body.studio[data-style] td:nth-child(n+2),body.studio[data-style] th:nth-child(n+2){text-align:right;white-space:nowrap}body.studio[data-style] .result-basis{font-size:14px;padding:12px;background:#eef4f7;border-radius:10px;margin:18px 0}body.studio[data-style] .section-top{display:flex;justify-content:space-between;align-items:center;gap:18px}body.studio[data-style] #errors,body.studio[data-style] #message.error{color:#922e2e;font-size:14px}body.studio[data-style] #errors a{color:#922e2e}body.studio[data-style] #errors ul{padding-left:20px}body.studio[data-style] #message{margin:8px 0;overflow-wrap:anywhere}body.studio[data-style] #compare li{overflow-wrap:anywhere;margin:8px 0}body.studio[data-style] .learning{margin:24px 0}body.studio[data-style] .learning .card{margin:12px 0;padding:22px 28px}body.studio[data-style] #sap-table{overflow:auto}body.studio[data-style] .original{margin:30px 0;font-size:14px}body.studio[data-style] dialog{max-width:640px;width:calc(100% - 32px);padding:24px;color:var(--ink);border:1px solid #c0cdd3;border-radius:18px}body.studio[data-style] .check-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #dce5e9}body.studio[data-style] .check-row input{width:22px;height:22px;flex-shrink:0}body.studio[data-style] .check-row label{margin:0;font-size:16px;font-weight:400}body.studio[data-style] .check-row input:checked+label{text-decoration:line-through}body.studio[data-style] .print-note{font-size:13px}body.studio[data-style] footer{padding:20px 0}body.studio[data-style] [hidden]{display:none!important}
@media(max-width:900px){body.studio[data-style] .oil-row{grid-template-columns:minmax(0,1fr) 90px 36px}body.studio[data-style] .card{padding:22px}}
@media(max-width:700px){body.studio[data-style] .studio-grid{grid-template-columns:1fr}body.studio[data-style] .results{position:static}body.studio[data-style] .heading img{width:100px}body.studio[data-style] h1{font-size:32px}body.studio[data-style] .heading{align-items:flex-start}body.studio[data-style] .heading p{font-size:15px}body.studio[data-style] .heading .eyebrow{font-size:11px}body.studio[data-style] .filebar,body.studio[data-style] .section-top{align-items:flex-start;flex-direction:column}body.studio[data-style] .header{flex-wrap:wrap;gap:20px;padding:25px 0}body.studio[data-style] .header nav{width:100%;justify-content:space-between}body.studio[data-style] .pair{gap:10px}body.studio[data-style] .oil-row{grid-template-columns:minmax(0,1fr) 42px}body.studio[data-style] .oil-row .oil-choice{grid-column:1/-1}body.studio[data-style] .oil-row .oil-value{grid-column:1}body.studio[data-style] .notice{padding:16px}body.studio[data-style] .card{padding:20px}body.studio[data-style] .learning .card{padding:20px}body.studio[data-style] .latest{flex-wrap:wrap;position:static}body.studio[data-style] .latest-options{width:100%;display:flex}body.studio[data-style] .latest-options button{flex:1;padding:10px 4px;font-size:12px}body.studio[data-style] .metric strong{font-size:24px}body.studio[data-style] .heading img{display:none}body.studio[data-style] .scale-line{flex-wrap:wrap}}
@media print{body.studio{background:#fff;color:#000;font-size:11pt}body.studio[data-style] .style-bar,body.studio[data-style] .header,body.studio[data-style] .heading img,body.studio[data-style] .filebar,body.studio[data-style] #message,body.studio[data-style] .editor,body.studio[data-style] .comparison,body.studio[data-style] .learning,body.studio[data-style] .original,body.studio[data-style] footer,body.studio[data-style] .actions,body.studio[data-style] .skip,body.studio[data-style] dialog{display:none!important}body.studio[data-style] .wrap{width:100%;max-width:none;margin:0}body.studio[data-style] h1{font-size:22pt}body.studio[data-style] .studio-grid{display:block}body.studio[data-style] .results{position:static;border:0;padding:0;background:#fff}body.studio[data-style] .notice{border:1px solid #aaa;background:#fff;padding:10px}body.studio[data-style] .metric{padding:8px 0}body.studio[data-style] .metric strong{font-size:17pt}body.studio[data-style] table{font-size:10pt}body.studio[data-style] .result-basis{background:white;border:1px solid #aaa}body.studio[data-style] .results,body.studio[data-style] tr{break-inside:avoid}body.studio[data-style] .help,body.studio[data-style] .limit{color:#222;font-size:9pt}}

body.studio[data-style] .row-error{grid-column:1/-1;margin:0;color:#922e2e;font-size:14px}

body.studio[data-style] .card{display:block;transition:none;transform:none;box-shadow:none}
body.studio[data-style] .card:hover{transform:none;box-shadow:none}
body.studio[data-style] .card p{font-size:15px;line-height:1.6;color:var(--ink);margin:10px 0}
body.studio[data-style] .card p.help,body.studio[data-style] .card p.limit{font-size:14px;color:var(--muted)}
body.studio[data-style] .card p.eyebrow{font-size:12px;color:var(--muted);margin:0 0 8px}
body.studio[data-style] .card p.sap-note{font-size:12px;line-height:1.5;color:var(--muted);margin:0}
body.studio[data-style] .card p.row-error{font-size:14px;color:#922e2e;margin:0}
body.studio[data-style] .results{font-size:16px}
body.studio[data-style] .header nav{font-size:14px;color:var(--ink)}
body.studio[data-style] .brand{color:var(--ink)}
body.studio[data-style] .brand small{color:var(--muted)}
@media(max-width:700px){body.studio[data-style] .header{height:auto;min-height:130px;align-items:flex-start}body.studio[data-style] .header nav{margin:0}body.studio[data-style] .metric strong{white-space:nowrap;font-size:22px}}
@media print{body.studio[data-style] .results{display:block;background:white}body.studio[data-style] .card p{font-size:10pt}body.studio[data-style] .card p.help,body.studio[data-style] .card p.limit{font-size:9pt;color:#222}body.studio[data-style] .header{display:none}}

@media print{
body.studio[data-style] .heading{margin:0 0 10px;display:block}
body.studio[data-style] .heading p{display:none}
body.studio[data-style] h1{font-size:20pt;margin:0 0 8px}
body.studio[data-style] h2{font-size:16pt;margin:8px 0}
body.studio[data-style] .notice{padding:7px;margin:0}
body.studio[data-style] .notice p{font-size:9pt;line-height:1.35;margin:3px 0}
body.studio[data-style] .results{break-inside:auto}
body.studio[data-style] .results .eyebrow{display:none}
body.studio[data-style] .metric{padding:5px 0}
body.studio[data-style] .metric strong{font-size:16pt}
body.studio[data-style] .metrics{margin-bottom:10px}
body.studio[data-style] td,body.studio[data-style] th{padding:6px 4px}
body.studio[data-style] .card p{margin:6px 0;line-height:1.35}
body.studio[data-style] .result-basis{padding:7px}
}

body.studio[data-style] .tool-nav{display:flex;align-items:center;gap:12px;margin:20px 0}
body.studio[data-style] .tool-nav a{padding:10px 16px;border:1px solid #c5d1d6;border-radius:12px;font-size:15px;font-weight:600}
body.studio[data-style] .tool-nav a[aria-current="page"]{background:var(--green);color:white;border-color:var(--green)}
body.studio[data-style] #library-count{margin-left:8px;padding:1px 6px;border-radius:8px;background:#fff;color:#344e5b}
body.studio[data-style] .tool-nav .jump-results{margin-left:auto;border:0;font-size:14px;padding-right:0}
body.studio[data-style] button.solid{background:var(--green);color:#fff;border-color:var(--green)}
body.studio[data-style] .filebar{align-items:flex-start;margin-top:24px}
body.studio[data-style] #recipe-status{font-size:16px;display:block}
body.studio[data-style] #recipe-status.unsaved{color:#805216}
body.studio[data-style] #save-status{font-size:13px;font-weight:400;margin:4px 0;color:var(--muted)}
body.studio[data-style] .utilitybar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin:12px 0 20px}
body.studio[data-style] .utilitybar a{font-size:14px;margin-left:auto}
body.studio[data-style] .library-toolbar{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin:28px 0 10px}
body.studio[data-style] .library-toolbar h2{margin-bottom:8px}
body.studio[data-style] #library-search{max-width:600px}
body.studio[data-style] #recipe-list{display:grid;grid-template-columns:1fr 1fr;gap:18px}
body.studio[data-style] .recipe-card{padding:24px;border:1px solid #d5e0e5;border-radius:18px;background:#fff;min-width:0;display:flex;flex-direction:column;gap:20px}
body.studio[data-style="h"] .recipe-card{background:#fffffc;border-radius:12px;border-color:#dbe2d4}
body.studio[data-style] .recipe-card h3{font-size:24px;margin:8px 0 12px;overflow-wrap:anywhere}
body.studio[data-style] .recipe-card p{margin:5px 0;font-size:15px}
body.studio[data-style] .recipe-card .actions{margin-top:auto}
body.studio[data-style] .recipe-card .eyebrow{font-size:12px}
body.studio[data-style] .empty-library{grid-column:1/-1;border:1px dashed #b8cbd3;background:#f6fafc;border-radius:18px;text-align:center;padding:36px}
body.studio[data-style] .empty-library h3{margin:0 0 12px;font-size:24px}
body.studio[data-style] .recovery-section{margin:40px 0 32px;border-top:1px solid #dbe4e8;padding-top:24px}
body.studio[data-style] .recovery-section h2{font-size:24px;margin-bottom:12px}
body.studio[data-style] .recovery-card{display:flex;gap:18px;justify-content:space-between;align-items:center;border:1px solid #d5e0e5;border-radius:12px;padding:18px;margin:14px 0;background:#fff;overflow-wrap:anywhere}
body.studio[data-style] #storage-warning{padding:18px;background:#fff5e5;border:1px solid #be9759;border-radius:12px;margin:12px 0}
body.studio[data-style] .guard-actions{display:grid;gap:10px;margin:20px 0}
body.studio[data-style] button.danger{background:white;color:#922e2e;border-color:#c49292}
body.studio[data-style] #save-error,body.studio[data-style] #protect-error,body.studio[data-style] #import-error{color:#922e2e;font-size:14px}
body.studio[data-style] #history-dialog{max-width:780px}
body.studio[data-style] .check-row label{flex:1;min-width:0}
body.studio[data-style] .check-row label span{display:block;font-size:16px}
body.studio[data-style] .check-row label strong{display:block;font-size:30px;font-weight:600;line-height:1.4}
body.studio[data-style] .check-row input:checked+label{color:var(--muted)}
body.studio[data-style] #weigh-identity{font-weight:600;font-size:14px}
body.studio[data-style] .comparison{overflow-x:auto}
body.studio[data-style] .comparison table{min-width:260px}
@media(max-width:700px){body.studio[data-style] .tool-nav{gap:8px;flex-wrap:wrap}body.studio[data-style] .tool-nav a{padding:9px 11px;font-size:14px}body.studio[data-style] .tool-nav .jump-results{flex-basis:100%;margin:0;padding:3px 0}body.studio[data-style] .library-toolbar{flex-direction:column}body.studio[data-style] #recipe-list{grid-template-columns:1fr}body.studio[data-style] .recipe-card{padding:20px}body.studio[data-style] .recovery-card{flex-direction:column;align-items:flex-start}body.studio[data-style] .utilitybar a{margin:0;flex-basis:100%}body.studio[data-style] .comparison table{font-size:12px;min-width:0}body.studio[data-style] .comparison th,body.studio[data-style] .comparison td{padding:7px 2px;white-space:normal}body.studio[data-style] .heading{margin-top:12px}body.studio[data-style] .comparison table th:first-child{width:27%}}
@media print{body.studio[data-style] .tool-nav,body.studio[data-style] .utilitybar,body.studio[data-style] #storage-warning,body.studio[data-style] #library-view{display:none!important}body.studio[data-style] #workspace-view[hidden]{display:block!important}}

body.studio[data-style] .mobile-dock{display:none}
@media(max-width:700px){body.studio[data-style] .mobile-dock{display:flex;position:fixed;bottom:0;left:0;right:0;padding:12px 14px;background:#fff;border-top:1px solid #bccdd5;gap:10px;align-items:center;z-index:8;box-shadow:0 -4px 20px #344e5b0d}body.studio[data-style] #mobile-summary{flex:1;font-size:14px;font-weight:600;line-height:1.6;min-width:0}body.studio[data-style] #mobile-results{font-size:14px;font-weight:600}body.studio[data-style] #mobile-weigh{padding:10px;min-width:64px}body.studio[data-style] main{padding-bottom:95px}}
@media print{body.studio[data-style] .mobile-dock{display:none!important}}

body.studio[data-style] .plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}body.studio[data-style] .plan-grid section{padding:18px;border:1px solid #d5e0e5;border-radius:12px}body.studio[data-style] .plan-grid h3{margin:8px 0 12px;font-size:26px}@media(max-width:700px){body.studio[data-style] .plan-grid{grid-template-columns:1fr}body.studio[data-style] footer{flex-wrap:wrap;gap:15px}}

body.studio[data-style] .tool-nav{position:sticky;top:0;z-index:4;background:#fff;padding:10px 0;border-bottom:1px solid #e0e6e8}body.studio[data-style="h"] .tool-nav{background:#fffefa}body.studio[data-style] #workspace-view,body.studio[data-style] #library-view{scroll-margin-top:90px}body.studio[data-style] .card p,body.studio[data-style] #recipe-status,body.studio[data-style] dialog p,body.studio[data-style] #history-content h3{overflow-wrap:anywhere}

@media(max-width:700px){body.studio[data-style] #weigh-dialog{padding:16px;max-height:calc(100dvh - 24px)}body.studio[data-style] #weigh-dialog .section-top{flex-direction:row;align-items:flex-start;gap:8px}body.studio[data-style] #weigh-dialog h2{font-size:22px;margin:0}body.studio[data-style] #close-weigh{flex-shrink:0;width:38px;padding:8px}body.studio[data-style] #weigh-dialog p{font-size:13px;line-height:1.45;margin:8px 0}body.studio[data-style] #weigh-dialog .check-row{padding:6px 0}body.studio[data-style] #weigh-dialog .check-row label span{font-size:14px}body.studio[data-style] #weigh-dialog .check-row label strong{font-size:30px;line-height:1.25}body.studio[data-style] #weigh-dialog details{margin:12px 0 0}body.studio[data-style] #weigh-dialog summary{font-size:14px}}
