:root{font-family:Inter,"Segoe UI",sans-serif;color:#24283e;background:#f4f6fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{height:84px;background:#fff;border-bottom:1px solid #e5e8f0;display:flex;align-items:center;justify-content:space-between;padding:0 5%}.brand{display:flex;gap:9px;align-items:center;color:#22273d;text-decoration:none;font-weight:800;letter-spacing:1px;font-size:18px}.logo{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#242a43;color:#91efce;margin-right:7px}.muted{font-weight:400;color:#757a8e}.local{font-size:12px;color:#55796a;letter-spacing:1px}main{max-width:1440px;padding:42px 5% 0;margin:auto}.heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:#787e92;margin:0 0 10px}h1{font-size:38px;letter-spacing:-1.2px;margin:0 0 10px}h2{font-size:23px;margin:0}h3{font-size:16px;margin:0}.subtitle{color:#767b8e;margin:0;font-size:16px}.timezone{text-align:right;font-size:14px;color:#7b8193}.timezone strong{display:block;color:#333a52;font-size:16px;margin-top:7px}.toolbar{display:flex;gap:24px;align-items:center;background:#fff;border:1px solid #e3e7ef;border-radius:13px;padding:18px 22px;margin-bottom:25px}.toolbar label{font-size:14px;margin-right:14px;font-weight:600}input,select{font:inherit;color:#34394e;background:#fff;border:1px solid #dbe0eb;border-radius:7px;padding:10px 12px}.toolbar p{font-size:14px;margin:0;color:#666e83;line-height:1.6}.toolbar p span{font-size:12px;color:#878e9f}.toolbar button{margin-left:auto}button{font:600 14px "Segoe UI",sans-serif;border:0;border-radius:8px;background:#303951;color:#fff;padding:12px 18px;cursor:pointer;transition:background .15s}button:hover{filter:brightness(.93)}button:disabled{opacity:.45;cursor:not-allowed}.secondary{background:#fff;color:#46506a;border:1px solid #dce1eb}.danger{background:#fff0ef;color:#b74e4e;border:1px solid #f2d8d7}.markets{display:grid;grid-template-columns:1fr 1fr;gap:24px}.market{background:#fff;border:1px solid #e1e6ef;border-radius:15px;overflow:hidden;padding:25px;min-width:0;border-top:3px solid #e56f78}.market.korea{border-top-color:#678bea}.market-title{display:flex;align-items:center;gap:14px}.country-code{display:grid;place-items:center;width:48px;height:48px;border-radius:12px;color:#c65363;background:#fff0f1;font-size:16px;font-weight:800}.korea .country-code{color:#4f71c1;background:#eef3ff}.market-title div span{font-size:13px;color:#888d9c}.badge{margin-left:auto;border:1px solid #e6e9ef;border-radius:5px;color:#8b91a1;padding:5px 8px;font-size:11px;letter-spacing:1px}.stats{display:grid;grid-template-columns:repeat(5,1fr);background:#f7f8fb;border-radius:9px;margin:25px 0;padding:17px 0}.stats div{text-align:center;border-right:1px solid #e4e8f0;min-width:0}.stats div:last-child{border:0}.stats span{color:#7f879c;font-size:13px}.stats strong{display:block;font-size:25px;margin-top:8px;overflow-wrap:anywhere}.day-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-bottom:15px}.count{font-size:13px;color:#7a8296}.rows{height:208px;overflow:auto;border-top:1px solid #edf0f6;border-bottom:1px solid #edf0f6}.empty{height:100%;display:grid;place-items:center;text-align:center;color:#949aab;font-size:14px;margin:0}.record{display:flex;gap:10px;justify-content:space-between;padding:12px 0;border-bottom:1px solid #f1f3f8}.record code{font-size:13px;overflow-wrap:anywhere;min-width:0}.record time{font-size:12px;color:#8990a2;flex-shrink:0}.preview-note{font-size:12px;color:#9298a7;line-height:1.6}.actions{display:flex;gap:10px;margin-top:20px}.actions button{flex:1}.import-panel{margin-top:28px;display:grid;grid-template-columns:1fr 1.65fr;gap:40px;border:1px solid #e1e6ef;background:#fff;border-radius:14px;padding:28px}.import-panel p:not(.eyebrow){font-size:14px;line-height:1.8;color:#858c9d}.rule{display:inline-block;margin-top:12px;font-size:13px;color:#448b75}.form-top{display:flex;align-items:center;justify-content:space-between;font-size:14px;margin-bottom:12px}.form-top select{font-size:14px}textarea{width:100%;resize:vertical;min-height:125px;border:1px solid #dfe4ee;border-radius:8px;background:#fafbfd;padding:14px;font:14px/1.6 Consolas,monospace;color:#414a63}.form-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:12px}.form-bottom span{font-size:12px;color:#8a91a2}footer{display:flex;justify-content:space-between;gap:15px;padding:25px 0;color:#959cad;font-size:12px}footer span:first-child{letter-spacing:2px}#notice{padding:15px 20px;border-radius:8px;margin-bottom:20px;font-size:14px}.success{background:#e3f5ed;color:#26775c}.error{background:#fce9e7;color:#a34242}dialog{border:1px solid #dde2eb;border-radius:15px;padding:30px;max-width:540px;width:calc(100% - 32px);color:#323a50}dialog p{line-height:1.7;color:#72798d}dialog::backdrop{background:#20283f88}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}:focus-visible{outline:3px solid #7a9cea;outline-offset:3px}@media(max-width:850px){.markets,.import-panel{grid-template-columns:1fr}.heading{align-items:flex-start}.timezone{font-size:12px}.toolbar{flex-wrap:wrap;gap:15px}.toolbar p{display:none}.import-panel{gap:20px}}@media(max-width:480px){header{height:68px}.local{display:none}main{padding-top:28px}h1{font-size:30px}.timezone{display:none}.market{padding:18px}.stats strong{font-size:21px}.actions{flex-direction:column}.form-bottom{align-items:stretch;flex-direction:column}.toolbar{padding:15px}.toolbar button{margin-left:0}.toolbar label{display:block;margin-bottom:8px}footer{flex-direction:column}}

.download-date{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;font-size:14px}.full-button{width:100%;margin-top:16px}.api-panel{margin-top:28px;background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:28px}.api-panel p{font-size:14px;line-height:1.8;overflow-wrap:anywhere;color:#687187}.api-panel label{display:block;font-size:14px;margin:20px 0 10px}.key-row{display:flex;gap:10px}.key-row input{flex:1;min-width:0}#full-dialog{max-width:1100px}#full-content{height:55vh;overflow:auto;background:#f4f6fa;border-radius:8px;padding:16px;font:14px/1.8 Consolas,monospace;white-space:pre}#full-count{font-size:14px}.endpoint{user-select:all}

.daily-panel{margin-top:28px;background:#fff;border:1px solid #e1e6ef;border-radius:14px;padding:25px}.daily-panel .day-heading{flex-wrap:wrap}.daily-description,#daily-range{font-size:14px;color:#737c90;line-height:1.7}.daily-description{margin:0 0 18px}.daily-table-wrap{max-height:480px;overflow:auto;border:1px solid #e6eaf1;border-radius:9px}.daily-table{width:100%;border-collapse:separate;border-spacing:0;font-size:14px;font-variant-numeric:tabular-nums}.daily-table th,.daily-table td{padding:12px 18px;border-bottom:1px solid #edf0f6;text-align:right}.daily-table th:first-child,.daily-table td:first-child{text-align:left}.daily-table tbody th{font-weight:500}.daily-table thead th{position:sticky;top:0;background:#f5f7fb;z-index:1;color:#586177}.daily-table tfoot th,.daily-table tfoot td{position:sticky;bottom:0;background:#f5f7fb;font-weight:700;border-top:1px solid #dde3ee;border-bottom:0}.daily-table tbody tr:hover{background:#fafbfe}.daily-japan{color:#b64b5b;font-weight:600}.daily-korea{color:#4368b5;font-weight:600}.daily-zero{color:#858c9e}@media(max-width:480px){.daily-panel{padding:18px}.daily-table th,.daily-table td{padding:12px 10px}.daily-panel h2{font-size:21px}}

.marked-note{font-size:14px;color:#b42332;line-height:1.6}.daily-table .marked-row th,.daily-table .marked-row td{background:#ffe8e9;color:#b42332;font-weight:700;border-bottom-color:#f3bdc2}.daily-table .marked-row th{border-left:4px solid #d73345}[data-calendar]{cursor:pointer;width:150px}.marked-date{background:#ffe0e3!important;color:#b0182a!important;border:2px solid #d73345!important}#calendar-dialog{max-width:400px}.calendar-nav{display:flex;align-items:center;justify-content:space-between;gap:10px}.calendar-nav h2{font-size:19px}.calendar-week,#calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}.calendar-week{margin:20px 0 10px;text-align:center;font-size:13px;color:#7a8294}.calendar-day{padding:11px 0;background:#f4f6fa;color:#353d53;border:2px solid transparent;border-radius:7px}.calendar-day.selected-date{outline:2px solid #34496d;outline-offset:1px}.calendar-day[aria-current="date"]{text-decoration:underline;text-underline-offset:4px}
