:root{font-family:Inter,Noto Sans Thai,Tahoma,system-ui,sans-serif;color:#233e36;background:#f6f7f3;font-synthesis:none;--green:#215844;--muted:#7a8780;--border:#e5e9e2}*{box-sizing:border-box}body{margin:0;font-size:15px;line-height:1.6}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:var(--green)}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button,input,select{min-height:48px;border-radius:12px}input,select{border:1px solid #dce3da;background:#fcfdfb;color:#233e36;padding:11px 13px;width:100%;min-width:0;max-width:100%;font-size:16px}input:focus,select:focus{border-color:#58856d;background:#fff}button{border:0;background:var(--green);color:#fff;padding:11px 18px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:4px 6px 4px 0;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,label:focus-within{outline:3px solid #9ec2a4;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(26px,3vw,34px);line-height:1.4;letter-spacing:-.04em;margin-bottom:8px}h2{font-size:19px;line-height:1.5;letter-spacing:-.025em;margin-bottom:8px}h3{font-size:17px}p{color:#718078}label{display:grid;gap:7px;font-size:13px;font-weight:500;margin:9px 0;color:#53685b}form{display:grid;gap:10px}section{background:#fff;padding:26px;border:1px solid var(--border);border-radius:22px;margin-bottom:22px;box-shadow:0 4px 20px #183b2b03;min-width:0;scroll-margin-top:24px}svg{flex-shrink:0}.app-shell{max-width:1120px;margin:auto;padding:0 36px}.app-header{display:flex;align-items:center;justify-content:space-between;padding:28px 0;border-bottom:1px solid var(--border);gap:16px}.brand{display:flex;align-items:center;gap:12px;color:#233e36;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:-.05em;line-height:1.3}.brand-light{font-weight:400;color:#64776b}.brand small{display:block;font-size:10px;letter-spacing:.015em;font-weight:400;margin-top:5px;color:#7a8780}.brand-mark{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--green);color:#d6eac7}.private-badge{display:flex;align-items:center;gap:7px;font-size:11px;color:#718078;white-space:nowrap}.private-badge>span{width:6px;height:6px;border-radius:50%;background:#6c9565}.main-nav{display:flex;gap:8px;padding:15px 0;border-bottom:1px solid var(--border)}.main-nav button{background:transparent;color:#7a8780;font-size:13px;padding:10px 20px;margin:0;min-height:44px}.main-nav button[aria-current=page]{background:#e7eddf;color:var(--green)}.main-nav svg{width:19px;height:19px}.page-content{padding-top:30px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:6px 0 26px}.page-heading p{margin:0;font-size:13px}.eyebrow{display:block;font-size:10px;letter-spacing:.16em;font-weight:650;color:#819274;margin-bottom:8px}.date-badge{color:#6c7d6f;font-size:12px;padding:8px 13px;background:#eef0e8;border-radius:30px;white-space:nowrap}.progress-hero{background:#245441;color:#fff;display:flex;align-items:center;justify-content:space-between;border:0;padding:32px 34px;overflow:hidden;position:relative;min-height:215px}.progress-hero>div:first-child{z-index:1;max-width:70%}.progress-hero h2{font-size:27px;line-height:1.4;margin-bottom:8px}.progress-hero .eyebrow{color:#b8cf9e}.progress-hero p{color:#bfd1c3;font-size:13px;margin-bottom:20px}.hero-action{display:inline-flex;align-items:center;gap:9px;background:#d7e8b0;color:#29472e;padding:11px 18px;border-radius:12px;text-decoration:none;font-size:13px;font-weight:650}.hero-art{width:220px;height:170px;display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0}.orbit{position:absolute;width:160px;height:160px;border:1px solid #ffffff1c;border-radius:50%;transform:rotate(-25deg)}.orbit-one{width:210px;height:105px}.orbit-two{width:120px;height:190px}.hero-art-icon{width:90px;height:90px;border:1px solid #c5e4ab44;border-radius:28px;display:grid;place-items:center;background:#ffffff09;color:#d6e8ad;transform:rotate(-9deg)}.art-caption{position:absolute;bottom:-5px;font-size:8px;letter-spacing:.22em;color:#b7cda0}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:0 0 26px}.stat-card{background:#fff;border:1px solid var(--border);padding:22px 24px;border-radius:18px}.stat-label{display:flex;align-items:center;gap:9px;font-size:12px;color:#7b887c}.stat-label svg{width:18px;height:18px;color:#79936a}.stat-value{font-size:34px;font-weight:650;letter-spacing:-.06em;line-height:1.5;margin-top:6px}.stat-value small{font-size:12px;font-weight:400;margin-left:8px;letter-spacing:0;color:#899187}.stat-note{font-size:11px;color:#84907f}.tracker-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.section-heading{display:flex;align-items:center;gap:12px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading p{font-size:12px;margin:3px 0 0}.section-icon{display:grid;place-items:center;width:40px;height:40px;background:#f1f4eb;border-radius:12px;color:#71896a;flex-shrink:0}.measurement-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}.primary-button{width:100%;margin:8px 0 0}.field-hint{font-size:11px;text-align:center;margin:0;color:#8b9587}.upload-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0 12px}.upload-tile{border:1px dashed #cbd7c2;border-radius:13px;background:#f8faf4;overflow:hidden;position:relative;cursor:pointer;margin:0;min-width:0}.upload-placeholder{height:111px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;color:#99aa89;font-size:10px}.upload-tile img{width:100%;height:111px;object-fit:contain;display:block}.upload-name{display:flex;justify-content:space-between;align-items:center;padding:8px 9px;background:#edf2e5;color:#6a7e5e;font-size:10px}.upload-tile input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;width:100%;height:100%;cursor:pointer}.upload-tile.is-disabled{opacity:.5;cursor:not-allowed}.view-tabs{display:flex;gap:4px;background:#f1f3ed;padding:4px;border-radius:12px;width:max-content;max-width:100%;margin-bottom:17px}.view-tabs button{margin:0;background:transparent;color:#819077;padding:8px 20px;min-height:40px;font-size:12px;border-radius:9px}.view-tabs button.selected{color:#35593d;background:#fff;box-shadow:0 2px 4px #183b2b09}.compare-controls{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compare-controls label{font-size:11px;margin:0 0 12px}.comparison{display:grid;grid-template-columns:1fr 1fr;gap:16px}.compare-photo{position:relative;border-radius:16px;overflow:hidden;border:1px solid #e7ece1;background:#f4f6ef}.comparison img{display:block;width:100%;height:350px;object-fit:contain}.photo-badge{position:absolute;top:12px;left:12px;background:#fffd;color:#637954;padding:4px 11px;border-radius:8px;font-size:10px;z-index:1}.empty{height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#adba9f;text-align:center;padding:16px}.empty span{font-size:12px;color:#8b9c7e}.empty small{font-size:10px;color:#a0ac94}.count-badge{margin-left:auto;font-size:11px;background:#eff3e9;color:#7d8c70;padding:5px 12px;border-radius:20px;white-space:nowrap}.history-list{display:grid}.history-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf0e8}.history-date{display:flex;align-items:center;gap:12px}.calendar-day{display:grid;place-items:center;width:42px;height:44px;border-radius:12px;background:#f1f4eb;color:#7b8e6c;font-size:19px;font-weight:600}.history-date strong{font-size:13px;font-weight:550}.history-date small{display:block;font-size:10px;color:#97a08f}.history-metrics{display:flex;gap:32px;font-size:16px;font-weight:600}.history-metrics small{font-size:10px;font-weight:400;color:#8a9684}.history-empty{text-align:center;padding:20px;color:#9bac8b}.history-empty h3{font-size:14px;color:#718466;margin:12px 0 6px}.history-empty p{font-size:12px;color:#99a48e;margin-bottom:10px}.history-empty a{display:inline-flex;align-items:center;gap:5px;font-size:12px}.account-strip{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#98a18f;margin:24px 0}.text-button{background:none;color:#7b8b71;min-height:44px;font-size:12px;padding:8px}.build-version{font-size:9px;color:#a2aa99;letter-spacing:.09em;display:flex;justify-content:space-between;border-top:1px solid var(--border);padding:18px 0 26px;gap:12px}.build-version span{letter-spacing:0}.notice{display:flex;align-items:center;gap:10px;padding:12px 16px;border:1px solid #d9e6ca;background:#edf5e7;color:#497044;border-radius:12px;font-size:13px}.error{color:#a02c21}.notice.error{background:#fff1ed;border-color:#eec5b8}.login-card{text-align:center;padding:46px 24px;max-width:540px;margin:10px auto 35px}.login-card h1{font-size:36px}.login-card p{font-size:13px}.login-symbol{color:#78966a;margin:25px auto}.line-login{display:flex;align-items:center;justify-content:center;gap:12px;background:#06a948;color:#fff;text-decoration:none;padding:14px 22px;border-radius:12px;font-weight:600;margin:22px auto 12px;max-width:320px}.loading-card{text-align:center;color:#8b997e;padding:70px 20px}.settings h2{margin-bottom:20px}.settings section>p,.settings li{font-size:13px;line-height:1.85}.settings li{margin:12px 0}.settings button{font-size:13px}.settings form p{margin:0;font-size:12px}.code-box{background:#f0f5e9;padding:18px;border-radius:14px;margin-top:16px}.code-box code{font-size:28px;letter-spacing:.14em}.checkbox{display:flex;align-items:center;gap:10px}.checkbox input{width:22px;height:22px;min-height:22px}.wrap{overflow-wrap:anywhere}.invite-list{padding-left:20px}.invite-list li{overflow-wrap:anywhere}.rich-menu-preview{display:block;width:100%;height:auto;border-radius:14px;border:1px solid var(--border)}.gallery-filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:12px 0}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:18px}.gallery-grid article{min-width:0;border:1px solid var(--border);border-radius:16px;padding:14px;background:#fcfdf9}.gallery-grid img{width:100%;height:260px;object-fit:contain;background:#f1f4eb;border-radius:10px}.gallery-grid p{font-size:12px;margin-bottom:8px}.gallery-grid form{gap:3px}.gallery-grid button{font-size:12px}.photo-date-source{color:#96a08b;font-size:11px!important}.password-field{display:flex;gap:8px}.password-field input{flex:1;min-width:0}.password-toggle{margin:0}.settings input[readonly]{font-size:13px}@media(min-width:900px){.main-nav{justify-content:center}.main-nav button{min-width:140px}.page-content{padding-top:34px}}@media(max-width:700px){body{font-size:14px}.app-shell{padding:0 18px}.app-header{padding:20px 0}.brand{font-size:19px;gap:10px}.brand small{font-size:8px}.brand-mark{width:38px;height:38px;border-radius:12px}.private-badge{font-size:9px}.page-content{padding-top:25px;padding-bottom:92px}.page-heading{margin-bottom:20px;align-items:flex-start}.page-heading h1{font-size:26px}.page-heading p{font-size:11px}.date-badge{font-size:10px;padding:6px 10px;margin-top:20px}.eyebrow{font-size:9px}.main-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;background:#fffffff5;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-top:1px solid var(--border);padding:8px 12px calc(8px + env(safe-area-inset-bottom));box-shadow:0 -4px 20px #233e3605}.main-nav button{display:flex;flex-direction:column;gap:4px;font-size:10px;min-height:54px;padding:6px 3px;border-radius:12px}.main-nav svg{width:21px;height:21px}section{padding:20px;border-radius:19px;margin-bottom:18px}.progress-hero{padding:25px 22px;min-height:210px}.progress-hero>div:first-child{max-width:78%}.progress-hero h2{font-size:22px}.progress-hero p{font-size:11px;max-width:240px}.hero-action{font-size:12px;padding:10px 14px}.hero-art{position:absolute;right:-65px;top:29px;width:170px;opacity:.45}.hero-art-icon{width:70px;height:70px}.art-caption{display:none}.stats-grid{gap:10px;margin-bottom:20px;grid-template-columns:1fr 1fr}.stat-card{padding:17px 16px;border-radius:16px}.stat-value{font-size:30px}.stat-label{font-size:11px;gap:7px}.stat-note{font-size:10px}.stat-records{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px}.stat-records .stat-value{font-size:22px;margin:0}.stat-records .stat-value small{font-size:10px}.tracker-grid{grid-template-columns:1fr;gap:0}.section-heading{margin-bottom:18px}.section-heading h2{font-size:18px}.section-heading p{font-size:11px}.section-icon{width:36px;height:36px;border-radius:10px}.comparison,.compare-controls{gap:10px}.compare-controls select{font-size:13px;padding:10px 8px}.comparison img{height:240px}.empty{height:220px;gap:9px;padding:12px 8px}.empty span{font-size:10px}.empty small{font-size:9px}.empty svg{width:27px}.view-tabs{width:100%}.view-tabs button{flex:1;padding:8px 9px;min-height:42px}.photo-badge{left:8px;top:8px;font-size:9px}.history-metrics{gap:14px;font-size:14px}.history-date{gap:9px}.history-date strong{font-size:11px}.calendar-day{width:34px;height:38px;font-size:16px}.account-strip{font-size:9px}.build-version{font-size:8px;flex-wrap:wrap}.gallery-grid{grid-template-columns:1fr}.gallery-grid img{height:340px}.gallery-filters{gap:10px}.gallery-filters select{font-size:14px}.settings section{padding:20px}.settings button{width:100%;margin:6px 0}.settings code{word-break:break-word}.login-card h1{font-size:30px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}@media(max-width:360px){.app-shell{padding:0 12px}.private-badge{display:none}.page-heading h1{font-size:23px}.date-badge{padding:5px 8px}.stat-records{flex-wrap:wrap}.history-metrics{gap:8px}.history-metrics span{font-size:12px}}.photo-help{font-size:12px;color:#819077;margin:12px 0 20px}.photo-help summary{cursor:pointer;padding:10px 0;min-height:44px}.photo-help p{background:#f6f8f0;padding:14px;border-radius:12px;font-size:12px;margin:0}.gallery-grid+p{font-size:12px}
