:root{--ink:#182c30;--muted:#718085;--line:#e1e8e8;--teal:#007e72;--green:#08685d;--bg:#f5f8f8;--warn:#fff5e8;--red:#bd3545;--shadow:0 7px 24px rgba(22,56,60,.045);font-family:ui-sans-serif,system-ui,-apple-system,'Apple SD Gothic Neo','Malgun Gothic',sans-serif;color:var(--ink);background:var(--bg)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}a{color:#007e72}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #4ccdb7;outline-offset:2px}.shell{max-width:1290px;margin:0 auto;padding:0 22px}.site-header{height:68px;background:#fff;border-bottom:1px solid var(--line)}.nav-row{height:100%;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;gap:5px;align-items:center;font-size:21px;font-weight:850;letter-spacing:-1.15px;color:var(--ink);text-decoration:none}.brand-icon{background:#08796d;border-radius:9px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;color:white;margin-right:5px;font-size:22px}.brand-accent{color:#048b7b}.beta{font-size:10px;letter-spacing:.06em;border:1px solid #b1e0d4;border-radius:5px;padding:3px 5px;color:#007f70;margin-left:6px}.nav-right{display:flex;align-items:center;gap:13px}.privacy-chip{font-size:12px;color:#39776c;background:#eaf7f3;padding:8px 11px;border-radius:100px}.privacy-dot{display:inline-block;width:6px;height:6px;background:#00a080;border-radius:100%;margin-right:5px}.version{font-size:12px;color:#839094}.hero{padding:42px 0 26px}.eyebrow{display:flex;gap:8px;align-items:center;font-size:12px;color:#008174;font-weight:800;letter-spacing:.04em}.pulse{width:8px;height:8px;border-radius:100%;background:#26ae9a;box-shadow:0 0 0 4px #d7f5eb}.hero h1{font-size:42px;letter-spacing:-2.3px;margin:11px 0 10px;line-height:1.2}.hero h1 em{font-style:normal;color:#078c7d}.hero p{font-size:15px;color:#64757a;line-height:1.7;margin:0}.hero p strong{color:#283f43}.hero-points{display:flex;gap:18px;flex-wrap:wrap;margin-top:18px;font-size:12px;color:#4f7070}.layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:17px;align-items:start}.workspace{min-width:0}.panel{background:white;border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow);padding:23px;margin-bottom:17px}.panel-heading{display:flex;align-items:start;justify-content:space-between;gap:12px;margin-bottom:20px}.panel-heading h2{font-size:19px;margin:0 0 5px;letter-spacing:-.6px;display:inline-block}.panel-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.step{display:inline-flex;align-items:center;justify-content:center;border-radius:6px;background:#eaf8f4;color:#008b78;font-size:10px;font-weight:800;width:25px;height:23px;margin-right:10px;vertical-align:2px}.info-pill,.count-pill{white-space:nowrap;background:#f2f5f5;border-radius:8px;padding:7px 9px;font-size:11px;color:#748084}.field-grid{display:grid;gap:13px}.cols-3{grid-template-columns:1.25fr 1fr 1fr}.field label{display:block;font-size:12px;font-weight:750;margin-bottom:8px;color:#405354}.hint{font-weight:450;color:#859297}.field input,.field select{min-height:42px;width:100%;background:#fff;border:1px solid #dce4e6;border-radius:9px;padding:10px 11px;color:#263b40}.field input:focus,.field select:focus{border-color:#008d7d}.input-addon{position:relative}.input-addon input{padding-right:35px;font-variant-numeric:tabular-nums}.input-addon>span{position:absolute;right:13px;top:50%;transform:translateY(-50%);color:#899a9e;font-size:12px}.notice{font-size:12px;color:#8f6025;background:var(--warn);padding:13px 14px;border-radius:9px;margin-top:17px;line-height:1.65}.notice strong{color:#89511a}.setting-row{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding-bottom:17px;border-bottom:1px solid #eef1f1}.target-field{width:175px}.setting-hint{color:#73858a;font-size:12px;flex:1;line-height:1.5}.products-list{display:grid;gap:12px;margin-top:16px}.product-card{border:1px solid #e2e9e9;border-radius:13px;padding:16px;background:#fcfdfd}.product-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.product-index{color:#008f7f;font-size:11px;font-weight:850;margin-right:6px}.name-input{border:0!important;border-bottom:1px solid transparent!important;padding:4px 2px!important;font-weight:780;font-size:15px!important;background:transparent!important;min-height:31px!important;max-width:290px;width:100%}.name-input:focus{border-bottom-color:#009587!important;outline:none}.product-actions{display:flex;gap:7px}.icon-btn{background:white;border:1px solid #e1e8e8;border-radius:8px;font-size:12px;color:#60777a;padding:7px 10px}.icon-btn.del{background:#fff3f3;border-color:#fee1e2;color:#bc4150}.product-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.product-fields .field input{min-width:0}.product-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-top:17px}.btn{font-size:12px;font-weight:780;border:1px solid transparent;min-height:39px;padding:9px 13px;border-radius:9px;white-space:nowrap}.btn-primary{color:white;background:#068d7d}.btn-primary:hover{background:#047567}.btn-outline{border-color:#d9e5e3;background:white;color:#3a6d68}.btn-outline:hover{background:#eef9f6}.btn-plain{color:#859294;background:#f4f7f7}.btn-dark{color:white;background:#16383d}.btn-dark:hover{background:#245359}.status{font-size:12px;color:#168b75;margin-top:12px;min-height:0}.error{color:#b42338;font-size:12px;line-height:1.5;margin-top:9px}.status:empty,.error:empty{display:none}.summary-panel{position:sticky;top:17px}.highlight-result{background:linear-gradient(145deg,#143a3c,#0c6a60);border-radius:13px;color:white;padding:23px 20px;margin:0 0 17px}.result-label{font-size:12px;opacity:.78}.result-big{font-size:32px;font-weight:830;margin:9px 0 8px;white-space:nowrap;letter-spacing:-1.35px;font-variant-numeric:tabular-nums}.result-caption{font-size:11px;color:#b1d7ce}.stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.stat{border:1px solid #e8eeee;border-radius:10px;padding:14px 11px}.stat span{font-size:11px;color:#7a8c90;display:block;min-height:31px}.stat strong{font-size:17px;display:block;margin-top:8px;letter-spacing:-.4px;overflow-wrap:anywhere}.summary-divider{border-top:1px solid #edf0f0;margin:21px 0}.summary-panel h3{font-size:14px;margin:0 0 12px}.export-buttons{display:flex;gap:8px}.export-buttons .btn{flex:1}.export-buttons .btn span{font-size:9px;background:#2e675e;padding:3px 5px;border-radius:4px;margin-left:3px}.export-caption,.table-note,.fine{font-size:11px;color:#819095;line-height:1.65;margin-top:10px}.reset-link{background:none;border:0;text-decoration:underline;color:#79898c;padding:0;font-size:12px}.table-scroll{overflow:auto;max-width:100%}#resultsTable{width:100%;border-collapse:collapse;min-width:1080px;text-align:right;font-variant-numeric:tabular-nums}#resultsTable th{font-size:11px;color:#708187;padding:12px 9px;background:#f5f8f8;white-space:nowrap;font-weight:730}#resultsTable td{padding:14px 9px;border-bottom:1px solid #edf1f1;font-size:12px;white-space:nowrap}#resultsTable th:first-child,#resultsTable td:first-child{text-align:left}#resultsTable td:first-child{font-weight:730;color:#263d41}#resultsTable tbody tr:last-child td{border-bottom:0}.negative{color:#c63950!important}.positive{color:#078974!important}.bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.detail-panel h2{font-size:16px;margin:0 0 16px}.detail-panel p{line-height:1.6;font-size:12px;color:#647579;margin:9px 0}.detail-panel strong{color:#344d50}.site-footer{border-top:1px solid #e4ebeb;margin-top:22px;background:#fff}.footer-inner{display:flex;gap:12px;justify-content:space-between;align-items:center;min-height:75px;color:#859396;font-size:11px}.footer-inner strong{font-size:14px;color:#395055}.footer-inner strong span{font-weight:450;color:#9eaaac}.fee-panel{margin-top:0}@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr)}.summary-panel{position:static}.stat-grid{grid-template-columns:repeat(4,1fr)}.product-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:750px){.shell{padding:0 14px}.site-header{height:61px}.privacy-chip{font-size:10px}.hero{padding:33px 0 21px}.hero h1{font-size:32px;letter-spacing:-1.4px}.hero p{font-size:13px}.hero-points{gap:10px;font-size:11px}.panel{padding:17px;border-radius:14px}.cols-3{grid-template-columns:1fr 1fr}.cols-3>.field:first-child{grid-column:1/-1}.product-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.name-input{max-width:180px}.stat-grid{grid-template-columns:repeat(2,1fr)}.bottom-grid{grid-template-columns:1fr}.result-big{font-size:30px}.export-buttons{flex-wrap:wrap}.footer-inner{flex-wrap:wrap;padding:18px 14px}.nav-right{gap:7px}}@media(max-width:370px){.privacy-chip{display:none}.product-card{padding:12px}.product-toolbar .btn{flex-grow:1}.setting-row{align-items:start}.target-field{width:100%}}

/* Language controls & multilingual search content */
.lang-nav{display:flex;align-items:center;gap:4px;padding:3px;border:1px solid #dce8e6;border-radius:10px;background:#f8fbfa}
.lang-nav a{display:inline-block;text-decoration:none;color:#597477;font-weight:700;font-size:11px;padding:7px 9px;border-radius:7px;white-space:nowrap}
.lang-nav a[aria-current="page"]{background:#0b7c72;color:#fff}
.lang-nav a:hover:not([aria-current="page"]){background:#e5f3f0}
.faq-panel h2{font-size:18px;letter-spacing:-.4px;margin:0 0 12px}
.faq-panel h3{font-size:14px;margin:19px 0 6px}
.faq-panel p{font-size:13px;line-height:1.75;color:#61777a;margin:0}
@media(max-width:750px){.nav-right{gap:7px}.lang-nav a{padding:6px 7px;font-size:10px}.privacy-chip{display:none}.version{display:none}.brand{font-size:18px}.lang-nav{gap:1px}}
@media(max-width:365px){.brand .beta{display:none}.lang-nav a{padding:6px 5px}}

/* Currency and exchange-rate tools — v0.5 */
.fx-panel{padding:22px 24px 17px;margin-bottom:17px;border:1px solid #cae9e0;background:linear-gradient(115deg,#ffffff 65%,#effbf6)}
.fx-top{display:flex;gap:16px;align-items:start;justify-content:space-between}
.fx-kicker{font-size:10px;font-weight:850;color:#0d8e7e;letter-spacing:.07em}
.fx-top h2{margin:6px 0 5px;font-size:18px;letter-spacing:-.5px}
.fx-top p{margin:0;color:#687e7f;font-size:12px;line-height:1.55}
.fx-controls{display:flex;gap:8px;align-items:end;flex-wrap:wrap;justify-content:flex-end}
.fx-controls label{font-size:11px;font-weight:750;align-self:center;color:#4f686b}
.fx-controls select{border:1px solid #cfe1dc;border-radius:8px;background:#fff;padding:9px 12px;font-weight:780;color:#23484d;min-height:38px}
.fx-controls button{min-height:38px}
.fx-statusrow{margin:13px 0 11px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:11px;color:#54766e}
.fx-error{color:#b33643}
.fx-comparisons{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.fx-tile{border:1px solid #e2efeb;background:#fff;border-radius:9px;padding:11px 10px;min-width:0;display:flex;flex-direction:column;gap:7px}
.fx-tile span{font-weight:850;font-size:10px;color:#548079}
.fx-tile strong{font-size:15px;color:#163f3f;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.fx-foot{font-size:11px;color:#537c74;line-height:1.55;margin:12px 0 0}
.fx-caution{font-size:11px;color:#8a6b40;line-height:1.55;margin:7px 0 0}
@media(max-width:800px){.fx-top{flex-direction:column}.fx-controls{justify-content:start}.fx-comparisons{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){.fx-panel{padding:16px}.fx-comparisons{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-tile strong{font-size:14px}.fx-top h2{font-size:17px}}


/* v0.6 dashboard redesign. No advertising scripts load unless independently enabled. */
:root{--bg:#f3f7f9;--ink:#19323d;--muted:#778c95;--line:#e3ebef;--teal:#007a70;--shadow:0 12px 38px rgba(21,58,73,.055)}
body{background:var(--bg)}.site-header{height:74px;position:relative;z-index:2;box-shadow:0 2px 14px rgba(20,55,68,.025)}
.site-header .shell{max-width:1580px}.app-frame{max-width:1580px;margin:0 auto;display:grid;grid-template-columns:208px minmax(0,1fr);min-height:calc(100vh - 74px)}
.app-rail{border-right:1px solid #e2ecef;background:#fafcfc;padding:35px 14px 20px 15px;display:flex;flex-direction:column;gap:18px;align-self:stretch}
.rail-kicker{font-size:10px;letter-spacing:.18em;font-weight:900;color:#9fb0b6;padding:4px 12px}.rail-nav{display:flex;flex-direction:column;gap:5px;position:sticky;top:20px}.rail-link{min-height:42px;display:flex;align-items:center;gap:11px;padding:10px 13px;color:#73868e;text-decoration:none;font-size:12px;font-weight:740;border-radius:10px;transition:background .15s,color .15s}.rail-link:hover{background:#e9f5f3;color:#005c56}.rail-link.selected{color:#067b6e;background:#e5f5f1}.rail-icon{font-size:20px;width:22px;text-align:center;font-weight:500}.rail-footer{margin-top:auto;font-size:11px;color:#9ba9af;line-height:1.5;padding:16px 12px}
main.dashboard-main{max-width:none;min-width:0;width:100%;padding:23px 28px 52px}.site-footer .shell{max-width:1580px}
.hero{background:linear-gradient(116deg,#103b48,#145c66 58%,#097f72);color:white;border-radius:20px;padding:30px 35px 31px;position:relative;overflow:hidden;margin:0 0 17px}.hero:after{content:'';position:absolute;width:300px;height:300px;border:1px solid rgba(255,255,255,.15);border-radius:50%;right:-50px;top:-150px;box-shadow:0 0 0 50px rgba(255,255,255,.04),0 0 0 100px rgba(255,255,255,.025);pointer-events:none}
.hero .eyebrow{color:#b5f1da;font-weight:850;font-size:10px;letter-spacing:.11em;background:transparent;padding:0;display:block}.hero .eyebrow:before{content:'●';color:#79e2c0;font-size:9px;margin-right:7px}.hero h1{margin:10px 0 8px;font-size:clamp(28px,3vw,40px);letter-spacing:-1.65px}.hero h1 em{color:#9cebd2}.hero p{color:#d1e7e7;font-size:13px;max-width:690px}.hero p strong{color:white}.hero-points{margin-top:17px;color:#cee5e3}.hero-points span{background:rgba(255,255,255,.09);padding:6px 9px;border-radius:6px}
.kpi-overview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:17px}.kpi-card{border:1px solid var(--line);border-radius:16px;background:white;padding:19px 19px 18px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column;gap:9px;min-height:117px}.kpi-label{color:#7c9198;font-size:11px;font-weight:750}.kpi-number{color:#1b3d45;font-size:clamp(17px,2vw,25px);font-variant-numeric:tabular-nums;letter-spacing:-.75px;overflow-wrap:anywhere}.kpi-foot{color:#a3afb3;font-size:10px}.kpi-card:nth-child(2){background:#effbf7;border-color:#d1efe5}.kpi-card:nth-child(2) .kpi-number{color:#057665}
.panel{border-radius:16px}.layout{grid-template-columns:minmax(0,1fr) 310px}.summary-panel{padding:19px}.result-big{font-size:26px}.stat-grid{gap:7px}.stat{padding:11px 9px}.stat strong{font-size:15px}.stat span{font-size:10px}.summary-panel .export-buttons .btn{font-size:11px;padding:8px}
.section-head{margin:18px 2px 16px}.section-head h2{font-size:21px;margin:5px 0 0;letter-spacing:-.7px}.section-tag{font-size:10px;font-weight:850;letter-spacing:.1em;color:#0e9685}
.insights-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:16px}.chart-panel{min-height:320px;padding:22px}.chart-head h3{font-size:16px;letter-spacing:-.4px;margin:0 0 5px}.chart-head p{font-size:11px;color:#88999d;margin:0 0 22px}.profit-chart{display:grid;gap:16px;color:#6b8088;min-height:170px;align-content:center;font-size:12px}.profit-row{display:grid;grid-template-columns:116px minmax(0,1fr) 106px;align-items:center;gap:12px}.profit-product{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#5b717b;font-weight:760}.profit-track{height:13px;background:#eff3f5;border-radius:20px;position:relative;overflow:hidden}.profit-fill{height:100%;border-radius:20px;background:linear-gradient(90deg,#43c8ad,#087f74);min-width:2px}.profit-fill.loss{background:linear-gradient(90deg,#f6a7a5,#e46570)}.profit-amount{text-align:right;font-variant-numeric:tabular-nums;font-weight:740;color:#273f48;font-size:11px;overflow-wrap:anywhere}.profit-amount.loss{color:#cf5a62}.cost-composition{display:flex;align-items:center;gap:24px}.cost-donut{height:168px;width:168px;border-radius:50%;flex-shrink:0;display:grid;place-items:center;background:conic-gradient(#e7eef0 0 100%);transition:background .15s}.cost-donut-core{height:112px;width:112px;border-radius:50%;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;text-align:center;padding:8px}.cost-donut-core span{font-size:10px;color:#81939a}.cost-donut-core strong{font-size:14px;color:#2b4750;overflow-wrap:anywhere}.cost-legend{flex:1;display:grid;gap:15px;min-width:0}.legend-row{display:flex;align-items:center;gap:8px;font-size:11px;color:#7d9197}.legend-row strong{margin-left:auto;color:#324c52;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}.legend-dot{height:9px;width:9px;border-radius:50%;flex:0 0 auto}.legend-dot-0{background:#0d8e80}.legend-dot-1{background:#57bfae}.legend-dot-2{background:#a4dcd0}.legend-dot-3{background:#d3e7e7}
.scenario-panel{display:flex;align-items:center;gap:20px;flex-wrap:wrap;padding:18px 21px}.scenario-copy{flex:1 1 175px}.scenario-copy h3{font-size:14px;margin:0 0 5px}.scenario-copy p{font-size:11px;color:#87999c;margin:0}.scenario-buttons{display:flex;gap:5px;padding:5px;background:#f1f6f6;border-radius:11px}.scenario-btn{border:0;background:transparent;border-radius:8px;padding:9px 13px;font-size:11px;color:#82969c;font-weight:800}.scenario-btn.active{background:#10796f;color:#fff;box-shadow:0 2px 8px rgba(10,77,72,.12)}.scenario-output{display:grid;gap:7px;min-width:145px;text-align:right}.scenario-output span{font-size:10px;color:#8b9ba0}.scenario-output strong{font-size:19px;font-variant-numeric:tabular-nums;color:#087c70;overflow-wrap:anywhere}.scenario-disclaimer{width:100%;font-size:10px;color:#9aabb0;margin:0}
.ad-slot{background:repeating-linear-gradient(135deg,#fafcfd,#fafcfd 9px,#f5f9fa 9px,#f5f9fa 18px);border:1px dashed #cbdadf;border-radius:12px;text-align:center;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:9px;color:#9cabb1}.ad-eyebrow{font-size:9px;letter-spacing:.1em;font-weight:850;color:#9daeb3}.ad-slot strong{font-size:13px;color:#7f959c}.ad-slot p{font-size:10px;max-width:240px;line-height:1.6;margin:0}.ad-note{font-size:9px;color:#a6b5b9}.ad-glyph{font-size:28px;color:#afc4c7}.side-ad{padding:25px 12px;min-height:192px;margin-top:24px}.banner-ad{padding:22px;margin:0 0 17px;min-height:104px}.banner-ad p{max-width:none}
.ad-slot.ad-active{background:#fff;border:0;display:block;min-height:0;padding:0}.ad-slot.ad-active ins{display:block;min-height:110px}.ad-slot.ad-active .ad-eyebrow,.ad-slot.ad-active .ad-glyph,.ad-slot.ad-active strong,.ad-slot.ad-active p,.ad-slot.ad-active .ad-note{display:none}
@media(max-width:1360px){.app-frame{grid-template-columns:180px minmax(0,1fr)}main.dashboard-main{padding:20px 18px 35px}.layout{grid-template-columns:minmax(0,1fr) 290px}.cost-composition{gap:14px}.cost-donut{width:135px;height:135px}.cost-donut-core{width:93px;height:93px}.cost-donut-core strong{font-size:11px}}
@media(max-width:1150px){.app-frame{grid-template-columns:minmax(0,1fr)}.app-rail{display:none}main.dashboard-main{max-width:1100px;margin:0 auto;padding:19px 20px 35px}.cost-donut{height:165px;width:165px}.cost-donut-core{width:110px;height:110px}}
@media(max-width:900px){.kpi-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.insights-grid{grid-template-columns:1fr}.cost-composition{justify-content:space-around}}
@media(max-width:750px){main.dashboard-main{padding:12px 11px 32px}.hero{border-radius:14px;padding:24px 20px}.hero h1{font-size:29px}.hero p{font-size:12px}.hero-points{gap:7px}.hero-points span{font-size:10px}.kpi-overview{gap:8px}.kpi-card{padding:14px;min-height:101px}.kpi-number{font-size:20px}.kpi-foot{font-size:9px}.chart-panel{min-height:auto;padding:17px}.cost-composition{gap:10px}.cost-donut{width:125px;height:125px}.cost-donut-core{width:88px;height:88px}.cost-legend{gap:11px}.profit-row{grid-template-columns:78px minmax(0,1fr) 92px;gap:7px}.profit-product,.profit-amount{font-size:10px}.scenario-output{text-align:left}.scenario-btn{padding:8px 11px}.side-ad{margin-top:17px}}
@media(max-width:380px){.cost-composition{flex-wrap:wrap}.cost-legend{width:100%}.kpi-number{font-size:16px}.scenario-btn{padding:8px}.profit-row{grid-template-columns:68px minmax(0,1fr) 78px}}
/* Final responsive correction: restore one-column workspace when side rail is collapsed. */
@media(max-width:1150px){.layout{grid-template-columns:minmax(0,1fr)}.summary-panel{position:static}}
@media(max-width:750px){.summary-panel .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
