/*! tailwindcss v4.3.4 | MIT License | https://tailwindcss.com */
@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-outline-style:solid}}}@layer theme{:root,:host{--font-sans:"Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--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,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, 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:where(:not(iframe)){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{.visible{visibility:visible}.block{display:block}.contents{display:contents}.table{display:table}.outline{outline-style:var(--tw-outline-style);outline-width:1px}}:root{font-family:var(--font-sans);color:#253830;font-synthesis:none;--green:#234c3d;--muted:#69756e;--line:#e3e8df;background:#f6f7f3;font-weight:400;line-height:1.55}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,color .15s}button:disabled{cursor:default;opacity:.5}button:focus-visible,a:focus-visible{outline-offset:3px;outline:3px solid #a98744}button{border:0}h1,h2,h3,p{margin:0}h1{letter-spacing:-1.3px;overflow-wrap:anywhere;font-size:32px;font-weight:750;line-height:1.3}h2{letter-spacing:-.5px;font-size:18px;font-weight:700}h3{font-size:17px;font-weight:700}small{font-size:12px}.muted{color:var(--muted);font-size:14px}.eyebrow{color:#728578;letter-spacing:1.7px;margin-bottom:8px;font-size:11px;font-weight:700}.trial-banner{color:#6b582b;background:#efe9d6;justify-content:center;align-items:center;gap:8px;padding:8px 12px;font-size:12px;font-weight:600;display:flex}.status-dot{background:#6e8c61;border-radius:50%;flex-shrink:0;width:6px;height:6px;display:inline-block}.trial-banner .status-dot{background:#a38847}.status-dot.offline{background:#b23c33}.app-header{border-bottom:1px solid var(--line);background:#fff}.header-inner{justify-content:space-between;align-items:center;max-width:1200px;min-height:91px;margin:auto;padding:18px 32px;display:flex}.brand{color:var(--green);align-items:center;gap:12px;font-size:18px;font-weight:750;text-decoration:none;display:flex}.brand small{color:var(--muted);margin-top:2px;font-size:11px;font-weight:400;display:block}.brand-mark{color:#f4f1db;background:var(--green);border-radius:12px;justify-content:center;align-items:center;width:42px;height:46px;display:inline-flex}.connection{color:var(--muted);align-items:center;gap:7px;font-size:12px;display:flex}.workspace{max-width:1200px;margin:auto;padding:34px 32px 130px}.page-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px;display:flex}.page-heading .muted{margin-top:9px}.month-picker{border:1px solid var(--line);background:#fff;border-radius:10px;flex-shrink:0;align-items:center;gap:6px;padding:4px;display:flex}.icon-button{min-width:38px;min-height:38px;color:var(--green);background:0 0;border-radius:7px;font-size:25px;line-height:1}.icon-button:hover{background:#edf1e9}.month-label{text-align:center;cursor:pointer;min-width:142px;font-size:16px;font-weight:650;position:relative}.month-label input{opacity:0;cursor:pointer;width:100%;position:absolute;inset:0}.month-label:focus-within{border-radius:4px;outline:2px solid #a98744}.summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px;display:grid}.summary{border:1px solid var(--line);background:#fff;border-radius:12px;min-width:0;padding:22px 23px}.summary p{color:var(--muted);margin-bottom:14px;font-size:13px}.summary strong{letter-spacing:-.7px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;font-size:clamp(20px,2.1vw,29px);font-weight:700}.summary small{margin-left:6px;font-size:13px;font-weight:400}.summary.accent{background:var(--green);color:#fff;border-color:var(--green)}.summary.accent p{color:#cfdbce}.stock-summary{grid-template-columns:1fr 1fr 2fr}.summary-note{border:1px solid var(--line);background:#eef1e8;border-radius:12px;align-items:center;gap:18px;padding:20px 25px;font-size:14px;display:flex}.summary-note svg{color:#829275;flex-shrink:0;width:32px;height:32px}.summary-note small{color:var(--muted)}.action-bar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:24px;display:flex}.actions{flex-wrap:wrap;gap:8px;display:flex}.primary,.secondary,.danger-button{border-radius:8px;justify-content:center;align-items:center;min-height:44px;padding:11px 20px;font-size:14px;font-weight:650;display:inline-flex}.primary{color:#fff;background:var(--green);border:1px solid var(--green)}.primary:hover:not(:disabled){background:#183a2e}.secondary{color:#34473a;background:#fff;border:1px solid #d6dfd1}.secondary:hover:not(:disabled){background:#edf1e9}.text-button{color:#45664e;text-underline-offset:3px;background:0 0;min-height:38px;padding:6px 8px;font-size:13px;text-decoration:underline}.danger,.error{color:#b3342e!important}.error{font-size:14px}.danger-button{color:#ac342c;background:#faeeeb;border:1px solid #ebcbc4}.alert{background:#fcf0ec;border-radius:8px;margin-bottom:16px;padding:14px 18px}.alert button{margin-left:12px}.success{color:#31582e;background:#e6efdf;border-radius:8px;justify-content:space-between;align-items:center;margin-bottom:16px;padding:8px 16px;font-size:14px;display:flex}.list-toolbar{justify-content:space-between;align-items:center;gap:18px;margin-bottom:14px;display:flex}.search{border:1px solid var(--line);color:#7b897a;background:#fff;border-radius:8px;align-items:center;gap:10px;width:310px;padding:0 14px;display:flex}.search input{background:0 0;border:0;outline:none;width:100%;min-width:0;padding:11px 0;font-size:13px}.search:focus-within{outline:2px solid #72856b}.checkbox{color:var(--muted);white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}input[type=checkbox]{accent-color:var(--green);width:16px;height:16px}.panel{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden}.panel-title{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:21px 24px;display:flex}.panel-title h2{font-size:16px}.panel-title h2 span{color:#81917c;margin-left:5px;font-size:12px;display:inline-block}.panel-title small{color:var(--muted);white-space:nowrap;font-size:11px}table{border-collapse:collapse;table-layout:fixed;width:100%;font-size:14px}thead{color:var(--muted);background:#f8f9f5;font-size:12px}th,td{text-align:right;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;border-bottom:1px solid #edf0e9;padding:18px}th{font-weight:500}th:first-child{text-align:left;width:26%;padding-left:24px}td:last-child,th:last-child{padding-right:24px}tbody tr:last-child td,tbody tr:last-child th{border-bottom:0}tbody tr:hover{background:#fbfcf8}tfoot{background:#eef2e9;font-size:13px;font-weight:700}tfoot th{font-weight:700}tfoot small{color:var(--muted);font-size:10px;font-weight:400;display:block}.row-link{text-align:left;color:var(--green);overflow-wrap:anywhere;background:0 0;width:100%;min-height:38px;padding:0;font-weight:650}.row-link:hover{text-decoration:underline}.row-link small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.strong{font-weight:750}.payment{color:#5d7b64}.badge{color:#6c746a;white-space:nowrap;background:#f0f2ec;border-radius:5px;margin-left:5px;padding:3px 8px;font-size:11px;font-weight:500;display:inline-block}.badge.sale,.badge.in{color:#47643d;background:#edf2e8}.badge.payment,.badge.out{color:#886b31;background:#f4eee0}.stock-warning{margin-top:3px;font-size:11px;font-weight:600;display:block}.empty{text-align:center;padding:55px 20px 60px}.empty-icon{color:#8a9b7e;background:#f0f3eb;border-radius:15px;justify-content:center;align-items:center;width:50px;height:50px;margin-bottom:16px;display:inline-flex}.empty h3{color:#4f6351;margin-bottom:8px;font-size:15px}.empty p{color:var(--muted);font-size:13px}.page-footnote{color:#7a857b;text-align:center;margin-top:18px;font-size:11px}.bottom-nav{height:calc(76px + env(safe-area-inset-bottom));padding:0 16px env(safe-area-inset-bottom);border-top:1px solid var(--line);z-index:10;background:#fff;justify-content:center;gap:12px;display:flex;position:fixed;bottom:0;left:0;right:0}.bottom-nav button{color:#778174;background:0 0;justify-content:center;align-items:center;gap:11px;width:164px;font-size:14px;display:flex;position:relative}.bottom-nav button[aria-current]{color:var(--green);font-weight:750}.bottom-nav button[aria-current]:before{content:"";background:var(--green);border-radius:0 0 3px 3px;height:3px;position:absolute;top:0;left:28%;right:28%}.back-button{color:var(--green);background:0 0;min-height:40px;padding:0 0 18px;font-size:13px}.detail-stock{background:#eef2e8;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:20px;padding:22px;display:grid}.metric{font-variant-numeric:tabular-nums;min-width:0}.metric span{color:var(--muted);margin-bottom:4px;font-size:11px;display:block}.metric strong{overflow-wrap:anywhere;font-size:15px;font-weight:650}.customer-memo{white-space:pre-wrap;overflow-wrap:anywhere;background:#f0eee5;border-radius:8px;margin-bottom:16px;padding:12px 16px;font-size:13px}.memo-cell,.memo-heading{text-align:left;white-space:pre-wrap;font-size:12px}.mobile-cards{display:none}.settings-grid{grid-template-columns:1fr 1fr;gap:20px;display:grid}.settings-panel{padding:26px}.section-number{color:#a5ae99;margin-bottom:9px;font-size:12px;display:block}.settings-panel h2{margin-bottom:8px}.settings-panel .month-picker{width:fit-content;margin:22px 0 16px}.settings-buttons{gap:10px;display:grid}.field-note{color:var(--muted);margin:12px 0;font-size:12px;line-height:1.7}.settings-panel>.field-note{margin:18px 0}.file-label{margin-top:18px;font-size:13px;font-weight:600;display:block}.file-label input{border:1px dashed #c5d0bf;border-radius:8px;width:100%;margin-top:8px;padding:14px;font-size:12px}input[type=file]::file-selector-button{color:#3c5639;cursor:pointer;background:#eef2e8;border:0;border-radius:5px;margin-right:10px;padding:7px 10px}.import-preview{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.import-preview ul{max-height:260px;padding:0;list-style:none;overflow:auto}.import-preview li{border-bottom:1px solid var(--line);overflow-wrap:anywhere;padding:10px 0;font-size:13px}.import-preview li span{color:var(--muted);font-size:12px;display:block}.account-panel{grid-column:1/-1;justify-content:space-between;align-items:center;gap:24px;display:flex}.account-panel button{flex-shrink:0}.legacy-panel{grid-column:1/-1;min-width:0}.legacy-file{color:var(--green);text-align:center;cursor:pointer;background:#f8f9f5;border:1px dashed #c5d0bf;border-radius:8px;margin-top:18px;padding:16px;font-size:14px;font-weight:600;display:block;position:relative}.legacy-file input{opacity:0;cursor:pointer;width:100%;height:100%;position:absolute;inset:0}.legacy-file:focus-within{outline-offset:3px;outline:3px solid #a98744}.legacy-file:has(input:disabled){opacity:.5;cursor:default}.legacy-customers{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0;display:grid}.legacy-customer{border:1px solid var(--line);overflow-wrap:anywhere;border-radius:8px;min-width:0;padding:16px}.legacy-customer-title{justify-content:space-between;align-items:flex-start;gap:10px;display:flex}.legacy-customer h4{margin:0;font-size:15px;font-weight:650}.legacy-customer .badge{flex-shrink:0;margin:0}.legacy-customer>.muted{margin-top:4px;font-size:12px}.legacy-customer dl{margin:14px 0 0;font-size:13px}.legacy-customer dl>div{justify-content:space-between;gap:12px;margin-top:6px;display:flex}.legacy-customer dt{color:var(--muted)}.legacy-customer dd{text-align:right;font-variant-numeric:tabular-nums;margin:0;font-weight:600}.legacy-totals{background:#eef2e9;border-radius:8px;flex-wrap:wrap;gap:8px 32px;padding:16px;font-size:14px;display:flex}.legacy-totals strong{font-variant-numeric:tabular-nums;margin-left:8px;display:inline-block}.legacy-counts{margin-top:14px;font-size:14px;font-weight:600}@media (width<=900px){.legacy-customers{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=640px){.legacy-customers{grid-template-columns:1fr}.legacy-panel h2{overflow-wrap:anywhere}.legacy-totals{gap:8px;font-size:13px;display:grid}.legacy-counts{font-size:13px}}dialog{color:#253830;background:#fff;border:0;border-radius:16px;width:min(480px,100% - 28px);max-height:calc(100dvh - 40px);margin:auto;padding:26px;position:fixed;inset:0;overflow-y:auto;box-shadow:0 24px 80px #14251b40}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#17271f80}.modal-head{justify-content:space-between;align-items:center;gap:10px;margin-bottom:18px;display:flex}.modal-head h2{font-size:21px}form label{margin-bottom:16px;font-size:13px;font-weight:600;display:block}form input,form textarea,form select{color:#253830;background:#fff;border:1px solid #d5ddd0;border-radius:7px;outline:none;width:100%;min-width:0;min-height:46px;margin-top:6px;padding:11px 12px;font-size:16px;font-weight:400;display:block}form textarea{resize:vertical;min-height:78px}form input:focus,form textarea:focus,form select:focus{border-color:#70866a;box-shadow:0 0 0 3px #edf2e8}fieldset{border:0;min-width:0;margin:0;padding:0}.form-actions{justify-content:flex-end;gap:10px;margin-top:23px;display:flex}.form-actions .primary{flex:1}.segmented{background:#f0f3ec;border-radius:8px;gap:4px;margin-bottom:20px;padding:4px;display:flex}.segmented button{min-height:38px;color:var(--muted);background:0 0;border-radius:5px;flex:1;padding:8px;font-size:14px}.segmented button[aria-pressed=true]{color:var(--green);background:#fff;font-weight:650;box-shadow:0 1px 5px #234c3d12}.login{place-items:center;min-height:100dvh;padding:24px;display:grid}.login-card{border:1px solid var(--line);background:#fff;border-radius:16px;width:min(400px,100%);padding:32px}.login-card .brand-mark{margin-bottom:24px}.login-card h1{margin-bottom:10px;font-size:28px}.login-card form{margin-top:26px}.login-card .primary{width:100%}@media (width<=767px){.header-inner{min-height:76px;padding:14px 20px}.brand{gap:9px;font-size:16px}.brand-mark{border-radius:9px;width:35px;height:39px}.brand small{font-size:10px}.connection{gap:5px;font-size:10px}.workspace{padding:25px 18px 120px}h1{font-size:27px}.page-heading{flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:22px}.page-heading .muted{margin-top:7px;font-size:12px}.eyebrow{margin-bottom:6px;font-size:10px}.page-heading .month-picker{justify-content:space-between;width:100%}.summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.summary{border-radius:10px;padding:16px}.summary p{margin-bottom:10px;font-size:11px}.summary strong{font-size:21px}.summary small{margin-left:3px;font-size:11px}.summary-note{grid-column:1/-1;gap:12px;padding:15px;font-size:12px}.summary-note small{font-size:10px}.summary-note svg{width:24px;height:24px}.action-bar{gap:14px;margin-bottom:20px}.action-bar>.actions:first-child{width:100%}.action-bar .primary,.action-bar .secondary{flex:1;padding:10px 12px;font-size:13px}.master-actions{justify-content:flex-end;width:100%}.list-toolbar{flex-wrap:wrap;gap:12px}.search{width:100%}.checkbox{margin-left:auto;font-size:11px}.panel-title{padding:17px 16px}.panel-title h2{font-size:15px}.panel-title small{font-size:10px}.desktop-table{display:none}.mobile-cards{padding:0 16px;display:block}.ledger-card{border-bottom:1px solid var(--line);text-align:left;width:100%;color:inherit;background:0 0;padding:19px 0;display:block}.ledger-card:last-child{border-bottom:0}.card-title{justify-content:space-between;align-items:center;gap:12px;font-size:14px;display:flex}.card-title strong{overflow-wrap:anywhere;min-width:0}.card-title>span{color:var(--muted);flex-shrink:0;font-size:11px}.card-numbers{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:17px 0;display:grid}.metric strong{font-size:14px}.metric span{font-size:10px}.card-balance{background:#f3f5ef;border-radius:6px;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:5px;padding:11px 13px;font-size:12px;display:flex}.card-balance strong{overflow-wrap:anywhere;font-size:19px}.card-balance small{font-size:11px;font-weight:400}.card-balance .stock-warning{text-align:right;width:100%}.total-note{text-align:right;padding:14px 0;font-size:11px;font-weight:600}.detail-value{margin-top:10px;font-size:22px;font-weight:700}.detail-value small{font-size:12px;font-weight:400}.running{color:var(--muted);margin-top:4px;font-size:12px}.card-memo{white-space:pre-wrap;overflow-wrap:anywhere;background:#f6f7f3;border-radius:5px;margin-top:10px;padding:10px;font-size:12px}.detail-stock{gap:10px;padding:16px}.bottom-nav{height:calc(72px + env(safe-area-inset-bottom));gap:0}.bottom-nav button{flex-direction:column;gap:4px;width:33.333%;font-size:11px}.bottom-nav svg{width:21px;height:21px}.settings-grid{grid-template-columns:1fr;gap:16px}.settings-panel{padding:22px 18px}.account-panel{flex-direction:column;align-items:stretch;gap:14px}.empty{padding:40px 16px 44px}dialog{border-radius:13px;padding:22px}.form-actions{gap:8px}.form-actions button{padding:10px 14px;font-size:13px}}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}
