:root{--ink:#252b28;--muted:#7b817d;--green:#476653;--bg:#f6f7f3;--line:#e4e8e1}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Hiragino Kaku Gothic ProN","Noto Sans JP",sans-serif;font-size:14px}header{padding:24px 4.5%;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;background:#fff}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;font-size:14px;letter-spacing:1px;font-weight:750}.brand-icon{background:var(--green);color:white;border-radius:10px;padding:9px 12px;font-size:22px}.brand small{color:var(--muted);font-weight:400;font-size:11px;letter-spacing:0;margin-left:10px}.actions{display:flex;gap:10px}button{cursor:pointer;background:white;border:1px solid #dce1d9;border-radius:8px;padding:11px 16px;font:inherit;font-size:12px;color:inherit}button:hover{filter:brightness(.95)}button:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid #829f89;outline-offset:2px}.dark{background:var(--ink);color:#fff;border-color:var(--ink)}main{max-width:1230px;margin:auto;padding:48px 32px 20px}.intro{display:flex;justify-content:space-between;align-items:center;margin-bottom:36px}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--green);font-weight:700}h1{font-size:32px;letter-spacing:-.8px;font-weight:650;margin:12px 0}p{line-height:1.8}.intro p{color:var(--muted);margin:0;font-size:13px}.pill{border:1px solid #dce5d9;border-radius:24px;background:#edf3e9;color:var(--green);padding:9px 14px;font-size:11px;white-space:nowrap}.layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(320px,1fr);gap:28px;align-items:start}.editor{display:grid;gap:20px}section{border:1px solid var(--line);border-radius:14px;background:white;padding:26px}.section-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:23px;gap:14px}h2{font-size:16px;margin:0;font-weight:650}h2 em{font-size:11px;font-style:normal;color:#8b9b8b;margin-right:12px}.section-title>span{font-size:9px;letter-spacing:1px;color:#929991}.two,.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}label{display:block;font-size:12px;color:#616b62}input,select,textarea{display:block;width:100%;margin-top:9px;background:#fafbf8;border:1px solid #e1e5dd;border-radius:7px;padding:12px;font:inherit;font-size:14px;color:var(--ink)}textarea{resize:vertical}.hint{font-size:11px;color:#899087;margin:10px 0 0;line-height:1.9}.channel{padding:20px 0;border-bottom:1px solid var(--line)}.channel:first-child{padding-top:0}.channel:last-child{border-bottom:0;padding-bottom:0}.channel-head{display:flex;align-items:center;gap:12px}.logo{width:39px;height:39px;display:grid;place-items:center;border-radius:10px;font-size:19px;font-weight:bold;color:white}.yt{background:#ee4d48}.tt{background:#252b28}.ig{background:linear-gradient(40deg,#eab46e,#c66693,#886fbd)}.channel-name{flex:1;font-weight:650;font-size:15px}.channel-name small{display:block;font-size:10px;color:var(--muted);font-weight:400;margin-top:4px}.toggle{width:19px;height:19px;margin:0;accent-color:var(--green);cursor:pointer}.quantity{display:flex;align-items:center;gap:12px;margin:17px 0 0 51px}.quantity label{flex:1}.stepper{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden}.stepper button{border:0;border-radius:0;width:36px;height:38px;padding:0;font-size:18px}.stepper input{width:54px;text-align:center;border:0;background:white;padding:8px 0;margin:0;-moz-appearance:textfield}.stepper input::-webkit-inner-spin-button{-webkit-appearance:none}.quantity>span{font-size:11px;color:var(--muted)}.channel.off{opacity:.45}.summary{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:0 9px 30px #283d2c05;border-top:4px solid var(--green)}aside{position:sticky;top:24px}.summary h2{font-size:20px;margin-top:13px}.total-label{font-size:12px;margin-top:28px;color:#697468}.total-label span{font-size:9px;margin-left:7px;padding:3px 5px;background:#edf1e9;border-radius:3px}.total{font-size:42px;letter-spacing:-1.7px;line-height:1.4;margin-top:5px;font-weight:650;font-variant-numeric:tabular-nums}.sub{font-size:11px;color:var(--muted)}.divider{height:1px;background:var(--line);margin:24px 0}.row{display:flex;justify-content:space-between;gap:15px;margin:13px 0;font-size:12px;color:#6a7369}.row strong{color:var(--ink);font-weight:550;white-space:nowrap}.row.big{font-size:14px}.bonus{background:#f1f5ec;color:#56714c;font-size:11px;padding:13px;border-radius:8px;line-height:1.8}.summary-foot{font-size:10px;color:#92988e;margin:22px 0}.primary{background:var(--green);color:white;border:0;width:100%;padding:15px}.local-note{font-size:10px;text-align:center;color:#92988e}.reset{display:block;margin:12px auto;background:none;border:0;color:#899087;font-size:10px;text-decoration:underline}footer{display:flex;justify-content:space-between;color:#92988e;font-size:9px;letter-spacing:1px;margin-top:50px;padding:22px 0;border-top:1px solid var(--line)}#settings{margin-bottom:25px;background:#edf2e9;border-color:#ccd8c8}.settings-grid{grid-template-columns:repeat(4,1fr)}#internal{font-size:13px;color:var(--green)}#recipient{white-space:pre-wrap;font-size:12px;overflow-wrap:anywhere}#notePreview{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;color:#74806e;line-height:1.8}#status{font-size:11px;color:var(--green);text-align:center;margin-top:8px}.mobile{display:none}[hidden]{display:none!important}@media(max-width:800px){header{padding:16px 20px}.brand small{display:none}.brand{font-size:11px;gap:7px}.actions{gap:5px}.actions button{font-size:10px;padding:9px}.layout{grid-template-columns:1fr}main{padding:30px 18px}.intro{gap:14px;align-items:flex-start}h1{font-size:26px}.intro p{font-size:11px}.pill{font-size:9px;padding:7px}.mobile{display:block}section{padding:22px}aside{position:static}.settings-grid{grid-template-columns:1fr 1fr}.section-title>span{display:none}.total{font-size:40px}}@media print{body{background:white}header,.intro,.editor,#settings,footer,.local-note,.reset,#copy,#status{display:none!important}main{padding:0;max-width:none}.layout{display:block}aside{position:static}.summary{border:0;box-shadow:none;padding:25px}.summary:before{content:'SOCIAL ESTIMATE — SNS運用お見積書';display:block;margin-bottom:30px;color:#476653;font-size:12px}.total{font-size:38px}.summary-foot{margin-top:35px}.bonus{print-color-adjust:exact}}

.brand{gap:11px;letter-spacing:0;flex-shrink:0}.brand-play{display:block;width:49px;color:#ff343d;transform:rotate(-7deg);filter:drop-shadow(0 3px 0 #ffd5d6)}.brand-play svg{display:block;width:100%;height:auto}.brand-wordmark{display:flex;align-items:center;gap:7px}.brand-youtube{font-family:Impact,"Arial Narrow",sans-serif;font-size:27px;letter-spacing:-.9px;font-weight:900}.brand-estimate{position:relative;display:inline-block;background:#fff0cf;color:#3c3324;padding:6px 10px 7px;border-radius:8px;transform:rotate(-4deg);font-size:16px;letter-spacing:-.6px;font-weight:850;border:1px solid #f4d796;box-shadow:0 2px 0 #f4d796}.brand-spark{position:absolute;right:-8px;top:-12px;color:#ff343d;font-size:21px;text-shadow:2px 2px white}.brand:hover .brand-play{transform:rotate(0deg)}@media(max-width:800px){.brand{gap:7px}.brand-play{width:34px}.brand-youtube{font-size:22px}.brand-estimate{font-size:12px;padding:5px 7px}.brand-wordmark{gap:5px}.brand-spark{font-size:17px;right:-6px;top:-10px}}@media(max-width:520px){header{flex-wrap:wrap;gap:17px}.actions{margin-left:auto}.brand-play{width:39px}.brand-youtube{font-size:25px}.brand-estimate{font-size:14px}}

#issuerPreview{white-space:pre-wrap;overflow-wrap:anywhere;text-align:right;font-size:12px;line-height:1.7}#quoteMeta{font-size:10px;color:#7b817d;margin-top:12px;line-height:1.8;overflow-wrap:anywhere}.per-video{font-size:11px;line-height:1.7;background:#f1f5ec;color:#476653;padding:10px;border-radius:7px;margin-top:12px}@media print{@page{size:A4;margin:15mm}.summary:before{content:'YouTube運用 お見積書';font-size:20px}.summary h2{display:none}.summary{padding:0}.row{break-inside:avoid}.total-label{margin-top:18px}.divider{margin:16px 0}#issuerPreview{font-size:12px}#notePreview{margin-top:15px}.summary-foot{margin-top:20px}}

h3{font-size:13px;margin:25px 0 14px}.service{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid var(--line);cursor:pointer}.service input{width:18px;height:18px;margin:0;accent-color:var(--green);flex-shrink:0}.service span{flex:1}.service strong{font-weight:600;color:var(--ink);font-size:12px}.service small{display:block;color:var(--muted);font-size:10px;margin-top:5px}.service b{font-size:11px;white-space:nowrap;font-weight:500;color:var(--green)}
/* Refined horizontal brand */
.brand{gap:10px}.brand-play{width:38px;color:#ff2638;transform:none;filter:none}.brand:hover .brand-play{transform:none}.brand-wordmark{gap:7px;align-items:baseline}.brand-youtube{font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-size:22px;font-weight:750;letter-spacing:-1px;line-height:1.2}.brand-estimate{background:none;border:0;box-shadow:none;padding:0;color:#69716d;transform:none;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;font-size:22px;font-weight:450;letter-spacing:-.8px;line-height:1.2;border-radius:0}.brand-spark{display:none}@media(max-width:800px){.brand{gap:8px}.brand-play{width:31px}.brand-wordmark{gap:6px}.brand-youtube,.brand-estimate{font-size:19px}}@media(max-width:520px){.brand-play{width:33px}.brand-youtube,.brand-estimate{font-size:21px}}
