:root{color-scheme:light;--navy:#172033;--navy-light:#26324b;--ink:#1e293b;--muted:#667085;--line:#d8dee9;--surface:#f4f6fa;--accent:#5267e8;--accent-dark:#4054cb;--accent-soft:#eef1ff;--danger:#c9344a;--success:#087858;font-family:Inter,Noto Sans JP,Hiragino Kaku Gothic ProN,Yu Gothic,sans-serif;font-synthesis:none}*{box-sizing:border-box}#__nuxt,body,html{width:100%;height:100%;margin:0}body{color:var(--ink);background:var(--surface);font-size:13pt}button,input,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.65}.app-shell{display:grid;grid-template-rows:auto minmax(0,1fr);height:100dvh;overflow:hidden}.app-body{min-height:0}.app-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px clamp(24px,3vw,48px);color:#fff;background:var(--navy);border-bottom:1px solid hsla(0,0%,100%,.09);box-shadow:0 2px 12px #17203324;z-index:10}.app-header h1{margin:1px 0 2px;font-size:clamp(22px,2vw,30px);letter-spacing:.05em}.eyebrow{margin:0;color:#b8c2ff;font-size:11pt;font-weight:750;letter-spacing:.16em;text-transform:uppercase}.header-copy{margin:0;color:#c6cedb;font-size:12pt}.ghost-button,.primary-button,.secondary-button{border:0;border-radius:6px;padding:10px 16px;font-size:13pt;font-weight:750;transition:.18s ease}.primary-button{color:#fff;background:var(--accent);box-shadow:0 5px 15px #4152be4d}.primary-button:hover:not(:disabled){background:var(--accent-dark);transform:translateY(-1px)}.primary-button:disabled{color:#9aa3b2;background:#c5ccd8;box-shadow:none;cursor:not-allowed;opacity:1;transform:none}.app-header .primary-button{flex:0 0 auto;padding:12px 21px}.secondary-button{color:var(--navy);background:#e9edf4;border:1px solid var(--line);white-space:nowrap}.secondary-button:hover{background:#dde3ec}.ghost-button{color:var(--muted);background:#e9edf4}.ghost-button:hover{background:#dde3ec}.workspace-grid{display:grid;grid-template-columns:minmax(400px,.82fr) minmax(0,1.18fr);width:100%;height:100%;min-height:0}.input-pane{min-width:0;overflow:auto;padding:18px clamp(18px,2vw,30px) 30px}.preview-pane{display:grid;grid-template-rows:auto minmax(0,1fr);min-width:0;overflow:hidden;padding:14px clamp(16px,2.4vw,38px) 18px;background:#dde2ea;border-left:1px solid #cdd4df}.form-sections{display:grid;gap:14px;max-width:720px;margin:0 auto}.form-card,.salary-card{padding:16px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 3px 12px #1720330a}.accent-card{background:#f2faf5;border:2px solid var(--accent);border-top:3px solid var(--accent)}.accent-card .section-number{color:var(--accent-dark);background:var(--accent-soft)}.accent-card .section-title small{color:var(--danger);font-weight:700}.salary-card{color:#fff;background:var(--navy);border:0}.section-heading{display:flex;align-items:center;gap:10px;margin-bottom:14px;cursor:pointer;list-style:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.section-heading::-webkit-details-marker{display:none}.section-title{display:grid;gap:2px}.section-title strong{color:#17233a;font-size:14pt}.section-title small{color:#9099a9;font-size:12pt;font-weight:400}.toggle-icon{margin-left:auto;color:#8792a5;font-size:17px;transition:transform .2s ease}details:not([open])>.section-heading{margin-bottom:0}details:not([open])>.section-heading .toggle-icon{transform:rotate(180deg)}.section-heading h2{margin:0;color:#17233a;font-size:14pt}.section-heading p{margin:2px 0 0;color:#9099a9;font-size:12pt}.section-number{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:var(--accent-dark);background:var(--accent-soft);font-size:11pt;font-weight:900}.salary-card .section-heading h2{color:#fff}.salary-card .section-heading p{color:#aebbd0}.salary-card .section-title strong{color:#fff}.salary-card .section-title small{color:#aebbd0}.salary-card .toggle-icon{color:#c1cbdb}.salary-card .section-number{color:#fff;background:#ffffff21}.compact-heading{margin-bottom:8px}.two-columns{display:grid;grid-template-columns:repeat(2,minmax(0,180px));gap:12px}.time-fields{display:flex;align-items:flex-end;gap:8px;margin-bottom:11px}.time-fields .field{margin-bottom:0}.time-fields .field-width-xs{max-width:48px}.time-fields .field-width-xs input{padding-inline:4px;text-align:center}.time-colon{flex:none;display:grid;place-items:center;height:42px;color:var(--ink);font-size:14pt;font-weight:700;line-height:1}.field{display:grid;gap:5px;min-width:0;margin-bottom:11px}.field-label,.group-title{color:#556177;font-size:12pt;font-weight:800;letter-spacing:.02em}.required{margin-left:3px;color:var(--danger);font-size:12pt}.group-title{display:block;margin-bottom:7px}.name-group{margin-bottom:1px}.invoice-no-composer{margin-bottom:11px}.invoice-no-row{display:flex;align-items:flex-end;gap:8px}.invoice-no-date-value{font-size:13pt;letter-spacing:.04em;white-space:nowrap}.invoice-no-dash,.invoice-no-date-value{flex:none;display:grid;place-items:center;height:42px;color:var(--ink);font-weight:700}.invoice-no-dash{font-size:14pt;line-height:1}.invoice-no-row .field{margin-bottom:0}input,textarea{width:100%;min-width:0;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:6px;outline:none;padding:8px 10px;font-size:13pt;transition:border-color .15s,box-shadow .15s,background .15s}input{height:42px}textarea{min-height:64px;line-height:1.55;resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#b3bac6}input::placeholder,textarea::placeholder{color:#b3bac6}input:focus,textarea:focus{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px #5267e81f}input.invalid,textarea.invalid{border-color:var(--danger);background:#fffafb}.field-error{display:block;color:var(--danger);font-size:11pt;line-height:1.3}.field-hint,.postal-status{color:#758196;font-size:11pt}.postal-status{display:block;margin:-7px 0 9px}.field-control{display:grid;position:relative;min-width:0}.field-control.has-append{grid-template-columns:minmax(150px,1fr) auto;gap:8px}.field-width-xs{width:100%;max-width:64px}.field-control.has-prefix.field-width-xs{max-width:110px}.field-width-sm{width:100%;max-width:200px}.field-width-md{width:100%;max-width:240px}.field-width-full{width:100%}.field-control.has-append.field-width-sm{max-width:380px;grid-template-columns:200px auto}.field-prefix{position:absolute;top:50%;left:11px;z-index:1;color:#7e899b;font-size:12pt;transform:translateY(-50%)}.field-control.has-prefix input{padding-left:28px;text-align:right}.field-control.is-date{display:grid;max-width:150px}.field-control.is-date>.date-display,.field-control.is-date>input.date-native{grid-area:1/1}.date-display{display:flex;align-items:center;height:42px;padding:8px 34px 8px 10px;border:1px solid var(--line);border-radius:6px;background:var(--surface);color:var(--ink);font-size:13pt;pointer-events:none;z-index:1}.date-display.empty{color:#b3bac6}.date-display.invalid{border-color:var(--danger);background:#fffafb}input.date-native{color:transparent;caret-color:transparent;background:transparent;position:relative;z-index:2}input.date-native::-webkit-datetime-edit,input.date-native::-webkit-datetime-edit-day-field,input.date-native::-webkit-datetime-edit-fields-wrapper,input.date-native::-webkit-datetime-edit-month-field,input.date-native::-webkit-datetime-edit-text,input.date-native::-webkit-datetime-edit-weekday-field,input.date-native::-webkit-datetime-edit-year-field{color:transparent;caret-color:transparent}input.date-native::-webkit-calendar-picker-indicator{position:absolute;right:8px;cursor:pointer;opacity:1}.field-control.is-date:focus-within .date-display{background:#fff;border-color:var(--accent);box-shadow:0 0 0 3px #5267e81f}.mail-stack{display:grid;gap:10px;margin-bottom:13px}.email-field{min-width:0}.field-label-row{display:flex;align-items:center;justify-content:space-between;min-height:20px;margin-bottom:3px}.email-row{display:flex;gap:3px;margin-bottom:4px}.email-row input{padding-inline:10px;font-size:13pt}.plus-button,.remove-button{display:inline-grid;place-items:center;border:0;border-radius:5px;padding:0}.plus-button{width:28px;height:28px;color:var(--accent-dark);background:var(--accent-soft)}.plus-button svg{display:block;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.plus-button:hover{color:#fff;background:var(--accent)}.plus-button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.remove-button{flex:0 0 28px;height:42px;color:#a64d59;background:#fff0f2;font-size:14pt}.address-lookup-button{height:42px;padding:7px 13px;color:#fff;background:var(--accent);border:1px solid var(--accent);border-radius:6px;box-shadow:0 2px 7px #5267e838;font-size:12pt;font-weight:750;white-space:nowrap;transition:background .15s ease,box-shadow .15s ease,transform .15s ease}.address-lookup-button:hover{background:var(--accent-dark);box-shadow:0 4px 10px #5267e845;transform:translateY(-1px)}.address-lookup-button:focus-visible{outline:3px solid rgba(82,103,232,.22);outline-offset:2px}.address-lookup-button:disabled{transform:none}.salary-breakdown{margin:0}.salary-breakdown>div{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid hsla(0,0%,100%,.1)}.salary-breakdown dt{color:#b9c5d7;font-size:12pt}.salary-breakdown dd{margin:0;font-size:13pt;font-weight:800}.salary-breakdown small{color:#aebbd0;font-size:11pt;font-weight:500}.salary-breakdown .salary-total{border:0;padding-bottom:0}.salary-total dd{color:#aeb9ff;font-size:18pt}.preview-header{display:flex;align-items:center;justify-content:space-between;width:min(100%,720px);margin:0 auto 9px;color:#697487;font-size:12pt;font-weight:800;letter-spacing:.07em}.preview-header div{display:flex;align-items:center;gap:7px}.live-dot{width:7px;height:7px;border-radius:50%;background:#27b886;box-shadow:0 0 0 3px #27b88626}.preview-header>span{padding:3px 7px;border-radius:4px;background:#cfd5de}.invoice-stage{display:grid;place-items:center;min-width:0;min-height:0;overflow:hidden}.invoice-sheet{display:flex;flex-direction:column;justify-content:space-between;width:auto;max-width:100%;height:100%;max-height:100%;aspect-ratio:210/297;min-height:0;margin:0 auto;padding:clamp(24px,3.2vw,48px);background:#fff;box-shadow:0 16px 42px #1720332e;color:#1d2738;font-size:12pt}.invoice-top{display:grid;grid-template-columns:1fr 1fr;gap:28px}.invoice-kicker{margin:0 0 3px;color:var(--accent);font-size:10pt;font-weight:900;letter-spacing:.3em}.invoice-top h2{margin:0 0 25px;font-size:20pt;letter-spacing:.15em}.invoice-client{margin:0;padding-bottom:7px;border-bottom:1px solid #26344c;font-size:12pt}.invoice-client strong{font-size:14pt}.invoice-greeting{color:#596577;font-size:11pt}.invoice-meta{text-align:right;font-size:11pt}.invoice-meta>p{margin:0 0 5px}.sender-block{display:grid;justify-items:end;gap:3px;margin-top:20px;color:#596577;font-size:11pt}.sender-block strong{color:#263248;font-size:13pt}.preview-missing{font-weight:700}.invoice-meta strong.preview-missing,.preview-missing{color:var(--danger)!important}.invoice-total{display:flex;align-items:center;justify-content:space-between;margin:34px 0 24px;padding:13px 17px;color:#fff;background:var(--navy)}.invoice-total span{font-size:12pt;font-weight:800}.invoice-total small{color:#c3cad5;font-size:10pt}.invoice-total strong{font-size:20pt}.invoice-table{width:100%;border-collapse:collapse;font-size:11pt}.invoice-table th{padding:8px;color:#fff;background:#53617a;border-right:1px solid #738096;text-align:left}.invoice-table td:not(:first-child),.invoice-table th:not(:first-child){text-align:right}.invoice-table td{padding:11px 8px;border-bottom:1px solid #dce1e8;vertical-align:top}.invoice-table td small{color:#8d97a7;font-size:10pt}.invoice-summary{display:flex;justify-content:flex-end;margin-top:15px}.invoice-summary dl{width:48%;margin:0}.invoice-summary dl>div{display:flex;justify-content:space-between;padding:7px 8px;border-bottom:1px solid #e4e7ec;font-size:11pt}.invoice-summary dt{color:#677387}.invoice-summary dd{margin:0;font-weight:800}.invoice-summary dl>div:last-child{color:#fff;background:var(--navy);border:0;font-size:12pt}.invoice-summary dl>div:last-child dt{color:#fff}.invoice-footer{padding-top:12px;border-top:1px solid #dce1e8}.invoice-footer p{margin:0 0 4px;color:#667085;font-size:11pt}.invoice-footer strong{display:block;font-size:12pt;line-height:1.55;white-space:pre-wrap}.invoice-footer small{display:block;margin-top:13px;color:#7d8795;font-size:10pt}.modal-backdrop{position:fixed;inset:0;display:grid;place-items:center;padding:20px;background:#0d16259e;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:100}.modal-card{width:min(100%,430px);padding:30px;border-radius:16px;background:#fff;box-shadow:0 22px 60px #0912224d;text-align:center}.modal-card h2{margin:14px 0 8px;color:#1c2940;font-size:16pt}.modal-card p{margin:0 auto;max-width:330px;color:#707c8f;font-size:12pt;line-height:1.8}.modal-icon{display:grid;place-items:center;width:45px;height:45px;margin:0 auto;border-radius:50%;color:var(--accent);background:#edf0ff;font-size:18pt;font-weight:900}.modal-icon.success{color:var(--success);background:#e8f8f2}.modal-icon.mail{color:#a96a22;background:#fff3e5}.modal-actions{display:flex;justify-content:center;gap:9px;margin-top:23px}.modal-actions button{min-width:120px}@media(max-width:1100px){.workspace-grid{grid-template-columns:minmax(370px,.9fr) minmax(0,1.1fr)}}@media(max-width:680px){.app-shell{height:auto;min-height:100dvh;overflow:visible}.app-header{position:sticky;top:0;padding:12px 16px}.header-copy{display:none}.workspace-grid{display:block}.input-pane,.preview-pane{overflow:visible;padding:14px}.preview-pane{display:block}.invoice-stage{overflow:visible}.invoice-sheet{min-height:630px}}@media(max-width:520px){.app-header h1{font-size:17px}.app-header .primary-button{padding:10px 12px;font-size:12pt}.two-columns{grid-template-columns:1fr}.invoice-sheet{width:100%;height:auto;min-height:520px;padding:22px}.invoice-top{gap:14px}.invoice-top h2{font-size:17px}.invoice-total{margin-block:23px 18px}}@page{size:A4 portrait;margin:0}@media print{#__nuxt,.app-body,.app-shell,.preview-pane,.workspace-grid,body,html{width:210mm;height:297mm;margin:0;overflow:visible;background:#fff}.no-print{display:none!important}.workspace-grid{display:block}.preview-pane{padding:0;border:0}.invoice-sheet{width:210mm;height:297mm;min-height:0;aspect-ratio:auto;margin:0;padding:16mm;box-shadow:none}.invoice-top h2{font-size:24px}.invoice-client{font-size:12px}.invoice-client strong{font-size:17px}.invoice-greeting,.invoice-meta{font-size:9pt}.invoice-table{font-size:10pt}.invoice-summary dl>div{font-size:9.5pt}.invoice-summary dl>div:last-child{font-size:10.5pt}.invoice-footer p{font-size:9pt}.invoice-footer strong{font-size:10pt}.invoice-footer small{font-size:8pt}*{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
