:root{--ink:#182533;--muted:#6c7a86;--line:#dfe6eb;--paper:#fff;--bg:#f4f7fa;--blue:#174c73;--blue2:#246b9c;--peach:#e98357;--gold:#f4bd3e;--shadow:0 8px 24px rgba(25,48,68,.09);font-family:"Noto Sans KR",system-ui,sans-serif;color:var(--ink);background:var(--bg)}
*{box-sizing:border-box}body{margin:0;background:#edf1f4}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer}.app-shell{width:min(100%,680px);margin:auto;min-height:100vh;background:var(--bg);box-shadow:0 0 30px rgba(23,46,64,.08);padding-bottom:96px}.topbar{height:58px;background:#fff;display:flex;align-items:center;gap:10px;padding:8px 14px;position:sticky;top:0;z-index:60;border-bottom:1px solid var(--line)}.brand{font-weight:900;font-size:19px;white-space:nowrap}.brand-mark{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:8px;background:var(--blue);color:#fff;margin-right:5px;font-size:13px}.help-btn,.trip-switch,.plus-btn,.icon-btn{border:1px solid var(--line);background:#fff;border-radius:11px;height:40px}.help-btn{font-size:12px;padding:0 10px;color:var(--blue);font-weight:700}.trip-switch{flex:1;text-align:left;padding:0 14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plus-btn{width:42px;border:0;background:var(--blue);color:#fff;font-size:28px;line-height:1;box-shadow:0 4px 12px rgba(23,76,115,.28)}
.hero{position:relative;height:216px;padding:55px 20px 18px;color:#fff;overflow:hidden;background:linear-gradient(180deg,#153e62 0%,#2e709e 52%,#ef9a61 78%,#263d4b 100%)}.hero::before{content:"";position:absolute;width:80px;height:80px;border-radius:50%;right:90px;top:52px;background:radial-gradient(circle,#fff5ae 0,#f4c65a 48%,rgba(244,198,90,0) 70%);opacity:.9}.hero::after{content:"";position:absolute;left:-3%;right:-3%;bottom:38px;height:65px;border-top:7px solid #122f47;border-radius:50% 55% 0 0;transform:rotate(2deg);box-shadow:0 -5px 0 -3px #122f47}.hero>*{position:relative;z-index:2}.hero-kicker{font-weight:800;letter-spacing:2px;font-size:13px}.hero h1{font-size:27px;line-height:1.2;margin:7px 0 5px;font-weight:900}.hero-meta{font-size:14px}.hero-photo{position:absolute;right:14px;top:14px;width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.45);background:rgba(5,27,45,.3);color:#fff;z-index:3}.hero-status{display:inline-flex;gap:7px;align-items:center;margin-top:17px;border:1px solid rgba(255,255,255,.4);border-radius:24px;background:rgba(255,255,255,.16);color:#fff;padding:9px 14px;font-weight:700}.hero.has-photo{background-size:cover;background-position:center}.hero.has-photo::before{inset:0;width:auto;height:auto;border-radius:0;background:linear-gradient(90deg,rgba(10,37,57,.8),rgba(10,37,57,.18));opacity:1}.hero.has-photo::after{display:none}
.tabs{display:flex;gap:8px;padding:10px 16px 8px;background:#fff;border-bottom:1px solid var(--line)}.tab{border:0;border-radius:12px;background:#f1f5f7;padding:10px 17px;color:#667681;font-weight:800}.tab.active{background:var(--blue);color:#fff;box-shadow:0 5px 13px rgba(23,76,115,.24)}.content{padding:16px}.section-title{font-weight:900;font-size:18px;margin:3px 0 14px;display:flex;align-items:center;gap:8px}.section-title::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--peach)}.section-note{font-size:12px;color:var(--muted);margin:-7px 0 13px}.card{background:var(--paper);border:1px solid var(--line);border-radius:17px;box-shadow:var(--shadow)}.flight-card{padding:16px;margin-bottom:12px}.flight-head{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;font-weight:600}.badge{background:#edf5f9;color:var(--blue);border-radius:20px;padding:4px 9px;font-weight:800}.flight-route{display:grid;grid-template-columns:1fr 70px 1fr;align-items:center;text-align:center;padding:12px 0}.airport-code{font-size:23px;font-weight:900}.airport-name{font-size:12px;color:var(--muted);margin:2px}.flight-time{color:#164765;font-weight:800}.plane-line{color:#7590a3;border-bottom:1px solid #d9e3e9;padding-bottom:4px}.card-foot{border-top:1px dashed var(--line);padding-top:10px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}.text-btn{border:0;background:none;padding:3px;color:var(--blue);font-weight:700}.dash-btn{width:100%;height:49px;border:1px dashed var(--blue2);border-radius:14px;background:#edf7fb;color:var(--blue);font-weight:800;margin-bottom:22px}.document-list{display:grid;gap:8px;margin-bottom:24px}.doc{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);box-shadow:0 3px 10px rgba(26,50,70,.06);border-radius:13px;padding:13px 15px}.doc span:nth-child(2){font-weight:700;flex:1}.doc small{color:var(--muted)}
.day-strip{display:flex;gap:7px;overflow:auto;padding:6px 0 12px;scrollbar-width:none;border-bottom:1px solid var(--line);margin-bottom:15px}.day-chip{min-width:59px;border:1px solid var(--line);border-radius:13px;background:#fff;padding:8px 5px;text-align:center}.day-chip.active{background:var(--blue);color:#fff}.day-chip strong{display:block;font-size:16px}.day-chip small{display:block;font-size:10px;color:#85919a}.day-chip.active small{color:#d7e8f2}.day-heading{font-size:15px;font-weight:800;margin:10px 2px 13px;color:#29465a}.timeline{position:relative}.timeline::before{content:"";position:absolute;left:20px;top:15px;bottom:20px;width:2px;background:#dbe4e9}.event{position:relative;display:grid;grid-template-columns:42px 1fr;gap:9px;margin-bottom:10px}.event-icon{z-index:2;width:41px;height:41px;border-radius:50%;display:grid;place-items:center;background:#fff;border:2px solid #d7e4ea}.event-card{padding:14px}.event-top{display:flex;gap:9px;align-items:center}.event-time{font-weight:900;color:var(--blue);font-size:14px}.event-name{font-weight:900;flex:1}.event-meta{margin:6px 0;color:var(--muted);font-size:12px}.event-note{font-size:13px;line-height:1.55;margin:6px 0 10px}.actions{display:flex;gap:5px;flex-wrap:wrap}.action{border:1px solid var(--line);background:#f7f9fa;border-radius:9px;padding:6px 8px;font-size:11px;text-decoration:none;color:#39556a;font-weight:700}.bottom-actions{position:fixed;z-index:50;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,680px);padding:10px 14px calc(10px + env(safe-area-inset-bottom));display:flex;gap:10px;background:rgba(255,255,255,.93);backdrop-filter:blur(12px);border-top:1px solid var(--line)}.add-main,.settings{flex:1 1 0;min-width:0;width:auto;height:48px;border-radius:13px}.add-main{border:0;background:var(--blue);color:#fff;font-weight:900;font-size:16px;box-shadow:0 5px 12px rgba(23,76,115,.2)}.settings{border:1px solid #e2e8ed;background:#edf2f6;color:#8d7aa8;font-size:18px}
.overview-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.progress-track{height:10px;border-radius:20px;background:#edf0d4;border:2px solid #314535;overflow:hidden;margin-bottom:15px}.progress-fill{height:100%;background:repeating-linear-gradient(90deg,#f3bf31 0 8px,#ffd965 8px 12px)}#map{height:390px;border:3px solid #314535;border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.route-pills{display:flex;gap:6px;overflow:auto;margin:9px 0}.route-pill{border:1px solid var(--line);background:#fff;border-radius:9px;padding:7px 9px;white-space:nowrap}.route-pill.active{border-color:var(--gold);box-shadow:0 0 0 2px #fff3bf}.journey-control{display:flex;gap:8px;justify-content:center}.journey-control button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 13px}.empty{text-align:center;padding:38px 20px;color:var(--muted)}footer{padding:5px 17px 25px;text-align:center;color:#87929a;font-size:11px;line-height:1.8}
.overlay{position:fixed;inset:0;z-index:100;background:rgba(28,43,55,.48);display:grid;place-items:end center}.sheet{width:min(100%,650px);max-height:92vh;overflow:auto;background:#fff;border-radius:24px 24px 0 0;padding:18px 19px 28px;box-shadow:0 -12px 40px rgba(17,39,54,.2);animation:rise .2s ease}.sheet::before{content:"";display:block;width:40px;height:4px;border-radius:5px;background:#dce3e7;margin:0 auto 17px}.sheet h2{font-size:20px;margin:0 0 18px}.field{margin:12px 0}.field label{display:block;font-size:12px;font-weight:800;color:#61717d;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px;background:#fbfcfd;outline:none}.field input:focus,.field textarea:focus,.field select:focus{border-color:var(--blue2);box-shadow:0 0 0 3px rgba(36,107,156,.1)}.field textarea{min-height:80px;resize:vertical}.field-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}.choice-row{display:flex;gap:7px;flex-wrap:wrap}.choice{border:1px solid var(--line);background:#fff;border-radius:10px;padding:9px 11px;font-weight:700;font-size:13px}.choice.active{border-color:var(--blue);background:#edf6fb;color:var(--blue)}.hint{font-size:11px;color:var(--muted);margin-top:5px}.form-actions{display:flex;gap:8px;margin-top:20px}.primary,.secondary,.danger{border:0;border-radius:12px;padding:12px 16px;font-weight:900}.primary{background:var(--blue);color:#fff;flex:1}.secondary{background:#eef2f5;color:#4e5e69}.form-actions>.primary,.form-actions>.secondary{flex:1;min-width:0}.danger{background:#fff0ef;color:#b7463b}.trip-row{display:flex;align-items:center;gap:10px;padding:13px;border:1px solid var(--line);border-radius:13px;margin-bottom:8px}.trip-row strong{flex:1}.trip-row.active{border-color:var(--blue);background:#f1f8fc}.help-brand{text-align:center;padding:2px 0 12px}.help-brand>strong{font-size:22px;margin-left:5px}.help-brand p{margin:7px 0 0;color:var(--muted);font-size:13px}.help-title{font-size:16px;margin:20px 0 10px}.help-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.help-item{background:#f5f8fa;padding:13px;border-radius:13px;font-size:13px;line-height:1.55}.help-item strong{display:block;margin-bottom:4px;font-size:14px}.help-steps{display:grid;gap:9px}.help-steps>div{display:flex;gap:11px;align-items:flex-start}.help-steps b{flex:0 0 28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--blue);color:#fff}.help-steps p{margin:1px 0;font-size:13px;line-height:1.55}.help-steps strong{display:block;margin-bottom:2px}.help-steps em{font-style:normal;font-weight:800;color:var(--blue)}.help-tip{margin-top:18px;background:#fff7df;border:1px solid #f4d985;border-radius:14px;padding:14px;font-size:12px;line-height:1.65}.help-tip>strong{font-size:14px}.help-tip p:last-child{margin-bottom:0}.creator{text-align:center;padding:22px 10px 5px}.creator>div{font-size:12px;color:var(--muted)}.creator>strong{display:block;font-size:19px;margin-top:5px}.creator p{font-size:12px;color:var(--muted)}.creator a{display:inline-block;text-decoration:none;background:linear-gradient(90deg,#8b4cde,#e34d75,#f49a3e);color:#fff;border-radius:20px;padding:8px 16px;font-size:12px;font-weight:800}.creator small{display:block;color:var(--muted);margin-top:12px}.toast{position:fixed;z-index:200;left:50%;bottom:86px;transform:translate(-50%,20px);background:#172a38;color:#fff;padding:10px 16px;border-radius:10px;opacity:0;pointer-events:none;transition:.2s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}@keyframes rise{from{transform:translateY(30px);opacity:.6}}
.transport-field{margin-bottom:24px}.transport-field .choice-row{margin-top:10px;column-gap:8px;row-gap:8px}.transport-field .choice{min-width:68px}.attachment-field{margin-top:0}.attachment-btn{display:inline-flex!important;width:auto!important;align-items:center;border:1px solid #cfdce5;border-radius:9px;padding:8px 12px;color:var(--blue);background:#fff;font-size:12px;font-weight:800;cursor:pointer}.attachment-field #attachment-name{display:inline-block;margin-left:8px;color:var(--blue);font-size:12px;max-width:55%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;vertical-align:middle}.alarm-box{border:1px solid var(--line);border-radius:13px;padding:11px;background:#fbfcfd}.alarm-row{display:grid;grid-template-columns:1fr auto auto;gap:9px}.alarm-row input{min-width:0}.alarm-row .choice{white-space:nowrap}.event-note-input{min-height:66px!important}.event-actions>*{flex:1 1 0;min-width:0;height:50px}.event-actions .danger,.flight-actions .danger{background:#fde9df;color:#dc6548}.flight-actions>*{flex:1 1 0;min-width:0;height:50px}
.brand{font-size:18px}.trip-switch{font-size:13.5px}.hero-kicker{font-size:12px}.hero h1{font-size:24px;line-height:1.5;font-weight:800}.hero-meta{font-size:13px}.tab{font-size:14px;padding:9px 17px}.section-title{font-size:16px;font-weight:800}.airport-code{font-size:22px;font-weight:800}.flight-time{font-size:15px;font-weight:700;line-height:1.5}.dash-btn{font-size:14px;font-weight:700}.event-name{font-size:15px;font-weight:700;line-height:1.5}.event-time{font-size:13px;font-weight:800;line-height:1.5}
@media(max-width:520px){.help-btn{display:none}.topbar{padding-inline:9px}.brand{font-size:17px}.hero{height:205px;padding-left:17px}.hero h1{font-size:24px}.content{padding:14px 12px}.field-row{grid-template-columns:1fr 1fr}.flight-route{grid-template-columns:1fr 50px 1fr}.sheet{padding-inline:12px}.event{grid-template-columns:39px 1fr;gap:7px}.event-icon{width:38px;height:38px}.help-grid{grid-template-columns:1fr}.flight-actions,.event-actions{gap:8px}.flight-actions>*,.event-actions>*{padding-inline:6px}.alarm-row{gap:7px}.alarm-row .choice{padding-inline:10px}}
