@layer theme{:root,:host{--font-sans:-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-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;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{.fixed{position:fixed}.block{display:block}}:root{color:#20231f;font-synthesis:none;background:#e8e8e1;font-family:Inter,Pretendard,Noto Sans KR,system-ui,sans-serif}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0}button,input,select{font:inherit}button{cursor:pointer}.app-shell{background:#f8f8f3;width:min(100%,520px);min-height:100vh;margin:0 auto;position:relative;box-shadow:0 0 60px #24271f18}.content{min-height:100vh;padding-bottom:calc(86px + env(safe-area-inset-bottom))}.screen{min-height:calc(100vh - 86px);padding:28px 22px 40px}.page-header,.compact-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.page-header h1,.compact-header h1{letter-spacing:-.04em;margin:5px 0 0;font-family:Georgia,Noto Serif KR,serif;font-size:clamp(30px,8vw,40px);font-weight:600;line-height:1.15}.compact-header h1{font-size:34px}.eyebrow{color:#f05a3e;letter-spacing:.18em;margin:0;font-size:11px;font-weight:800}.category-manage{color:#6f7169;white-space:nowrap;background:#fff;border:1px solid #deded4;border-radius:100px;align-items:center;gap:4px;padding:9px 12px;font-size:12px;display:flex}.category-strip{scrollbar-width:none;scroll-snap-type:x proximity;gap:9px;margin:30px -22px 26px;padding:0 22px 5px;display:flex;overflow-x:auto}.category-strip::-webkit-scrollbar{display:none}.category-pill{scroll-snap-align:start;color:#686961;background:#fff;border:1px solid #dfdfd5;border-radius:100px;flex:none;align-items:center;gap:8px;min-height:44px;padding:0 17px;display:flex}.category-pill i{background:var(--category-color);border-radius:50%;width:8px;height:8px}.category-pill.selected{color:#fff;background:#252820;border-color:#252820;box-shadow:0 7px 20px #25282022}.category-pill.auto{color:#f05a3e;font-weight:800}.category-pill.auto.selected{color:#fff}.start-card{background:#fff;border:1px solid #e6e6dd;border-radius:28px;padding:25px;box-shadow:0 15px 50px #34372d0d}.activity-input-label,.form-stack label{color:#878981;flex-direction:column;gap:8px;font-size:12px;font-weight:700;display:flex}.activity-input-label input{color:#23251f;background:0 0;border:0;border-bottom:1px solid #dddcd3;border-radius:0;outline:none;padding:12px 0 16px;font-size:20px}input::placeholder{color:#b8b8b0}.start-button,.stop-button,.primary-button{color:#fff;background:#f05a3e;border:0;border-radius:16px;justify-content:center;align-items:center;gap:9px;width:100%;min-height:56px;margin-top:24px;font-weight:800;display:flex;box-shadow:0 10px 25px #f05a3e33}.start-button:disabled{box-shadow:none;cursor:default;background:#d6d6ce}.start-card>p{text-align:center;color:#aaa9a0;margin:13px 0 0;font-size:11px}.record-tip{color:#7d7f76;align-items:flex-start;gap:12px;margin:25px 7px;font-size:12px;line-height:1.55;display:flex}.record-tip span{color:#f05a3e;background:#f05a3e12;border-radius:5px;padding:4px 6px;font-size:9px;font-weight:900}.record-tip p{margin:0}.running-card{color:#fff;text-align:center;background:#252820;border-radius:28px;padding:25px;box-shadow:0 18px 45px #25282035}.pulse-row{color:#f89b87;letter-spacing:.12em;justify-content:center;align-items:center;gap:8px;font-size:11px;font-weight:800;display:flex}.pulse{background:#f05a3e;border-radius:50%;width:8px;height:8px;animation:1.5s infinite pulse;box-shadow:0 0 0 6px #f05a3e22}@keyframes pulse{50%{opacity:.5}}.timer-display{font-variant-numeric:tabular-nums;letter-spacing:-.05em;margin:22px 0 13px;font-size:clamp(42px,13vw,62px);font-weight:300}.running-title{color:#fff;background:0 0;border:0;align-items:center;gap:8px;margin:auto;font-size:17px;font-weight:700;display:flex}.ai-label,.classification-state{color:#aeb1a8;margin:8px 0;font-size:12px}.stop-button{background:#f05a3e;margin-top:27px}.edit-running{gap:8px;display:flex}.edit-running input{color:#fff;background:#30332c;border:1px solid #55594f;border-radius:12px;flex:1;min-width:0;padding:12px}.icon-button{color:#75776e;background:0 0;border:0;border-radius:50%;place-items:center;width:42px;height:42px;display:grid}.icon-button.inverse{color:#fff;background:#3b3e36}.bottom-nav{z-index:20;width:min(100%,520px);height:calc(72px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#ffffffeb;border-top:1px solid #e4e4dc;grid-template-columns:repeat(3,1fr);display:grid;position:fixed;bottom:0}.nav-button{color:#a2a39c;background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:4px;font-size:10px;font-weight:700;display:flex}.nav-button svg{width:22px}.nav-button.active{color:#f05a3e}.loading{color:#777970;place-items:center;min-height:100vh;display:grid}.error-banner,.form-error{color:#b9402a;background:#fff0ed;border-radius:10px;padding:10px 12px;font-size:12px}.modal-backdrop{z-index:50;background:#17191488;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{width:min(100%,520px);max-height:90vh;padding:22px 22px calc(26px + env(safe-area-inset-bottom));background:#fbfbf7;border-radius:26px 26px 0 0;animation:.2s ease-out rise;overflow-y:auto}@keyframes rise{0%{opacity:0;transform:translateY(20px)}}.sheet-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.sheet-header h2{margin:0;font-family:Georgia,serif;font-size:24px}.form-stack{flex-direction:column;gap:17px;display:flex}.form-stack input,.form-stack select,.category-list input,.add-category input{color:#292b25;background:#fff;border:1px solid #deded5;border-radius:12px;outline:none;min-height:48px;padding:0 13px}.time-fields{grid-template-columns:1fr 1fr;gap:10px;display:grid}.primary-button{margin:5px 0 0}.danger-button{color:#c44935;background:0 0;border:0;padding:14px}.category-list{flex-direction:column;gap:8px;display:flex}.category-list>div{align-items:center;gap:10px;display:flex}.category-list span{border-radius:50%;flex:none;width:10px;height:10px}.category-list input{flex:1;min-width:0}.add-category{gap:8px;margin-top:18px;display:flex}.add-category input{flex:1;min-width:0}.add-category button,.secondary-button{color:#fff;background:#252820;border:0;border-radius:12px;justify-content:center;align-items:center;gap:5px;padding:0 16px;font-weight:700;display:flex}.add-category svg{width:17px}.compact-header{align-items:center;min-height:46px;margin-bottom:18px}.add-round{color:#fff;background:#252820;border:0;border-radius:50%;place-items:center;width:46px;height:46px;display:grid}.date-nav{border-top:1px solid #e4e4dc;border-bottom:1px solid #e4e4dc;grid-template-columns:44px 1fr 44px;align-items:center;margin-bottom:24px;display:grid}.date-nav button{color:#55574f;background:0 0;border:0;min-height:52px;font-size:14px;font-weight:700}.timeline{position:relative}.timeline-item{text-align:left;width:100%;color:inherit;background:0 0;border:0;grid-template-columns:54px 20px 1fr;padding:0 0 13px;display:grid}.timeline-item time{color:#8d8f87;font-variant-numeric:tabular-nums;padding-top:14px;font-size:11px}.timeline-line{justify-content:center;display:flex;position:relative}.timeline-line:after{content:"";background:#dcddd5;width:1px;position:absolute;top:20px;bottom:-25px}.timeline-item:last-child .timeline-line:after{display:none}.timeline-line span{z-index:1;box-sizing:content-box;border:3px solid #f8f8f3;border-radius:50%;width:10px;height:10px;margin-top:16px}.timeline-card{background:#fff;border-left:4px solid;border-radius:15px;justify-content:space-between;align-items:center;gap:12px;min-height:76px;padding:14px 15px;display:flex;box-shadow:0 5px 20px #33362d0c}.timeline-card>div{flex-direction:column;gap:3px;min-width:0;display:flex}.timeline-card span{color:#8c8e85;font-size:10px;font-weight:700}.timeline-card strong{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.timeline-card small{color:#a1a299}.timeline-card b{color:#787a72;white-space:nowrap;font-size:11px}.empty-state{text-align:center;color:#96978f;padding:70px 20px}.empty-state>div{color:#c2c3ba;font-size:52px}.empty-state h2{color:#55574f;margin:13px 0 5px;font-size:18px}.empty-state p{margin:0 0 20px;font-size:13px}.secondary-button{min-height:46px;margin:auto}.range-tabs{background:#eaeae3;border-radius:13px;grid-template-columns:repeat(3,1fr);padding:4px;display:grid}.range-tabs button{color:#878981;background:0 0;border:0;border-radius:10px;min-height:40px;font-weight:700}.range-tabs button.active{color:#272a23;background:#fff;box-shadow:0 3px 12px #33352e14}.total-card{color:#fff;background:#252820;border-radius:23px;margin:22px 0;padding:25px}.total-card p{color:#aeb0a8;margin:0;font-size:12px}.total-card strong{margin:8px 0;font-family:Georgia,serif;font-size:38px;display:block}.total-card small{color:#858980}.breakdown{background:#fff;border:1px solid #e7e7de;border-radius:21px;padding:20px}.breakdown h2{margin:0 0 21px;font-size:15px}.stat-row{margin:0 0 19px}.stat-row:last-child{margin-bottom:0}.stat-meta{justify-content:space-between;margin-bottom:8px;font-size:12px;display:flex}.stat-meta span{align-items:center;gap:8px;font-weight:700;display:flex}.stat-meta i{border-radius:50%;width:9px;height:9px}.stat-meta b{color:#777970;font-weight:600}.stat-track{background:#eeeee8;border-radius:100px;height:8px;overflow:hidden}.stat-track div{border-radius:inherit;min-width:3px;height:100%}.empty-mini{color:#9a9c93;text-align:center;padding:35px 10px;font-size:13px}@media(min-width:521px){.app-shell{border-radius:30px 30px 0 0;min-height:calc(100vh - 32px);margin-top:16px;overflow:hidden}}@media(max-width:370px){.screen{padding-left:16px;padding-right:16px}.page-header h1{font-size:29px}.time-fields{grid-template-columns:1fr}}
