/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.static{position:static}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.table{display:table}}:root{--ink:#172b24;--muted:#708078;--green:#173f35;--green-soft:#e8efe9;--gold:#9a7236;--paper:#fffdf8;--background:#f2f0e8;--line:#173f3529}*{box-sizing:border-box}body{background:var(--background);color:var(--ink);margin:0;font-family:Microsoft YaHei,PingFang SC,sans-serif}.number,input,select,strong{font-family:Arial,sans-serif}button,input,select{font:inherit}main{min-height:100vh;padding:46px 20px 70px}.dashboard{width:min(1120px,100%);margin:0 auto}.page-header h1{text-align:center;margin:0;font:500 clamp(38px,5vw,60px) Georgia,Noto Serif CJK SC,serif}.top-fields{justify-content:space-between;align-items:end;gap:32px;margin:42px 0 26px;display:flex}.sales-field,.period-field{gap:9px;display:grid}.sales-field span,.period-field span{color:var(--muted);font-size:15px}.sales-field strong{border-bottom:2px solid var(--green);min-width:260px;padding:0 4px 10px;font-size:28px}.period-field select{border:1px solid var(--line);background:var(--paper);min-width:180px;color:var(--ink);border-radius:8px;padding:11px 14px;font-weight:700}.summary-row{grid-template-columns:1.55fr 1fr;align-items:stretch;gap:28px;display:grid}.profit-board,.target-board,.cost-card,.channel-card{border:1px solid var(--line);background:var(--paper);box-shadow:0 12px 35px #1730270f}.board-header{border-bottom:1px solid var(--line);background:linear-gradient(135deg,#f5f8f4,#fffdf8);justify-content:space-between;align-items:center;height:92px;padding:20px 26px;display:flex}.board-header small{color:var(--green);letter-spacing:.15em;font:700 10px Arial,sans-serif;display:block}.board-header h2{margin:6px 0 0;font:500 28px Georgia,Noto Serif CJK SC,serif}.board-status{background:var(--green-soft);color:var(--green);border-radius:999px;padding:7px 12px;font-size:12px}.profit-body{width:min(470px,100% - 52px);margin:0 26px;padding:20px 0 14px}.data-row{border-bottom:1px solid #173f3517;grid-template-columns:minmax(135px,1fr) minmax(110px,auto);align-items:center;gap:20px;min-height:45px;display:grid}.data-row span{color:var(--muted);font-size:14px}.data-row strong{text-align:right;font-size:18px}.sub-profit-row{background:#f5f7f3;border-left:3px solid #b7c8bd;grid-template-columns:1fr auto;align-items:center;width:calc(100% - 24px);margin-left:24px;padding:9px 12px;display:grid}.sub-profit-row span{color:var(--muted);font-size:13px}.progress-area{border-top:1px solid var(--line);background:#fcfbf6;gap:16px;padding:14px 26px 21px;display:grid}.progress-label{color:var(--muted);justify-content:space-between;align-items:center;margin-bottom:7px;font-size:13px;display:flex}.progress-track{background:#e5e9e4;border-radius:10px;height:7px;overflow:hidden}.progress-track i{border-radius:inherit;background:linear-gradient(90deg,#2c6757,#8dac83);height:100%;display:block}.cost-grid,.channel-grid{grid-template-columns:1fr 1fr;gap:32px 62px;margin-top:32px;display:grid}.cost-card{grid-template-rows:1fr auto;min-height:390px;display:grid}.cost-content>header,.channel-card>header{justify-content:space-between;align-items:center;display:flex}.cost-content h2,.channel-card h2{margin:0;font:500 30px Georgia,Noto Serif CJK SC,serif}.cost-content em,.channel-card em{border:1px solid var(--line);color:var(--gold);border-radius:999px;padding:7px 12px;font-size:12px;font-style:normal}.cost-value{margin:30px 0 22px;font-size:clamp(38px,5vw,54px);font-weight:500;display:block}.detail-list{border-top:1px solid var(--line)}.detail-list .data-row{grid-template-columns:1fr minmax(115px,auto);padding:4px 2px}.detail-list .data-row strong{min-width:115px;color:var(--ink);background:#f4f5f1;border-radius:6px;padding:7px 10px;font-size:16px}.correction-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;min-height:66px;padding:17px 30px;display:flex}.correction-row span{font-size:20px}.correction-row strong{font-size:21px}.expense-head,.expense-inputs{grid-template-columns:1.3fr 1fr;gap:12px;display:grid}.expense-head{color:var(--muted);padding:0 2px 7px;font-size:12px}.expense-inputs{margin-bottom:8px}.expense-inputs input,.channel-rows input{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:7px;outline:none;padding:10px 11px}.expense-inputs input:focus,.channel-rows input:focus{border-color:var(--green);box-shadow:0 0 0 3px #173f3514}.add-row{color:var(--green);cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;padding:5px 0;font-size:13px;display:flex}.add-row b{background:var(--green);color:#fff;border-radius:50%;place-items:center;width:20px;height:20px;font:400 15px Arial;display:grid}.channel-grid{margin-top:52px}.channel-card{min-height:320px;padding:27px 30px}.channel-card:first-child{border-top:4px solid var(--green)}.channel-card:last-child{border-top:4px solid #8b9f93}.channel-rows{margin-top:24px;display:grid}.channel-rows label{border-top:1px solid var(--line);color:var(--muted);grid-template-columns:1fr minmax(150px,210px);align-items:center;gap:20px;padding:10px 0;font-size:14px;display:grid}.channel-rows input{text-align:right}@media (width<=760px){main{padding:30px 14px 50px}.top-fields{flex-direction:column;align-items:stretch}.sales-field strong,.period-field select{width:100%;min-width:0}.summary-row,.cost-grid,.channel-grid{grid-template-columns:1fr}.cost-grid,.channel-grid{gap:24px}.profit-board,.target-board{min-height:auto}.data-row{grid-template-columns:1fr auto}.channel-rows label{grid-template-columns:1fr 150px}}.profit-body .data-row span,.target-body .data-row span{font-size:17px}.profit-body .data-row strong,.target-body .data-row strong{font-size:22px}.sub-profit-row span{font-size:15px}.sub-profit-row strong{font-size:18px}.detail-list{margin-top:34px}.detail-list .data-row{min-height:58px}.detail-list .data-row span{color:var(--ink);font-size:18px}.detail-list .data-row strong{font-size:18px}.expense-head,.expense-inputs{grid-template-columns:1.3fr 1fr 30px}.expense-head:after{content:""}.delete-row{color:#946253;cursor:pointer;background:#f1ebe7;border:0;border-radius:50%;align-self:center;width:28px;height:28px;font:20px/1 Arial,sans-serif}.delete-row:hover{background:#eadbd4}.expense-head{font-size:14px}.expense-inputs input{font-size:16px}.profit-board,.target-board{min-height:530px}.board-header{border-bottom:2px solid #173f3538;height:118px;padding:26px 34px}.board-header small{font-size:12px}.board-header h2{font-size:36px}.board-status{padding:9px 15px;font-size:15px}.profit-body{width:calc(100% - 68px);max-width:none;margin:0 34px;padding:22px 0 18px}.target-body{padding:22px 34px 18px}.profit-body .data-row,.target-body .data-row{border-bottom:2px solid #173f3533;min-height:64px}.profit-body .data-row span,.target-body .data-row span{color:var(--ink);font-size:20px;font-weight:600}.profit-body .data-row strong,.target-body .data-row strong{color:var(--ink);font-size:27px}.sub-profit-row{border-bottom:2px solid #173f3533;border-left:4px solid var(--green);background:#eef3ee;min-height:58px;margin-top:0;margin-bottom:0}.sub-profit-row span{color:var(--ink);font-size:18px;font-weight:600}.sub-profit-row strong{color:var(--ink);font-size:22px}.progress-area{border-top:2px solid #173f3538;gap:24px;padding:23px 34px 28px}.progress-row+.progress-row{border-top:2px solid #173f3529;padding-top:20px}.progress-label{color:var(--ink);margin-bottom:11px;font-size:18px;font-weight:600}.progress-label strong{color:var(--ink);font-size:18px}.progress-track{height:10px}.editable-row input{text-align:right;width:180px;color:var(--ink);background:#fff;border:1px solid #173f3547;border-radius:7px;outline:none;padding:9px 11px;font-size:22px;font-weight:700}.editable-row input:focus,.correction-input:focus{border-color:var(--green);box-shadow:0 0 0 3px #173f3517}.profit-source-rows{border-left:4px solid var(--green);background:#eef3ee;margin-left:24px}.profit-source-rows .data-row{min-height:52px;padding:0 14px}.profit-source-rows .data-row span{font-size:16px}.profit-source-rows .data-row strong{font-size:20px}.correction-input{border:1px solid var(--line);text-align:right;width:150px;color:var(--ink);background:#fff;border-radius:7px;outline:none;padding:9px 11px;font-size:20px;font-weight:700}.period-actions{align-items:end;gap:12px;display:flex}.api-settings-link{background:var(--green);color:#fff;border-radius:8px;align-items:center;height:43px;padding:0 16px;font-size:14px;font-weight:700;text-decoration:none;display:flex}.settings-page{background:var(--background);min-height:100vh;padding:50px 20px}.settings-shell{width:min(680px,100%);margin:0 auto}.back-link{color:var(--green);margin-bottom:30px;font-weight:700;text-decoration:none;display:inline-block}.settings-shell>header{border:1px solid var(--line);background:linear-gradient(135deg,#edf3ee,#fffdf8);border-bottom:0;padding:34px 38px}.settings-shell>header span{color:var(--green);letter-spacing:.16em;font:700 11px Arial,sans-serif}.settings-shell>header h1{margin:8px 0 14px;font:500 36px Georgia,Noto Serif CJK SC,serif}.settings-shell>header p{color:var(--ink);margin:0;line-height:1.8}.secret-form{border:1px solid var(--line);background:var(--paper);padding:34px 38px;box-shadow:0 18px 45px #17302717}.secret-status{color:var(--green);background:#eef3ee;border-radius:8px;align-items:center;gap:9px;margin-bottom:22px;padding:12px 14px;font-size:14px;display:flex}.secret-status i{background:var(--green);border-radius:50%;width:8px;height:8px}.secret-form label{gap:8px;margin:17px 0;display:grid}.secret-form label span{font:700 14px Arial,sans-serif}.secret-form input{border:1px solid var(--line);width:100%;color:var(--ink);background:#fff;border-radius:8px;outline:none;padding:13px 14px;font:16px Arial,sans-serif}.secret-form input:focus{border-color:var(--green);box-shadow:0 0 0 3px #173f3517}.secret-form button{background:var(--green);color:#fff;cursor:pointer;border:0;border-radius:8px;width:100%;margin-top:18px;padding:14px;font-size:16px;font-weight:700}.secret-form button:disabled{opacity:.6;cursor:wait}.secret-form>p{text-align:center;color:var(--muted);margin:14px 0 0;font-size:12px}@media (width<=760px){.period-actions{align-items:stretch;width:100%}.period-actions .period-field{flex:1}.api-settings-link{margin-top:23px}.settings-shell>header,.secret-form{padding:26px 22px}}.secret-form .test-button{border:1px solid var(--green);color:var(--green);background:#fff;margin-top:10px}.secret-form .test-button:hover{background:var(--green-soft)}.shop-list{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:22px;overflow:hidden}.shop-list>strong{color:var(--green);background:#eef3ee;padding:12px 14px;font-size:14px;display:block}.shop-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:12px 14px;display:flex}.shop-list span{font-weight:700}.shop-list small{color:var(--muted);text-align:right}.correction-input[readonly]{color:var(--ink);cursor:not-allowed;background:#eef1ed;border-color:#173f352e}.permission-list{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:22px;overflow:hidden}.permission-list>strong{color:var(--green);background:#eef3ee;padding:12px 14px;font-size:14px;display:block}.permission-list>div{border-top:1px solid var(--line);justify-content:space-between;gap:14px;padding:12px 14px;display:flex}.permission-list code{font-family:Arial,sans-serif;font-size:13px}.permission-list .allowed{color:#277451;font-weight:700}.permission-list .denied{color:#a14c3c;font-weight:700}.permission-list>p{border-top:1px solid var(--line);color:var(--ink);margin:0;padding:12px 14px;font-size:13px;line-height:1.6}.sheet-preview{border:1px solid var(--line);background:#fff;border-radius:8px;margin-top:22px;overflow:hidden}.sheet-preview>strong{color:var(--green);background:#eef3ee;padding:12px 14px;display:block}.sheet-preview-scroll{max-height:360px;overflow:auto}.sheet-preview table{border-collapse:collapse;min-width:100%;font:13px Arial,Microsoft YaHei,sans-serif}.sheet-preview td{border:1px solid var(--line);white-space:nowrap;min-width:100px;padding:9px 11px}.period-actions{flex-wrap:wrap}.hero-boards{gap:30px;display:grid}.completion-board{border:1px solid var(--line);background:linear-gradient(135deg,#fffdf8 0%,#f7faf7 72%,#edf3ee 100%);border-radius:28px;grid-template-columns:minmax(0,1fr) 330px;gap:34px;min-height:460px;padding:38px;display:grid;overflow:hidden;box-shadow:0 22px 55px #1730271a}.completion-main{flex-direction:column;justify-content:space-between;min-width:0;padding:8px 0;display:flex}.completion-main header small{color:var(--green);letter-spacing:.18em;font:700 12px Arial,sans-serif;display:block}.completion-main header h2{margin:10px 0 0;font:500 clamp(32px,4vw,48px) Georgia,Noto Serif CJK SC,serif}.completion-visual{margin:46px 0 32px}.completion-readout{justify-content:space-between;align-items:baseline;margin-bottom:24px;display:flex}.completion-readout strong{letter-spacing:-.045em;font-size:clamp(56px,8vw,92px);line-height:.9}.completion-readout span{font-size:22px;font-weight:800}.completion-visual.warning .completion-readout span{color:#c68a27}.completion-visual.attention .completion-readout span{color:#9a7236}.completion-visual.ahead .completion-readout span{color:#3561d8}.comparison-track{background:#e6e9eb;border-radius:99px;height:30px;position:relative;box-shadow:inset 0 2px 5px #14231f14}.comparison-track i{background:linear-gradient(90deg,#2d6757,#78a16f);border-radius:99px;height:100%;display:block;box-shadow:0 7px 18px #2d675733}.warning .comparison-track i{background:linear-gradient(90deg,#e6a33e,#efb452)}.ahead .comparison-track i{background:linear-gradient(90deg,#4669dc,#5a79e5)}.comparison-track b{background:#fff;border:2px solid #d2d7dc;border-radius:6px;width:7px;height:50px;position:absolute;top:-10px;transform:translate(-50%);box-shadow:0 2px 8px #0f1c183d}.comparison-scale{color:#748079;justify-content:space-between;margin-top:14px;font:700 14px Arial,sans-serif;display:flex;position:relative}.time-caption{color:var(--ink);white-space:nowrap;position:absolute;transform:translate(-50%)}.completion-summary{grid-template-columns:1fr 1fr;gap:18px;display:grid}.completion-summary div{border-top:1px solid var(--line);background:#ffffff85;padding:16px 18px}.completion-summary span{color:var(--muted);margin-bottom:6px;font-size:14px;display:block}.completion-summary strong{font-size:24px}.mini-detail{background:#fffdf8eb;border:1px solid #173f3533;border-radius:18px;align-self:end;padding:22px;box-shadow:0 14px 32px #17302714}.mini-detail-title{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.mini-detail-title>span{font-size:22px;font-weight:800}.mini-detail-title small{color:var(--green);font-weight:700}.mini-detail .data-row{grid-template-columns:1fr auto;gap:10px;min-height:39px}.mini-detail .data-row span{color:var(--ink);font-size:13px;font-weight:600}.mini-detail .data-row strong{font-size:15px}.mini-detail .editable-row input{width:130px;padding:6px 8px;font-size:15px}.mini-detail .profit-source-rows{border-left-width:3px;margin-left:12px}.mini-detail .profit-source-rows .data-row{min-height:35px;padding:0 9px}.mini-detail .profit-source-rows .data-row span{font-size:12px}.mini-detail .profit-source-rows .data-row strong{font-size:14px}.settlement-completion{background:linear-gradient(135deg,#fffdf8 0%,#f8f8f4 66%,#eef1ea 100%)}.settlement-detail .progress-row{margin-top:14px}.settlement-detail .progress-row+.progress-row{border-top:1px solid var(--line);padding-top:12px}.settlement-detail .progress-label{margin-bottom:5px;font-size:12px}.settlement-detail .progress-label strong{font-size:12px}.settlement-detail .progress-track{height:6px}@media (width<=880px){.completion-board{grid-template-columns:1fr;gap:24px;padding:26px}.mini-detail{width:100%}.completion-visual{margin:36px 0 26px}}@media (width<=560px){.completion-readout strong{font-size:52px}.completion-readout span{font-size:18px}.completion-summary{grid-template-columns:1fr}.comparison-track{height:24px}.comparison-track b{height:42px}.completion-board{border-radius:20px}}main{padding:28px 24px 70px}.dashboard{width:100%;max-width:none}.top-fields{max-width:none}.hero-boards{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.completion-board{grid-template-columns:minmax(0,1fr) 270px;gap:24px;min-width:0;min-height:520px;padding:30px}.completion-main header h2{font-size:clamp(29px,2.5vw,44px)}.completion-readout strong{font-size:clamp(54px,5vw,84px)}.mini-detail{padding:18px}.cost-grid{gap:28px}.cost-card{border-radius:22px;min-height:430px;overflow:hidden}.cost-content{flex-direction:column;padding:28px 32px;display:flex}.correction-hero{border-top:1px solid var(--line);border-bottom:2px solid var(--line);grid-template-columns:1fr auto;align-items:end;gap:20px;margin:28px 0 16px;padding:22px 0 24px;display:grid}.correction-hero>span{color:var(--ink);align-self:center;font-size:18px;font-weight:700}.correction-hero .correction-input{text-align:right;letter-spacing:-.04em;width:min(280px,100%);box-shadow:none;background:0 0;border:0;padding:0;font-size:clamp(48px,5vw,78px);font-weight:800;line-height:1}.correction-hero.positive .correction-input{color:#258054}.correction-hero.negative .correction-input{color:#c7443e}.correction-hero.neutral .correction-input{color:var(--ink)}.correction-hero .correction-input[readonly]{background:0 0;border:0}.cost-content .detail-list{margin-top:0}.cost-content .detail-list .data-row{min-height:56px}.expense-card{min-height:500px}.expense-card .correction-hero{margin-bottom:24px}.expense-table{margin-top:0}@media (width<=1300px){.hero-boards{grid-template-columns:1fr}.completion-board{grid-template-columns:minmax(0,1fr) 300px}}@media (width<=880px){main{padding:22px 14px 50px}.completion-board,.cost-grid{grid-template-columns:1fr}.correction-hero .correction-input{font-size:56px}}@media (width<=560px){.correction-hero{grid-template-columns:1fr}.correction-hero .correction-input{text-align:left;width:100%}}.hero-boards{grid-template-columns:minmax(0,1.16fr) minmax(0,.84fr)}.settlement-completion{grid-template-columns:minmax(0,1fr)}.settlement-completion .completion-main{width:100%}@media (width<=1300px){.hero-boards{grid-template-columns:1fr}}.settlement-completion .completion-main>header{position:relative}.settlement-completion .completion-main>header em{border:1px solid var(--line);color:var(--green);border-radius:999px;padding:7px 12px;font-size:12px;font-style:normal;position:absolute;top:0;right:0}.data-error{color:#b7463d;margin-top:6px;font-size:12px;font-weight:600;display:block}.cost-grid{width:75%;margin-left:auto;margin-right:auto}.completion-summary strong{font-size:clamp(32px,2.25vw,46px);line-height:1.12}.completion-summary span{font-size:17px;font-weight:600}@media (width<=1100px){.cost-grid{width:90%}}@media (width<=760px){.cost-grid{width:100%}}.cost-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;width:100%}.cost-content{padding:24px}.cost-content h2{font-size:28px}.correction-hero{gap:12px}.correction-hero .correction-input{font-size:clamp(42px,3.8vw,64px)}.detail-list .data-row span{font-size:16px}.detail-list .data-row strong{min-width:96px;font-size:16px}@media (width<=1500px){.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}@media (width<=760px){.cost-grid{grid-template-columns:1fr}}.channel-rows{width:min(560px,100% - 72px);margin:24px auto 0}.channel-rows label{grid-template-columns:minmax(150px,210px) minmax(170px,210px);justify-content:center;gap:28px}@media (width<=760px){.channel-rows{width:100%}.channel-rows label{grid-template-columns:1fr 150px;gap:16px}}.cost-content>header,.channel-card>header{text-align:center;justify-content:center;position:relative}.cost-content>header em,.channel-card>header em{position:absolute;right:0}.cost-grid{grid-template-columns:repeat(2,calc(25% - 13.5px));justify-content:center;align-items:stretch}@media (width<=1500px){.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=760px){.cost-grid{grid-template-columns:1fr}}.channel-profit-hero{border-top:1px solid var(--line);border-bottom:2px solid var(--line);width:min(560px,100% - 72px);color:var(--ink);flex-direction:column;align-items:center;gap:10px;margin:26px auto 0;padding:24px 0;display:flex}.channel-profit-hero span{font-size:18px;font-weight:700}.channel-profit-hero input{text-align:center;width:100%;color:var(--ink);background:0 0;border:0;outline:none;font-size:clamp(46px,4.5vw,72px);font-weight:800;line-height:1}.channel-profit-hero input:focus{border-radius:8px;box-shadow:0 0 0 3px #173f3517}.channel-profit-hero+.channel-rows{margin-top:0}@media (width<=760px){.channel-profit-hero{width:100%}}.channel-profit-hero{flex-direction:row;justify-content:center;gap:24px}.channel-profit-hero span{flex:none;font-size:22px}.channel-profit-hero input{text-align:right;flex:1;width:auto;min-width:0}.channel-rows .channel-sales-row{min-height:76px}.channel-rows .channel-sales-row span{color:var(--ink);font-size:22px;font-weight:700}.channel-rows .channel-sales-row input{padding:14px 12px;font-size:30px;font-weight:700}.signed-data-row.positive strong{color:#258054}.signed-data-row.negative strong{color:#c7443e}.signed-data-row.black strong,.signed-data-row.neutral strong{color:var(--ink)}@media (width<=560px){.channel-profit-hero{gap:14px}.channel-profit-hero span{font-size:18px}.channel-profit-hero input{font-size:42px}.channel-rows .channel-sales-row span{font-size:19px}.channel-rows .channel-sales-row input{font-size:24px}}.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr));justify-content:center;gap:24px;width:75%}.cost-card{min-height:480px}.cost-content>.correction-hero,.cost-content>.detail-list,.cost-content>.expense-table{width:min(560px,100% - 48px);margin-left:auto;margin-right:auto}.correction-hero>span{white-space:nowrap;writing-mode:horizontal-tb;letter-spacing:0;min-width:76px}.detail-list .signed-data-row.emphasis span{font-size:21px;font-weight:700}.detail-list .signed-data-row.emphasis strong{font-size:22px}@media (width<=1500px){.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr));width:90%}}@media (width<=760px){.cost-grid{grid-template-columns:1fr;width:100%}.cost-content>.correction-hero,.cost-content>.detail-list,.cost-content>.expense-table{width:100%}}html,body{max-width:100%;overflow-x:hidden}.channel-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;min-width:0}.channel-card{width:100%;min-width:0;overflow:hidden}.channel-card>header,.channel-profit-hero,.channel-rows,.channel-profit-hero input,.channel-rows input{min-width:0;max-width:100%}@media (width<=900px){.channel-grid{grid-template-columns:1fr}}.detail-list .signed-data-row.emphasis strong{min-width:140px;font-size:30px}.correction-hero.black .correction-input{color:var(--ink);font-size:clamp(36px,3vw,48px)}.editable-row.negative input{color:#c7443e}.editable-row.positive input{color:#258054}.editable-row.neutral input{color:var(--ink)}.detail-list .editable-row.emphasis span{font-size:21px;font-weight:700}.detail-list .editable-row.emphasis input{font-size:30px}.fixed-expense-row input[readonly]{color:var(--ink);cursor:default;background:#f4f5f1;font-weight:700}@media (width<=760px){.cost-grid>.expense-card{grid-column:auto;width:100%}}.cost-grid{grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch}.cost-grid>.expense-card{grid-column:auto;justify-self:stretch;width:100%}@media (width<=1500px){.cost-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cost-grid>.expense-card{grid-column:1/-1;justify-self:center;width:calc(50% - 12px)}}@media (width<=760px){.cost-grid{grid-template-columns:1fr}.cost-grid>.expense-card{grid-column:auto;width:100%}}html{scroll-behavior:smooth}.profit-completion{position:relative}.profit-board-link{width:250px;min-height:112px;color:var(--ink);z-index:2;background:#fffdf8f0;border:1px solid #173f3533;border-radius:18px;flex-direction:column;justify-content:center;gap:8px;padding:22px 24px;text-decoration:none;display:flex;position:absolute;top:34px;right:34px;box-shadow:0 12px 30px #17302714}.profit-board-link span{font:700 26px Georgia,Noto Serif CJK SC,serif}.profit-board-link small{color:var(--green);font-size:14px;font-weight:700}.profit-board-link:hover{border-color:var(--green);transform:translateY(-2px);box-shadow:0 16px 34px #17302721}#profit-dashboard{scroll-margin-top:24px}@media (width<=1300px){.profit-board-link{width:220px}}@media (width<=880px){.profit-board-link{width:100%;min-height:auto;margin-bottom:8px;position:static}.profit-completion{flex-direction:column;display:flex}}.profit-shortcuts{z-index:2;gap:12px;width:250px;display:grid;position:absolute;top:30px;right:30px}.total-sales-card{background:#fffdf8f0;border:1px solid #173f3533;border-radius:14px;justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;display:flex;box-shadow:0 9px 24px #17302712}.total-sales-card span{color:var(--muted);font-size:14px;font-weight:700}.total-sales-card strong{color:var(--ink);font-size:20px}.profit-shortcuts .profit-board-link{width:100%;min-height:82px;padding:18px 22px;position:static}.profit-shortcuts .profit-board-link span{font-size:25px}@media (width<=1300px){.profit-shortcuts{width:220px}}@media (width<=880px){.profit-shortcuts{width:100%;margin-bottom:8px;position:static}.profit-shortcuts .profit-board-link{width:100%}}.refresh-data-button{border:1px solid var(--green);background:var(--green);color:#fff;cursor:pointer;white-space:nowrap;border-radius:8px;padding:11px 18px;font-weight:700}.refresh-data-button:hover{background:#245447}.refresh-data-button:disabled{cursor:wait;opacity:.65}.period-actions{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.period-field .month-input{border:1px solid var(--line);background:var(--paper);min-width:180px;color:var(--ink);border-radius:8px;outline:none;padding:10px 14px;font-weight:700}.period-field .month-input:focus{border-color:var(--green);box-shadow:0 0 0 3px #173f3517}.sales-profit-board{border:1px solid var(--line);background:var(--paper);border-radius:24px;margin-top:30px;padding:30px 34px;scroll-margin-top:24px;box-shadow:0 16px 42px #17302714}.sales-profit-board>header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding-bottom:20px;display:flex}.sales-profit-board>header small{color:var(--green);letter-spacing:.18em;font:700 11px Arial,sans-serif}.sales-profit-board>header h2{margin:8px 0 0;font:500 34px Georgia,Noto Serif CJK SC,serif}.sales-profit-board>header em{border:1px solid var(--line);color:var(--gold);border-radius:999px;padding:7px 12px;font-size:12px;font-style:normal}.sales-profit-total{border-bottom:2px solid var(--line);justify-content:center;align-items:center;gap:28px;padding:32px 20px;display:flex}.sales-profit-total span{font-size:22px;font-weight:700}.sales-profit-total strong{font-size:clamp(46px,5vw,72px);line-height:1}.sales-profit-channels{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding-top:22px;display:grid}.sales-profit-channels>div{border:1px solid var(--line);text-align:center;background:#f6f7f3;border-radius:12px;min-width:0;padding:18px}.sales-profit-channels span{color:var(--muted);margin-bottom:9px;font-size:15px;display:block}.sales-profit-channels strong{overflow-wrap:anywhere;font-size:22px;display:block}.sales-profit-empty{min-height:180px;color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:10px;display:flex}.sales-profit-empty strong{color:var(--ink);font-size:22px}.sales-profit-empty span{font-size:14px}@media (width<=1050px){.sales-profit-channels{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width<=650px){.sales-profit-board{padding:24px 20px}.sales-profit-total{flex-direction:column;align-items:flex-start;gap:10px}.sales-profit-channels{grid-template-columns:1fr 1fr}.sales-profit-channels strong{font-size:19px}}@media (width<=420px){.sales-profit-channels{grid-template-columns:1fr}}.sales-profit-paid-amount{border-bottom:1px solid var(--line);background:#f7faf7;justify-content:center;align-items:baseline;gap:12px;padding:16px 20px;display:flex}.sales-profit-paid-amount span{color:var(--muted);font-size:16px;font-weight:700}.sales-profit-paid-amount strong{font-size:24px}.login-page{color:#10271f;background:radial-gradient(circle at 100% 0,#e8f0eb 0,#f5f2ea 42%,#eeece4 100%);place-items:center;min-height:100vh;padding:32px;display:grid}.login-card{text-align:center;background:#fffffcf0;border:1px solid #cfd8d2;border-radius:28px;width:min(460px,100%);padding:52px 48px;box-shadow:0 28px 80px #1b372c1f}.login-card small{letter-spacing:.22em;color:#45695c;font:700 12px/1.4 Arial,sans-serif}.login-card h1{margin:18px 0 12px;font-size:42px;font-weight:500}.login-card p{color:#3f554d;margin:0 0 28px;font:16px/1.8 Arial,sans-serif}.feishu-login-button{color:#fff;background:#215545;border-radius:14px;padding:16px 24px;font:700 17px/1 Arial,sans-serif;text-decoration:none;display:block;box-shadow:0 12px 28px #21554533}.feishu-login-button:hover{background:#173f33}.login-error{color:#a13b34;background:#fff0ee;border-radius:10px;margin:-8px 0 22px;padding:12px;font:14px/1.5 Arial,sans-serif}.completion-summary label{border-top:1px solid var(--line);background:#ffffff85;padding:16px 18px;display:block}.completion-summary input{border:1px solid var(--line);width:100%;color:var(--ink);text-align:right;background:#fffdf8;border-radius:8px;outline:none;padding:8px 10px;font-size:clamp(26px,2.1vw,42px);font-weight:800;line-height:1.12}.completion-summary input:focus{border-color:var(--green);box-shadow:0 0 0 3px #173f351a}.back-dashboard-link{border:1px solid var(--green);min-height:42px;color:var(--green);white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;padding:0 16px;font-weight:700;text-decoration:none;display:inline-flex}.back-dashboard-link:hover{background:#edf4ef}.sales-profit-page-header{align-items:end}.sales-profit-page-header small{color:var(--green);letter-spacing:.18em;font:700 12px Arial,sans-serif;display:block}.sales-profit-page-header h1{margin:8px 0 0}.standalone-sales-profit-board{margin-top:0}@media (width<=650px){.sales-profit-page-header{align-items:flex-start}.completion-summary input{font-size:28px}}
