:root{--bg:#f4f7fa;--paper:#fff;--ink:#172e40;--muted:#738290;--line:#e5ebf0;--accent:#155f67;--accent-dark:#104c53;--mint:#e7f3ef;--error:#b43a3a;--body:"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;--number:"Bahnschrift","SFMono-Regular","Consolas",monospace}
*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:14px/1.6 var(--body);-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button,a,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{transition:background .15s,transform .15s}button:active{transform:translateY(1px)}button:disabled{opacity:.55;cursor:wait}a{color:inherit;text-decoration:none}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}svg.svg-library{position:absolute;width:0;height:0;overflow:hidden}button{border:0}input,select,textarea{width:100%;min-width:0;color:var(--ink);background:#fbfcfe;border:1px solid #dce4eb;border-radius:9px;padding:12px 13px;min-height:47px;outline:none;transition:border-color .15s,box-shadow .15s}input:focus,select:focus,textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px #155f6712;background:#fff}textarea{resize:vertical;line-height:1.7}input[type=date],input[type=time]{font-family:var(--number);font-size:16px;appearance:none;-webkit-appearance:none}input[type=time]::-webkit-date-and-time-value,input[type=date]::-webkit-date-and-time-value{text-align:left}input::placeholder,textarea::placeholder{color:#98a3ae}label,legend{font-weight:600;display:flex;gap:5px;align-items:center;font-size:13px;margin-bottom:9px}label svg{width:16px;height:16px}fieldset{border:0;padding:0;margin:0}legend{padding:0}.field{margin:0 0 20px;min-width:0}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;min-width:0}.unit{font-size:11px;color:var(--muted);font-weight:400;margin-left:4px}:focus-visible{outline:3px solid #267b87;outline-offset:3px}[hidden]{display:none!important}.primary,.secondary{min-height:46px;padding:12px 18px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-weight:600;white-space:nowrap}.primary{color:#fff;background:var(--accent)}.primary:hover{background:var(--accent-dark)}.primary svg{width:18px;height:18px}.secondary{color:var(--ink);background:#f1f5f8;border:1px solid #e1e7ed}.secondary:hover{background:#e8eff3}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:7px 0;color:var(--accent);background:none;font-size:12px;font-weight:600;min-height:36px}.text-button:hover{text-decoration:underline}.text-button svg{width:15px;height:15px}.error{color:var(--error);font-size:13px;min-height:2px}.muted{color:var(--muted)}.boot{padding:40vh 16px;text-align:center;color:var(--muted)}.header{background:var(--paper);border-bottom:1px solid var(--line)}.header-inner{max-width:1160px;padding:20px 32px;margin:auto;display:flex;justify-content:space-between;align-items:center}.brand{display:flex;align-items:center;gap:11px;font-size:21px;font-weight:700;line-height:1.1}.brand-mark{width:38px;height:38px;background:var(--accent);color:white;border-radius:11px;display:grid;place-items:center}.brand-mark svg{width:26px;height:26px}.brand-en{display:block;font-size:8px;letter-spacing:2px;color:var(--muted);font-weight:600;margin-top:5px}.header-actions{display:flex;gap:24px;align-items:center}.timezone{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px}.timezone time{font:13px var(--number);color:var(--ink)}.live-dot{width:6px;height:6px;border-radius:50%;background:#3e9d83;display:inline-block;flex:none}.icon-button{background:transparent;border:1px solid var(--line);border-radius:9px;width:36px;height:36px;display:grid;place-items:center;color:#6b7d8a}.icon-button:hover{background:var(--bg)}.container{max-width:1120px;margin:0 auto;padding:38px 32px 0}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:2.3px;font-weight:600;color:var(--muted)}h1,h2,p{margin-top:0}h1{font-size:30px;letter-spacing:-1px;line-height:1.4;margin:7px 0 8px;font-weight:650}.heading-dot{color:#569c8e;font-size:34px;margin-left:3px}.page-heading p{font-size:13px;color:var(--muted);margin:0}.environment{display:flex;gap:8px;align-items:center;font-size:11px;background:#eaf2ef;border:1px solid #d9e8e1;border-radius:25px;padding:6px 11px;white-space:nowrap;color:#426a5d}.notice{padding:12px 16px;color:#70541e;background:#fff4da;border:1px solid #f0e0b9;border-radius:9px;font-size:12px}.checkin-grid{display:grid;grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);gap:24px;align-items:start}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;box-shadow:0 3px 12px #172e4003}.form-card{padding:26px 28px}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:23px}.section-title h2{font-size:15px;margin:0;font-weight:650}.section-title>span{font-size:10px;color:var(--muted)}.period-options{display:flex;gap:12px}.period{flex:1;min-width:0;background:#fff;border:1px solid #dfe6ec;border-radius:10px;padding:15px 12px;color:#607383;display:flex;align-items:center;gap:10px;text-align:left;min-height:78px}.period>svg{width:24px;height:24px}.period strong{display:block;font-weight:600;font-size:13px}.period small{font-size:8px;letter-spacing:.6px;display:block;margin-top:2px;color:#8897a1}.period.selected{border-color:#8eb5ae;background:#f1f8f5;color:var(--accent)}.period.selected small{color:#63968c}.radio-dot{width:13px;height:13px;border:1px solid #c5d0d9;border-radius:50%;margin-left:auto;flex:none}.period.selected .radio-dot{border:4px solid var(--accent);background:white}.section-divider{height:1px;background:var(--line);margin:25px 0}.time-label-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:13px;gap:12px}.time-label-row label{margin:0}.mode-switch{display:flex;gap:2px;background:#eef2f5;border-radius:7px;padding:3px}.mode-switch button{background:none;font-size:11px;color:#71818f;padding:5px 12px;border-radius:5px}.mode-switch button.active{background:#fff;color:var(--ink);box-shadow:0 1px 4px #17304413}.time-input-row{display:flex;gap:12px}.time-input-row input{flex:1;width:0;font-size:20px;letter-spacing:1px;min-height:51px}.time-input-row .secondary{font-size:11px;gap:6px;padding:11px 13px}.time-input-row svg{width:16px;height:16px}.field-hint{font-size:11px;color:var(--muted);margin:9px 0 0;line-height:1.7}.range-settings{border-radius:8px;background:#f6f8fa;padding:0 12px;margin-top:15px}.range-settings summary{font-size:11px;color:#6b7e8b;padding:11px 0;display:flex;justify-content:space-between}.range-settings .field-row{margin-top:5px}.range-settings .field{margin-bottom:3px}.range-settings label{font-size:11px}.range-settings .text-button{margin:5px 0}.device-settings summary{font-size:12px;color:var(--muted);display:flex;justify-content:space-between;list-style:none;min-height:38px;align-items:center}summary::-webkit-details-marker{display:none}details[open]>summary{margin-bottom:12px}details[open]>summary>span{transform:rotate(45deg)}.device-settings[open] .field-hint{margin:-10px 0 16px}.device-settings .field:last-child{margin-bottom:4px}.preview-column{display:grid;gap:18px;position:sticky;top:24px}.time-card{border-radius:16px;overflow:hidden;background:var(--mint);border:1px solid #d4e8df;color:#21594f;position:relative}.ticket-top{padding:21px 24px;display:flex;justify-content:space-between;font-size:12px;font-weight:600}.ticket-label{font-size:10px;color:#6c9186;font-weight:400;letter-spacing:1px}.ticket-face{padding:10px 24px 29px}.ticket-date{font:13px var(--number);letter-spacing:1.3px;color:#5d887c}.big-time{display:flex;align-items:center;gap:11px;line-height:1.2;margin:10px 0 13px;font-family:var(--number);font-variant-numeric:tabular-nums;letter-spacing:-3px;font-size:66px;font-weight:400}.big-time>span:last-child{font-size:30px;line-height:1.3;letter-spacing:-1px;align-self:center;background:#d7eae1;border-radius:8px;padding:6px 8px;color:#3d7c6c}.time-zone-note{font-size:10px;color:#6c9186;letter-spacing:.7px}.ticket-rule{margin:0 22px;border-top:1px dashed #a3c6b9;position:relative}.ticket-rule:before,.ticket-rule:after{content:"";position:absolute;top:-9px;width:16px;height:16px;border:1px solid #d4e8df;background:var(--bg);border-radius:50%}.ticket-rule:before{left:-31px}.ticket-rule:after{right:-31px}.ticket-bottom{display:flex;justify-content:space-between;padding:20px 24px;font-size:11px;gap:12px;overflow-wrap:anywhere}.ticket-bottom>span:first-child{font-weight:600}.spark{margin-left:5px;font-size:16px}.submit-card{padding:24px}.preview-line{display:flex;align-items:start;justify-content:space-between;gap:24px;font-size:12px;margin-bottom:16px}.preview-line>span{color:var(--muted);white-space:nowrap}.preview-line strong{font-weight:500;text-align:right;overflow-wrap:anywhere}.submit-note{background:#f5f8fa;border-radius:8px;padding:12px;display:flex;align-items:flex-start;gap:8px;color:#778895;font-size:11px;margin:22px 0 17px}.submit-note svg{width:15px;height:15px;margin-top:2px}.submit-card .primary{width:100%;justify-content:space-between;padding:14px 18px;min-height:49px}.submit-footnote{text-align:center;color:#92a0aa;font-size:10px;margin:12px 0 0}.history-section{margin-top:36px}.history-heading{display:flex;gap:10px;align-items:center}.history-section .section-title{margin-bottom:0}.count{background:#e6ecf1;border-radius:5px;padding:0 6px;font:10px/19px var(--number);color:#70818d}.history-caption{color:var(--muted);font-size:11px;margin:3px 0 16px}.history-list{background:white;border:1px solid var(--line);border-radius:13px;overflow:hidden}.empty-state{text-align:center;padding:32px 16px;color:#90a0ab}.empty-state>svg{width:27px;height:27px;margin-bottom:8px;color:#afbec8}.empty-state p{font-size:12px;margin-bottom:4px;color:#718493}.empty-state span{font-size:10px}.history-row{display:grid;grid-template-columns:1.1fr 1.4fr 1fr 1fr;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line);font-size:12px}.history-row:last-child{border-bottom:0}.history-user{font-weight:600;overflow-wrap:anywhere}.history-time{font-family:var(--number);font-size:12px}.history-period{font-size:11px;color:var(--muted)}.status{font-size:10px;padding:4px 8px;border-radius:5px;background:#edf3ef;color:#3e7964;justify-self:end}.status.unknown,.status.pending{color:#956c25;background:#fff4df}.status.failed{color:#b43a3a;background:#fceeee}.status.demo{color:#626aa2;background:#f0effa}.history-message{grid-column:1/-1;color:var(--muted);font-size:11px;margin-top:-8px}.footer{display:flex;justify-content:space-between;color:#94a2ad;font-size:10px;padding:26px 0 30px;gap:16px}.footer>span:first-child{letter-spacing:1.5px}.login-wrap{max-width:940px;min-height:530px;margin:12vh auto;display:grid;grid-template-columns:1.08fr 1fr;border:1px solid var(--line);border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 20px 70px #203b5010}.login-story{padding:36px 42px;background:#e7f0ef;display:flex;flex-direction:column;align-items:flex-start}.login-heading{margin:65px 0 55px}.login-heading .eyebrow{font-size:11px;letter-spacing:3px;color:#688a82}.login-heading h1{font-size:48px;line-height:1.3;letter-spacing:0;color:#24534e;margin:15px 0 22px}.login-heading p{font-size:13px;color:#6d8b85;line-height:1.9}.login-stamp{margin-top:auto;width:100%;border-top:1px solid #c9ddd6;padding-top:18px;font-size:10px;color:#688a82;display:flex;align-items:center;gap:8px}.login-stamp svg{margin-left:auto;width:18px;height:18px}.stamp-dot{width:5px;height:5px;border-radius:50%;background:#4b927f}.login-panel{padding:70px 45px;align-self:center}.lock-icon{background:#f0f5f7;color:#617f89;border-radius:13px;width:46px;height:46px;display:grid;place-items:center;margin-bottom:22px}.login-panel h2{font-size:24px;margin:0 0 8px}.login-panel>.muted{font-size:12px;margin-bottom:32px}.login-panel .primary{width:100%;margin-top:10px;justify-content:space-between}.login-note{margin-top:22px;font-size:10px;text-align:center;color:#94a1ab}dialog{width:min(470px,calc(100% - 32px));max-height:calc(100dvh - 48px);overflow-y:auto;border:1px solid var(--line);border-radius:18px;padding:0;color:var(--ink);box-shadow:0 20px 80px #102b4340}dialog::backdrop{background:#142f415e;backdrop-filter:blur(3px)}.dialog-content{padding:28px}.dialog-content h2{font-size:22px;margin:10px 0 6px}.dialog-content>.muted{font-size:12px}.dialog-content dl{margin:24px 0;display:grid;grid-template-columns:80px 1fr;gap:14px 12px;font-size:12px}.dialog-content dt{color:var(--muted)}.dialog-content dd{margin:0;text-align:right;overflow-wrap:anywhere;font-weight:500}.request-details{background:#f6f8fa;padding:10px;border-radius:8px;font-size:11px}.request-details summary{color:var(--muted)}pre{font:11px/1.7 var(--number);white-space:pre-wrap;overflow-wrap:anywhere;max-height:180px;overflow-y:auto}.dialog-actions{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.dialog-actions>*{flex:1}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);width:max-content;z-index:10;background:#173e3d;color:white;box-shadow:0 6px 25px #173e3d25;border:1px solid #3f6261;border-radius:10px;padding:13px 20px;font-size:12px;overflow-wrap:anywhere}.toast.is-error{background:#713f3c}.login-wrap,.checkin-grid{animation:enter .35s ease-out}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
.seconds-control{display:flex;gap:10px;align-items:center;margin-top:12px}.seconds-control label{margin:0;white-space:nowrap;font-size:11px}.seconds-control input{width:64px;min-height:38px;padding:6px 9px;font-family:var(--number)}.seconds-control>span{font-size:10px;color:var(--muted);line-height:1.6}
@media(min-width:1150px){.container{padding-top:44px}.checkin-grid{grid-template-columns:minmax(0,1.42fr) minmax(0,1fr)}.big-time{font-size:72px}}
@media(max-width:800px){.container{padding:28px 24px 0}.header-inner{padding:18px 24px}.checkin-grid{gap:18px;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.form-card{padding:22px 20px}.period{padding:12px 8px;gap:7px}.period>svg{width:20px;height:20px}.period strong{font-size:12px}.radio-dot{display:none}.time-input-row{gap:8px}.time-input-row .secondary{font-size:10px;padding:10px 9px}.time-input-row input{font-size:16px}.ticket-top,.ticket-bottom{padding-left:20px;padding-right:20px}.ticket-face{padding:10px 20px 24px}.big-time{font-size:49px;gap:7px}.big-time>span:last-child{font-size:23px}.submit-card{padding:20px}.page-heading h1{font-size:26px}.login-wrap{margin:8vh 24px}.login-story{padding:30px}.login-panel{padding:45px 30px}.login-heading h1{font-size:42px}}
@media(max-width:640px){.header-inner{padding:14px 18px}.header-actions{gap:14px}.timezone{gap:5px;font-size:10px}.timezone time{font-size:12px}.brand{font-size:18px}.brand-mark{width:34px;height:34px;border-radius:10px}.brand-mark svg{width:23px;height:23px}.brand-en{font-size:7px}.icon-button{width:32px;height:32px}.container{padding:25px 16px 0}.page-heading{align-items:flex-start;margin-bottom:24px;gap:6px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.6px}.page-heading h1{font-size:25px;margin:4px 0 5px}.page-heading p{font-size:11px}.environment{font-size:9px;padding:5px 7px;margin-top:27px;gap:5px}.checkin-grid{grid-template-columns:minmax(0,1fr);gap:18px}.preview-column{position:static;display:contents}.form-card{padding:23px 20px;order:1}.time-card{order:0}.submit-card{order:2}.ticket-top{padding:16px 21px 0}.ticket-face{padding:12px 21px 18px}.ticket-date{font-size:11px}.big-time{font-size:60px;margin:5px 0 7px}.big-time>span:last-child{font-size:28px;padding:4px 9px}.ticket-bottom{padding:13px 21px}.time-zone-note{font-size:9px}.section-title{margin-bottom:20px}.period-options{gap:10px}.period{padding:14px 12px;min-height:76px;gap:10px}.period>svg{width:24px;height:24px}.period strong{font-size:13px}.radio-dot{display:block}.field-row{gap:12px}.field{margin-bottom:18px}.time-input-row input{font-size:20px}.time-input-row .secondary{font-size:11px;padding:10px 13px}.history-section{margin-top:28px}.history-row{grid-template-columns:1fr 1fr;padding:15px 16px;gap:6px 10px}.history-time{text-align:right}.history-period{grid-row:2}.status{grid-column:2;grid-row:2}.history-message{margin-top:2px}.footer{font-size:8px;padding-bottom:calc(25px + env(safe-area-inset-bottom))}.submit-card .primary{min-height:50px}.submit-note{margin-top:18px}.login-wrap{display:block;min-height:0;margin:24px 16px;border-radius:18px}.login-story{padding:24px}.login-heading{margin:30px 0 16px}.login-heading h1{font-size:34px;margin:9px 0 13px}.login-heading h1 br{display:none}.login-heading p{font-size:11px}.login-stamp{padding-top:12px;font-size:9px}.login-panel{padding:30px 24px}.login-panel h2{font-size:22px}.login-panel>.muted{margin-bottom:23px}.lock-icon{display:none}.dialog-content{padding:24px}.dialog-actions .primary,.dialog-actions .secondary{font-size:12px;padding:12px}.history-caption{font-size:10px}}
@media(max-width:359px){.container{padding-left:12px;padding-right:12px}.header-inner{padding:12px}.timezone{font-size:0}.timezone time{font-size:11px}.form-card{padding:20px 15px}.period{gap:6px;padding:12px 9px}.radio-dot{display:none}.page-heading h1{font-size:23px}.environment{font-size:8px}.field-row{gap:9px}input,select,textarea{padding:11px 9px}.time-input-row .secondary{padding:10px 9px}.time-input-row{gap:7px}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
