:root{--navy:#103f5f;--blue:#12658f;--bg:#f4f9fc;--text:#183344;--muted:#657e8e;--line:#d8e6ee;--white:#fff;--shadow:0 16px 44px rgba(20,65,92,.09);--red:#b75043}
*{box-sizing:border-box}body.ms-body{margin:0;background:var(--bg);color:var(--text);font-family:"Noto Sans JP",system-ui,-apple-system,sans-serif}a{color:inherit}.ms-brand{text-decoration:none;font-weight:800;font-size:20px}.ms-auth{min-height:100vh;max-width:540px;margin:auto;padding:54px 18px}.ms-auth>.ms-brand{display:inline-block;margin-bottom:24px}.ms-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:30px;box-shadow:var(--shadow)}.ms-kicker{font-size:11px;font-weight:800;letter-spacing:.14em;color:var(--blue)}.ms-card h1{font-size:30px;margin:7px 0 10px}.ms-card>p{color:var(--muted);line-height:1.8}.ms-form{display:grid;gap:15px;margin-top:22px}.ms-form label,.ms-edit>label{display:grid;gap:6px;font-size:13px;font-weight:700}.ms-form small{font-weight:400;color:var(--muted)}.ms-form input,.ms-edit select,.ms-edit textarea,.ms-folder-add input{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;font:inherit;background:#fff}.ms-station-input{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}.ms-station-input b{font-size:18px}.ms-primary{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:13px;background:linear-gradient(135deg,var(--blue),#197cab);color:#fff;padding:13px 19px;text-decoration:none;font:inherit;font-weight:800;cursor:pointer}.ms-form .ms-primary{width:100%;min-height:50px}.ms-switch{text-align:center;font-size:13px}.ms-switch a{color:var(--blue);font-weight:700}.ms-alert{border-radius:13px;padding:12px 14px;margin:14px 0;font-size:13px}.ms-alert.error{background:#fff1ef;border:1px solid #ecc5bf;color:#8a3e34}.ms-alert.ok{background:#effaf3;border:1px solid #c6e7d0;color:#326d45}.ms-note{font-size:12px!important}.ms-header{min-height:70px;padding:0 24px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:20}.ms-header nav{display:flex;align-items:center;gap:17px}.ms-header nav a,.ms-header nav button{font:inherit;font-size:13px;font-weight:700;text-decoration:none;border:0;background:none;cursor:pointer;color:#365166}.ms-wrap{max-width:1180px;margin:auto;padding:28px 20px 70px}.ms-station-hero{background:linear-gradient(135deg,#113f5e,#1a729e);color:#fff;border-radius:26px;padding:30px;display:flex;align-items:center;justify-content:space-between;gap:24px;box-shadow:var(--shadow)}.ms-station-hero span{font-size:11px;letter-spacing:.15em;color:#c7e0ed;font-weight:800}.ms-station-hero h1{font-size:clamp(32px,5vw,48px);margin:5px 0}.ms-station-hero p{margin:0;color:#d6e6ee}.ms-station-hero .ms-primary{background:#fff;color:#123f5d}.ms-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}.ms-stats article{background:#fff;border:1px solid var(--line);border-radius:17px;padding:18px}.ms-stats b{font-size:27px;display:block}.ms-stats span{font-size:12px;color:var(--muted)}.ms-layout{display:grid;grid-template-columns:230px 1fr;gap:22px}.ms-sidebar{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;height:max-content;position:sticky;top:90px}.ms-sidebar h2{font-size:14px;margin:7px 0 10px}.ms-sidebar p{font-size:12px;color:var(--muted);line-height:1.6}.ms-filter-list{display:grid;gap:7px;margin-bottom:20px}.ms-filter-list span{display:flex;justify-content:space-between;gap:8px;padding:8px 9px;background:#f5f9fc;border-radius:10px;font-size:12px}.ms-folder-add{display:grid;grid-template-columns:1fr 36px;gap:6px}.ms-folder-add input{padding:9px;font-size:12px}.ms-folder-add button{border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:800}.ms-section-head span{font-size:10px;color:var(--blue);letter-spacing:.15em;font-weight:800}.ms-section-head h2{margin:4px 0 15px}.ms-empty{text-align:center;background:#fff;border:1px solid var(--line);border-radius:20px;padding:50px 20px}.ms-empty>div{font-size:40px}.ms-empty h3{margin-bottom:5px}.ms-empty p{color:var(--muted)}.ms-hotel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.ms-hotel-card{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden;box-shadow:var(--shadow)}.ms-hotel-card>img,.ms-img-empty{width:100%;aspect-ratio:16/8;object-fit:cover;background:#e7f1f6;display:grid;place-items:center;color:#7290a0}.ms-hotel-body{padding:18px}.ms-place{font-size:11px;color:var(--blue);font-weight:700}.ms-hotel-body h3{margin:5px 0 13px;font-size:18px;line-height:1.5}.ms-edit{display:grid;gap:11px}.ms-edit textarea{resize:vertical}.ms-folder-checks{display:flex;flex-wrap:wrap;gap:7px}.ms-folder-checks label{font-size:11px;background:#f3f8fb;border-radius:999px;padding:6px 9px}.ms-save-small{border:0;border-radius:10px;background:#e9f5fb;color:#12658f;padding:9px;font-weight:800;cursor:pointer}.ms-card-actions{display:flex;align-items:center;justify-content:space-between;margin-top:12px;padding-top:12px;border-top:1px solid #e6eff4}.ms-card-actions a{font-size:12px;color:var(--blue);font-weight:800}.ms-delete{border:0;background:none;color:var(--red);font-size:11px;cursor:pointer}
.ms-keep-form{display:inline}.ms-keep-btn{border:1px solid #cbdde8;background:#fff;color:#35637d;border-radius:12px;padding:10px 13px;font-weight:800;cursor:pointer;white-space:nowrap}.ms-keep-btn.is-kept{background:#fff2f3;border-color:#efcbd0;color:#a84b59}.ms-nav-link{display:inline-flex;align-items:center;gap:5px;border:1px solid #d7e5ed;border-radius:999px;padding:8px 12px!important;background:#fff}
@media(max-width:850px){.ms-layout{grid-template-columns:1fr}.ms-sidebar{position:static}.ms-hotel-grid{grid-template-columns:1fr}.ms-station-hero{align-items:stretch;flex-direction:column}.ms-stats{grid-template-columns:repeat(3,1fr)}}@media(max-width:520px){.ms-header{padding:0 14px}.ms-header nav>a{display:none}.ms-wrap{padding:18px 12px 50px}.ms-card{padding:22px}.ms-stats{gap:7px}.ms-stats article{padding:13px}.ms-stats b{font-size:22px}}
/* v2.5.2 folder counts / delete / save feedback */
.ms-folder-list{display:grid;gap:7px;margin-bottom:20px}
.ms-folder-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:7px 8px 7px 10px;
  background:#f5f9fc;
  border-radius:10px;
}
.ms-folder-name{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ms-folder-count{
  min-width:22px;height:22px;padding:0 6px;border-radius:999px;
  display:inline-flex;align-items:center;justify-content:center;
  background:#fff;border:1px solid #d8e6ee;color:#12658f;
  font-size:11px;font-weight:800;
}
.ms-folder-delete-form{margin:0}
.ms-folder-delete{
  width:26px;height:26px;border:0;border-radius:8px;background:transparent;
  color:#8fa3af;font-size:17px;line-height:1;cursor:pointer;
}
.ms-folder-delete:hover{background:#fff0ef;color:#b75043}
.ms-toast{
  position:fixed;top:86px;right:20px;z-index:1000;
  max-width:min(420px,calc(100vw - 28px));
  padding:13px 17px;border-radius:13px;
  background:#123f5d;color:#fff;font-size:13px;font-weight:800;
  box-shadow:0 14px 34px rgba(18,63,93,.24);
  opacity:1;transform:translateY(0);
  transition:opacity .25s ease,transform .25s ease;
}
.ms-toast.is-hide{opacity:0;transform:translateY(-8px);pointer-events:none}
@media(max-width:520px){
  .ms-toast{top:74px;right:14px;left:14px;max-width:none}
}

/* v2.5.3 folder filter UX */
.ms-folder-row-wrap{
  display:grid;
  grid-template-columns:minmax(0,1fr) 24px;
  align-items:center;
  gap:4px;
}
.ms-folder-filter{
  text-decoration:none;
  cursor:pointer;
}
.ms-folder-row.ms-folder-filter{
  grid-template-columns:minmax(0,1fr) auto;
}
.ms-folder-filter:hover{
  background:#eef7fb;
}
.ms-folder-filter.is-active{
  background:#e5f3fa;
  box-shadow:inset 3px 0 0 #12658f;
}
.ms-folder-delete{
  width:22px!important;
  height:22px!important;
  padding:0!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  font-size:12px!important;
  line-height:22px!important;
  opacity:.38;
  filter:grayscale(1);
}
.ms-folder-delete:hover{
  opacity:.9;
  filter:none;
  background:#fff1ef!important;
}
.ms-section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
}
.ms-clear-filter{
  font-size:12px;
  color:#12658f;
  font-weight:700;
  text-decoration:none;
  margin-bottom:15px;
}

/* v2.5.5: top page My Station introduction */
.ts-my-station-intro{
  max-width:1180px;
  margin:36px auto 54px;
  padding:0 20px;
}
.ts-my-station-intro-inner{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);
  gap:28px;
  align-items:center;
  padding:32px;
  border:1px solid #d7e6ee;
  border-radius:26px;
  background:linear-gradient(135deg,#f8fcfe,#edf7fb);
  box-shadow:0 18px 46px rgba(20,65,92,.08);
}
.ts-my-station-copy>span{
  font-size:11px;
  font-weight:800;
  letter-spacing:.15em;
  color:#12658f;
}
.ts-my-station-copy h2{
  margin:7px 0 10px;
  font-size:clamp(25px,3vw,36px);
  line-height:1.4;
  color:#183344;
}
.ts-my-station-copy p{
  margin:0;
  color:#607988;
  line-height:1.9;
}
.ts-my-station-points{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0;
}
.ts-my-station-points b{
  padding:7px 10px;
  border:1px solid #d7e6ee;
  border-radius:999px;
  background:#fff;
  color:#426377;
  font-size:12px;
}
.ts-my-station-intro-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
}
.ts-my-station-main{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 18px;
  border-radius:13px;
  background:#12658f;
  color:#fff!important;
  text-decoration:none;
  font-weight:800;
}
.ts-my-station-more{
  color:#12658f;
  text-decoration:none;
  font-size:13px;
  font-weight:800;
}
.ts-my-station-visual{
  position:relative;
  min-height:210px;
  display:grid;
  place-items:center;
}
.ts-station-sign{
  width:min(100%,300px);
  padding:26px 22px;
  border:5px solid #153f5d;
  border-radius:16px;
  background:#fff;
  text-align:center;
  box-shadow:0 18px 35px rgba(18,63,93,.12);
}
.ts-station-sign small{
  display:block;
  color:#78909f;
  letter-spacing:.14em;
  font-size:9px;
}
.ts-station-sign strong{
  display:block;
  margin:7px 0;
  font-size:28px;
  color:#123f5d;
}
.ts-station-sign span{font-size:28px}
.ts-station-note{
  position:absolute;
  right:0;
  bottom:0;
  padding:10px 13px;
  border-radius:12px;
  background:#123f5d;
  color:#fff;
  font-size:12px;
  font-weight:700;
  line-height:1.6;
}
@media(max-width:760px){
  .ts-my-station-intro{padding:0 14px;margin:28px auto 40px}
  .ts-my-station-intro-inner{grid-template-columns:1fr;padding:22px}
  .ts-my-station-visual{min-height:170px}
  .ts-my-station-intro-actions{align-items:stretch}
  .ts-my-station-main{width:100%}
  .ts-my-station-more{text-align:center;padding:8px}
}

/* v2.5.6 free messaging */
.ts-my-station-free{
  display:inline-flex;
  align-items:center;
  margin-left:8px;
  padding:4px 8px;
  border-radius:999px;
  background:#eaf7ef;
  color:#31734a;
  font-size:11px;
  font-weight:800;
}

/* v2.6 Trip List */
.ms-stats{grid-template-columns:repeat(4,1fr)}
.ms-trip-section{margin:22px 0}
.ms-trip-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.ms-trip-card{display:flex;flex-direction:column;min-height:150px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px;text-decoration:none;box-shadow:var(--shadow)}
.ms-trip-card>span{font-size:10px;letter-spacing:.12em;color:var(--blue);font-weight:800}.ms-trip-card h3{margin:6px 0;font-size:18px}.ms-trip-card p{margin:0 0 14px;color:var(--muted)}.ms-trip-card>div{margin-top:auto;font-size:12px;color:var(--muted)}.ms-trip-card>div b{color:var(--text);font-size:15px}.ms-trip-empty{background:#fff;border:1px dashed #cbdde8;border-radius:18px;padding:22px;display:grid;gap:7px}.ms-trip-empty span{font-size:13px;color:var(--muted);line-height:1.7}.ms-trip-empty a{color:var(--blue);font-weight:800;font-size:13px;text-decoration:none}
.ms-trip-mini-list{display:grid;gap:7px;margin-bottom:20px}.ms-trip-mini-list>a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 9px;background:#f5f9fc;border-radius:10px;text-decoration:none;font-size:12px}.ms-trip-mini-list a b{color:var(--blue)}.ms-trip-mini-list .ms-trip-all,.ms-trip-mini-empty{background:transparent!important;color:var(--blue);font-weight:800}
.ms-trip-checks{display:flex;flex-wrap:wrap;gap:7px}.ms-trip-checks label{font-size:11px;background:#eef6fb;border:1px solid #d8e6ee;border-radius:999px;padding:6px 9px}
.ms-trip-list-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.ms-trip-list-head span{font-size:10px;color:var(--blue);font-weight:800;letter-spacing:.15em}.ms-trip-list-head h1{font-size:36px;margin:5px 0}.ms-trip-list-head p{color:var(--muted);margin:0}
.ms-trip-cards-all{grid-template-columns:repeat(3,minmax(0,1fr))}
.ms-trip-detail-hero{background:linear-gradient(135deg,#123f5d,#1979a8);color:#fff;border-radius:24px;padding:28px;display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.ms-trip-detail-hero span{font-size:10px;letter-spacing:.15em;color:#c9dfeb;font-weight:800}.ms-trip-detail-hero h1{font-size:clamp(30px,5vw,46px);margin:5px 0}.ms-trip-detail-hero p{margin:0;color:#d5e5ed}.ms-trip-detail-hero .ms-primary{background:#fff;color:#123f5d}
.ms-trip-detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px}.ms-trip-main{display:grid;gap:20px}.ms-trip-block{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px}.ms-trip-side .ms-card{position:sticky;top:88px}.ms-trip-delete-form{margin-top:16px;padding-top:12px;border-top:1px solid var(--line);text-align:right}
.ms-trip-hotel-list{display:grid;gap:10px}.ms-trip-hotel-list article{display:grid;grid-template-columns:110px 1fr;gap:13px;align-items:center;border:1px solid var(--line);border-radius:14px;overflow:hidden}.ms-trip-hotel-list img{width:110px;height:86px;object-fit:cover;background:#e8f1f6}.ms-trip-hotel-list article>div{padding:10px 12px 10px 0}.ms-trip-hotel-list h3{font-size:15px;margin:3px 0}.ms-trip-hotel-list small{color:var(--blue)}.ms-trip-hotel-list a{font-size:12px;color:var(--blue);font-weight:800}
.ms-place-add{display:grid;grid-template-columns:1fr 1fr 42px;gap:7px;margin-bottom:13px}.ms-place-add input{border:1px solid var(--line);border-radius:11px;padding:10px;font:inherit}.ms-place-add button{border:0;border-radius:10px;background:var(--blue);color:#fff;font-weight:800}.ms-place-list{display:grid;gap:8px}.ms-place-row{display:grid;grid-template-columns:34px 1fr 28px;align-items:center;gap:8px;padding:10px;border-radius:12px;background:#f5f9fc}.ms-place-row.is-done{opacity:.55}.ms-place-row.is-done b{text-decoration:line-through}.ms-place-row small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.ms-place-check,.ms-place-delete{border:0;background:transparent;cursor:pointer}.ms-place-check{font-size:18px;color:var(--blue)}.ms-place-delete{color:#9aaab4}.ms-muted{color:var(--muted);font-size:13px;line-height:1.8}.ms-date-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ms-trip-form-wrap{max-width:620px}
@media(max-width:900px){.ms-trip-cards,.ms-trip-cards-all{grid-template-columns:repeat(2,1fr)}.ms-trip-detail-grid{grid-template-columns:1fr}.ms-trip-side .ms-card{position:static}.ms-stats{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.ms-trip-cards,.ms-trip-cards-all{grid-template-columns:1fr}.ms-trip-list-head,.ms-trip-detail-hero{align-items:stretch;flex-direction:column}.ms-place-add{grid-template-columns:1fr 44px}.ms-place-add input:nth-of-type(2){grid-column:1/-1}.ms-date-grid{grid-template-columns:1fr}.ms-trip-hotel-list article{grid-template-columns:90px 1fr}.ms-trip-hotel-list img{width:90px;height:78px}}

/* v2.7 Trip detail UX */
.ms-trip-count{
  font-size:12px;
  color:#78909e;
  font-weight:700;
}
.ms-trip-hero-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.ms-trip-hero-stats span{
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.11);
  color:#e7f1f6;
  font-size:12px;
}
.ms-trip-hero-stats b{color:#fff;font-size:15px}
.ms-trip-empty-mini{
  display:grid;
  gap:5px;
  margin-bottom:14px;
  padding:15px;
  border:1px dashed #cbdde8;
  border-radius:13px;
  background:#f9fcfd;
}
.ms-trip-empty-mini span{font-size:12px;color:var(--muted);line-height:1.7}
.ms-trip-hotel-info{min-width:0}
.ms-trip-hotel-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.ms-trip-hotel-actions form{margin:0}
.ms-trip-remove{
  border:0;
  background:transparent;
  color:#a15e57;
  font-size:11px;
  cursor:pointer;
}
.ms-trip-noimg{
  width:110px;height:86px;
  display:grid;place-items:center;
  background:#e8f1f6;font-size:25px;
}
.ms-trip-add-kept{
  margin-top:16px;
  border-top:1px solid var(--line);
  padding-top:14px;
}
.ms-trip-add-kept summary{
  cursor:pointer;
  color:var(--blue);
  font-size:13px;
  font-weight:800;
}
.ms-trip-add-list{
  display:grid;
  gap:8px;
  margin-top:10px;
}
.ms-trip-add-row{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:8px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}
.ms-trip-add-row img,.ms-trip-add-noimg{
  width:58px;height:44px;
  object-fit:cover;
  border-radius:8px;
  background:#eef5f8;
}
.ms-trip-add-noimg{display:grid;place-items:center}
.ms-trip-add-row>span b{
  display:block;
  font-size:12px;
  line-height:1.45;
}
.ms-trip-add-row>span small{
  display:block;
  margin-top:2px;
  color:var(--muted);
  font-size:10px;
}
.ms-trip-add-row button{
  border:0;
  border-radius:9px;
  background:#e9f5fb;
  color:#12658f;
  padding:8px 10px;
  font-size:11px;
  font-weight:800;
  cursor:pointer;
}
.ms-trip-head-links{
  display:flex;
  align-items:center;
  gap:12px;
}
@media(max-width:560px){
  .ms-trip-hotel-actions{align-items:flex-start;flex-direction:column}
  .ms-trip-add-row{grid-template-columns:48px minmax(0,1fr) auto}
  .ms-trip-add-row img,.ms-trip-add-noimg{width:48px;height:40px}
  .ms-trip-head-links{gap:8px}
}

/* v2.7.1 region filter */
.ms-region-list{margin-bottom:20px}
.ms-region-list .ms-folder-row{grid-template-columns:minmax(0,1fr) auto}

/* ===== v2.8 trip planner ===== */
.ms-rank-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.ms-rank-badge,.ms-rank-mini{display:inline-block;border:1px solid #dce5e1;background:#f6faf8;color:#557067;border-radius:999px;padding:4px 9px;font-size:12px;font-weight:700}.ms-rank-badge.is-ranked{background:#e7f6ef;color:#17664f;border-color:#b9e3d3}.ms-order-buttons{display:flex;gap:5px}.ms-order-buttons form{margin:0}.ms-order-buttons button{width:30px;height:30px;border:1px solid #d9e1e6;border-radius:8px;background:#fff;cursor:pointer}.ms-hotel-meta{display:grid;grid-template-columns:120px 1fr auto;gap:7px;margin:10px 0}.ms-hotel-meta select,.ms-hotel-meta input{min-width:0;border:1px solid #d9e1e6;border-radius:9px;padding:8px;background:#fff}.ms-hotel-meta button{border:0;border-radius:9px;padding:8px 12px;background:#2c8068;color:#fff;font-weight:700;cursor:pointer}.ms-compare-wrap{overflow:auto;-webkit-overflow-scrolling:touch}.ms-compare{border-collapse:separate;border-spacing:0;min-width:620px;width:100%;font-size:13px}.ms-compare th,.ms-compare td{border-right:1px solid #e5e9ec;border-bottom:1px solid #e5e9ec;padding:10px;vertical-align:top;background:#fff}.ms-compare tr:first-child th{background:#f5f9f7}.ms-compare th:first-child{position:sticky;left:0;z-index:1;min-width:86px;background:#f8fafb}.ms-rank-mini{margin:0 6px 5px 0}.ms-itinerary-add{display:grid;grid-template-columns:95px 80px 1fr 1fr auto;gap:7px;margin-bottom:14px}.ms-itinerary-add select,.ms-itinerary-add input{min-width:0;border:1px solid #d9e1e6;border-radius:9px;padding:9px;background:#fff}.ms-itinerary-add button{border:0;border-radius:9px;background:#2c8068;color:#fff;font-weight:700;padding:9px 13px}.ms-day-block{border-top:1px solid #edf0f2;padding:12px 0}.ms-day-block h3{margin:0 0 8px;font-size:16px}.ms-day-block h3 small{color:#7a8790;font-weight:500}.ms-plan-row{display:grid;grid-template-columns:34px 58px 1fr 34px;align-items:center;gap:8px;padding:8px 0}.ms-plan-row time{font-size:12px;color:#65727c;font-weight:700}.ms-plan-row b,.ms-plan-row small{display:block}.ms-plan-row small{color:#7b8790;margin-top:2px}.ms-plan-row.is-done{opacity:.58}.ms-plan-row.is-done b{text-decoration:line-through}.ms-empty-line{color:#89939b;font-size:13px;margin:5px 0 10px}.ms-check-card{margin-top:14px}.ms-check-add{display:grid;grid-template-columns:1fr auto;gap:6px;margin-bottom:8px}.ms-check-add input{min-width:0;border:1px solid #d9e1e6;border-radius:9px;padding:9px}.ms-check-add button,.ms-template-btn{border:0;border-radius:9px;background:#2c8068;color:#fff;padding:9px 12px;font-weight:700}.ms-template-btn{width:100%;background:#eef7f3;color:#27715d;margin-bottom:8px}.ms-check-row{display:grid;grid-template-columns:30px 1fr 30px;gap:6px;align-items:center;padding:7px 0;border-bottom:1px solid #edf0f2}.ms-check-row form{margin:0}.ms-check-row button{border:0;background:transparent;font-size:18px;cursor:pointer}.ms-check-row .ms-x{color:#9aa3aa}.ms-check-row.is-done{opacity:.55}.ms-check-row.is-done span{text-decoration:line-through}
@media(max-width:760px){.ms-hotel-meta{grid-template-columns:1fr 1fr}.ms-hotel-meta button{grid-column:1/-1}.ms-itinerary-add{grid-template-columns:1fr 1fr}.ms-itinerary-add input:nth-of-type(2),.ms-itinerary-add input:nth-of-type(3),.ms-itinerary-add button{grid-column:1/-1}.ms-plan-row{grid-template-columns:32px 50px 1fr 30px}}


/* ===== v2.9 trip sharing ===== */
.ms-share-card{margin-top:14px}.ms-share-start{width:100%;border:0;border-radius:11px;background:#12658f;color:#fff;padding:11px 14px;font-weight:800;cursor:pointer}.ms-share-active{display:grid;gap:9px}.ms-share-active>span{justify-self:start;padding:4px 9px;border-radius:999px;background:#e7f6ef;color:#17664f;font-size:11px;font-weight:800}.ms-share-url{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.ms-share-url input{min-width:0;border:1px solid #d9e1e6;border-radius:9px;padding:9px;background:#f8fafb;color:#66737c}.ms-share-url button{border:0;border-radius:9px;background:#2c8068;color:#fff;padding:9px 11px;font-weight:700;cursor:pointer}.ms-share-preview{font-size:12px;color:#12658f;font-weight:800;text-decoration:none}.ms-share-actions{display:flex;gap:8px;flex-wrap:wrap}.ms-share-actions form{margin:0}.ms-share-stop,.ms-share-reissue{border:1px solid #d9e1e6;border-radius:9px;background:#fff;padding:8px 10px;font-size:11px;cursor:pointer}.ms-share-stop{color:#a15e57}.ms-share-reissue{color:#12658f}.ms-view-only,.ms-share-lock{padding:7px 10px;border-radius:999px;background:#eef6fb;color:#12658f;font-size:12px;font-weight:800}.ms-share-public .ms-wrap{max-width:1080px}.ms-shared-memo{white-space:normal;line-height:1.8;color:#4f5f68}.ms-shared-hotels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.ms-shared-hotels article{display:grid;grid-template-columns:120px minmax(0,1fr);gap:12px;border:1px solid var(--line);border-radius:14px;overflow:hidden}.ms-shared-hotels img{width:120px;height:100%;min-height:120px;object-fit:cover}.ms-shared-hotels article>div{padding:12px 12px 12px 0;min-width:0}.ms-shared-hotels h3{margin:5px 0;font-size:15px}.ms-shared-hotels small{display:block;color:#12658f;margin-top:6px}.ms-shared-hotels p{font-size:12px;color:#65727c}.ms-shared-hotels a{color:#12658f;font-size:12px;font-weight:800}.ms-shared-plan{display:grid;grid-template-columns:28px 58px 1fr;gap:8px;align-items:start;padding:8px 0}.ms-shared-plan time{font-size:12px;color:#65727c;font-weight:700}.ms-shared-plan b,.ms-shared-plan small{display:block}.ms-shared-plan small{color:#7b8790;margin-top:3px}.ms-shared-plan.is-done,.ms-shared-list.is-done{opacity:.55}.ms-shared-plan.is-done b,.ms-shared-list.is-done b{text-decoration:line-through}.ms-share-two{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:20px}.ms-shared-list{display:grid;grid-template-columns:28px 1fr;gap:8px;padding:9px 0;border-bottom:1px solid #edf0f2}.ms-shared-list small{display:block;color:#7b8790;margin-top:3px}.ms-share-foot{text-align:center;color:#7b8790;font-size:11px;margin:22px 0 40px}@media(max-width:760px){.ms-share-url{grid-template-columns:1fr}.ms-shared-hotels{grid-template-columns:1fr}.ms-share-two{grid-template-columns:1fr}.ms-shared-hotels article{grid-template-columns:92px minmax(0,1fr)}.ms-shared-hotels img{width:92px;min-height:105px}}


/* ===== v2.9.1 shared page CTA ===== */
.ms-share-cta{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:center;margin:24px 0 10px;padding:20px 22px;border:1px solid #cfe3ee;border-radius:18px;background:linear-gradient(135deg,#f8fcfe,#eef7fb)}
.ms-share-cta-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#fff;font-size:24px;box-shadow:0 8px 24px rgba(18,101,143,.08)}
.ms-share-cta span{display:block;margin-bottom:4px;color:#12658f;font-size:10px;font-weight:900;letter-spacing:.12em}
.ms-share-cta h2{margin:0 0 5px;font-size:18px;color:#173447}
.ms-share-cta p{margin:0;color:#65727c;font-size:12px;line-height:1.7}
.ms-share-cta-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border-radius:12px;background:#2f8f67;color:#fff!important;text-decoration:none;font-size:13px;font-weight:900;white-space:nowrap;box-shadow:0 8px 20px rgba(47,143,103,.18);transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}
.ms-share-cta-btn:hover{opacity:.96;transform:translateY(-1px);box-shadow:0 10px 24px rgba(47,143,103,.24)}
@media(max-width:760px){.ms-share-cta{grid-template-columns:auto 1fr;padding:17px}.ms-share-cta-btn{grid-column:1/-1;width:100%}.ms-share-cta h2{font-size:16px}}


/* v2.9.3: trip list card actions */
.ms-trip-card-wrap{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.ms-trip-card-wrap .ms-trip-card{
  flex:1;
}
.ms-trip-card-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  padding:8px 10px 0;
  font-size:12px;
}
.ms-trip-card-actions>a{
  color:#156f99;
  text-decoration:none;
  font-weight:700;
}
.ms-trip-card-actions>a:hover{text-decoration:underline;}
.ms-trip-card-actions form{margin:0;}
.ms-trip-card-delete{
  appearance:none;
  border:0;
  background:transparent;
  color:#9a3f3f;
  padding:3px 2px;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.ms-trip-card-delete:hover{text-decoration:underline;}
@media (max-width:720px){
  .ms-trip-card-actions{justify-content:space-between;padding:8px 6px 0;}
  .ms-trip-card-actions>a,.ms-trip-card-delete{min-height:36px;display:inline-flex;align-items:center;}
}

/* ===== v2.9.5 account settings / withdrawal ===== */
.ms-settings-wrap{max-width:860px;padding-top:34px;padding-bottom:60px}
.ms-settings-head{margin-bottom:18px}
.ms-settings-head>span,.ms-danger-kicker{display:block;margin-bottom:5px;color:#12658f;font-size:10px;font-weight:900;letter-spacing:.12em}
.ms-settings-head h1{margin:0 0 7px;color:#173447;font-size:30px}
.ms-settings-head p{margin:0;color:#65727c;line-height:1.7}
.ms-settings-card,.ms-danger-card{margin-top:16px}
.ms-settings-card h2,.ms-danger-card h2{margin-top:0;color:#173447}
.ms-account-info{margin:0;display:grid;gap:0}
.ms-account-info>div{display:grid;grid-template-columns:150px minmax(0,1fr);gap:14px;padding:12px 0;border-bottom:1px solid #edf0f2}
.ms-account-info>div:last-child{border-bottom:0}
.ms-account-info dt{color:#7a8790;font-size:12px;font-weight:800}
.ms-account-info dd{margin:0;color:#243b49;font-weight:700;word-break:break-word}
.ms-danger-card{border-color:#efd4d4;background:#fffafa}
.ms-danger-kicker{color:#9a3f3f}
.ms-danger-card>p{color:#5f6b72;line-height:1.8}
.ms-danger-card ul{margin:14px 0;padding-left:22px;color:#4f5f68;line-height:1.9;font-size:13px}
.ms-danger-note{padding:10px 12px;border-radius:10px;background:#fff;color:#7b6565!important;font-size:12px}
.ms-delete-account-details{margin-top:16px;border-top:1px solid #efdede;padding-top:14px}
.ms-delete-account-details summary{cursor:pointer;color:#9a3f3f;font-size:13px;font-weight:900}
.ms-delete-account-form{margin-top:14px;max-width:520px}
.ms-danger-button{border:1px solid #b34c4c;border-radius:10px;background:#a84444;color:#fff;padding:11px 14px;font-weight:900;cursor:pointer}
.ms-danger-button:hover{opacity:.93}
.ms-settings-back{margin:20px 0 0}
.ms-settings-back a{color:#12658f;font-size:13px;font-weight:800;text-decoration:none}
.ms-goodbye-card{text-align:center}
.ms-goodbye-card p{color:#65727c;line-height:1.8}
.ms-goodbye-card .ms-primary{display:inline-flex;margin-top:8px;text-decoration:none}
@media(max-width:640px){
  .ms-settings-wrap{padding-top:22px}
  .ms-settings-head h1{font-size:25px}
  .ms-account-info>div{grid-template-columns:1fr;gap:3px}
  .ms-danger-button{width:100%;min-height:46px}
}


/* ===== v2.10 recently viewed stays ===== */
.ms-recent-section{margin:22px 0 28px}
.ms-recent-clear-form{margin:0}
.ms-recent-clear-form .ms-clear-filter{border:0;background:transparent;cursor:pointer;font:inherit}
.ms-recent-empty{display:flex;flex-direction:column;gap:5px;padding:18px 20px;border:1px dashed #cbdbe4;border-radius:14px;background:#fff;color:#5f6f79}
.ms-recent-empty b{color:#173447}
.ms-recent-empty span{font-size:13px;line-height:1.7}
.ms-recent-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}
.ms-recent-card{min-width:0;overflow:hidden;border:1px solid #d7e3ea;border-radius:14px;background:#fff;box-shadow:0 8px 24px rgba(26,72,98,.06)}
.ms-recent-card>img,.ms-recent-img-empty{width:100%;height:112px;object-fit:cover;background:#eef5f8}
.ms-recent-img-empty{display:flex;align-items:center;justify-content:center;color:#7f929d;font-size:12px;font-weight:800}
.ms-recent-body{padding:11px 12px 12px}
.ms-recent-place{min-height:17px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:#6d818d;font-size:10px}
.ms-recent-card h3{margin:5px 0 10px;display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2;min-height:42px;color:#173447;font-size:14px;line-height:1.5}
.ms-recent-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px}
.ms-recent-actions a{color:#12658f;font-weight:800;text-decoration:none}
.ms-recent-actions form{margin:0}
.ms-recent-actions button{border:0;background:transparent;color:#9a3f3f;padding:3px 0;font:inherit;font-weight:700;cursor:pointer}
.ms-recent-actions a:hover,.ms-recent-actions button:hover{text-decoration:underline}
@media(max-width:980px){.ms-recent-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:640px){
  .ms-recent-section{margin:18px 0 24px}
  .ms-recent-grid{display:flex;overflow-x:auto;gap:10px;padding-bottom:5px;scroll-snap-type:x proximity}
  .ms-recent-card{flex:0 0 72%;scroll-snap-align:start}
  .ms-recent-card>img,.ms-recent-img-empty{height:120px}
}
