/* Temanten Photo — STEP 07 Redesign halaman tersisa: Pricelist, Booking Link (Form Booking), Pengaturan, Catatan
   + polish Reminder / Upcoming / Impor. WHITE + GREY neutral, pastel = aksen. Dimuat PALING AKHIR. Visual only. */

/* ===== Shared: section title & card label ===== */
.tm-shell .tm-main p.font-mono.uppercase{font-family:var(--ds-sans)!important;font-size:11px!important;font-weight:700!important;letter-spacing:.08em!important;color:var(--ds-mid)!important}
.tm-shell .tm-main .rounded-3xl.border{border-radius:var(--ds-r-lg)!important;border-color:var(--ds-line)!important;box-shadow:var(--ds-sh-1)!important}
.tm-shell .ds-h2{font-size:24px;line-height:1.15;margin:0}

.tm-shell .tm-main .btn-outline>svg,.tm-shell .tm-main .btn-gold>svg,.tm-shell .tm-main .btn-icon>svg{flex:none;width:16px;height:16px}

/* ===== PRICELIST ===== */
.tpl-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:16px;margin-bottom:20px;align-items:stretch}
.tpl-links>*{margin:0!important;min-width:0}
.tpl-links [data-testid=pricelist-public-link-card] .flex{flex-direction:column!important}
.tpl-links [data-testid=pricelist-public-link-card] .btn-outline{white-space:nowrap;justify-content:center}
.tp-linkform{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr)) auto!important;gap:12px!important;align-items:end!important;margin-top:14px}
.tp-linkform>*{min-width:0}
.tpl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 16px}
.tpl-stat .ds-stat-v{margin:4px 0 2px}
.tpl-stat .tpl-stat-sm{font-size:20px!important;letter-spacing:-.02em!important}
.tpl-tools{margin:0 0 12px}
.tpl-filter{margin:0 0 20px}
.tpl-filter .tbk-cnt{margin-left:6px}
.ds-chip-btn.on .tbk-cnt{background:rgba(255,255,255,.18);color:#fff}
.tm-shell .tp-acat{background:#fff!important;border:1px solid var(--ds-line)!important;border-radius:var(--ds-r-lg)!important;padding:20px!important;margin:0 0 18px!important;box-shadow:var(--ds-sh-1)!important}
.tm-shell .tp-acat-head{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap;margin:0 0 16px!important;padding:0 0 16px!important;border-bottom:1px solid var(--ds-line-soft)!important}
.tm-shell .tp-acat-img{width:56px!important;height:56px!important;border-radius:12px!important;object-fit:cover;flex:none;border:1px solid var(--ds-line)}
.tm-shell .tp-acat-info{flex:1 1 200px;min-width:0}
.tm-shell .tp-acat-info p.font-serif{font-family:var(--ds-serif)!important;font-size:26px!important;font-weight:600!important;letter-spacing:0!important;line-height:1.1;color:var(--ds-charcoal)}
.tm-shell .tp-acat-actions{display:flex!important;gap:8px!important;flex-wrap:wrap}
.tm-shell .tp-acat-actions .btn-outline{min-height:40px}
.tpl-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,260px),1fr));gap:14px}
.tpl-pk{position:relative;display:flex;flex-direction:column;gap:10px;min-width:0;padding:18px;background:var(--ds-off);border:1px solid var(--ds-line);border-radius:var(--ds-r-lg);transition:border-color .18s var(--ds-ease),box-shadow .18s var(--ds-ease),transform .18s var(--ds-ease)}
.tpl-pk:hover{border-color:var(--ds-grey-300);box-shadow:var(--ds-sh-2);transform:translateY(-1px)}
.tpl-pk.is-hl{background:#fff;border-color:var(--ds-charcoal)}
.tpl-pk.is-off{opacity:.65}
.tpl-pk-tags{display:flex;gap:6px;flex-wrap:wrap}
.tpl-pk-n{margin:2px 0 0;font-size:18px;font-weight:700;letter-spacing:-.015em;color:var(--ds-charcoal);overflow-wrap:anywhere}
.tpl-pk-p{margin:0;display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.tpl-pk-p b{font-size:22px;font-weight:700;letter-spacing:-.02em;color:var(--ds-charcoal);font-variant-numeric:tabular-nums}
.tpl-pk-old{font-size:13px;color:var(--ds-mid)}
.tpl-pk-f{list-style:none;margin:4px 0 0;padding:12px 0 0;border-top:1px solid var(--ds-line-soft);display:grid;gap:7px;font-size:13.5px;color:var(--ds-text-2)}
.tpl-pk-f li{display:flex;gap:8px;align-items:flex-start;line-height:1.45}
.tpl-ck{width:15px;height:15px;flex:none;margin-top:2px;padding:2px;border-radius:999px;background:var(--ds-mint);color:var(--ds-mint-ink)}
.tpl-pk-none{margin:0;font-size:13px;color:var(--ds-mid)}
.tpl-pk-a{display:flex;gap:8px;margin-top:auto;padding-top:12px;border-top:1px solid var(--ds-line-soft)}
.tpl-pk-a .btn-outline{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:6px}
.tm-shell .tpl-del:hover,.tm-shell .tnt-del:hover{color:var(--ds-rose-ink)!important;background:var(--ds-rose)!important}
.tm-shell .tm-pkg-list{display:grid;gap:0;border:1px solid var(--ds-line);border-radius:var(--ds-r);overflow:hidden}
.tm-shell .tm-pkg-row{display:flex;align-items:center;gap:10px;padding:10px 14px;background:#fff;border:0!important;border-bottom:1px solid var(--ds-line-soft)!important;border-radius:0!important;margin:0!important}
.tm-shell .tm-pkg-row:last-child{border-bottom:0!important}
.tm-shell .tm-pkg-name{flex:1;min-width:0;font-weight:550;color:var(--ds-ink)}
.tm-shell .tm-pkg-cat{display:block;font-size:11px;color:var(--ds-mid);font-weight:500}
.tm-shell .tm-pkg-price{font-weight:700;font-variant-numeric:tabular-nums;color:var(--ds-charcoal);white-space:nowrap}

/* ===== BOOKING LINK (Form Booking) ===== */
.tm-shell [data-testid=permanent-links-card] .flex.flex-col.gap-2{align-items:stretch}
.tm-shell [data-testid=permanent-links-card] .flex.gap-2>.btn-outline{white-space:nowrap;display:inline-flex;align-items:center;gap:6px;justify-content:center;padding:0 14px}
.tm-shell [data-testid=permanent-links-card] .space-y-4>div{padding:14px;border:1px solid var(--ds-line-soft);border-radius:var(--ds-r);background:var(--ds-off)}
.tm-shell [data-testid=permanent-links-card] .space-y-4>div+div{margin-top:12px!important}
.tm-shell .tml-mode{display:inline-flex!important;padding:4px!important;border-radius:999px!important;gap:4px;flex-wrap:wrap;width:auto!important}
.tm-shell .tml-mode button{min-height:38px;padding:0 16px;border-radius:999px!important;font-weight:600;font-size:13px;color:var(--ds-text-2)}
.tml-head{display:flex;flex-direction:column;gap:12px;margin:28px 0 14px}
.tml-head-t p{margin:4px 0 0;font-size:13px;color:var(--ds-mid)}
.tml-tools{display:flex;gap:10px;align-items:center;flex-wrap:wrap;justify-content:space-between}
.tml-tools .ds-search{max-width:340px}
.tml-tools .tbk-cnt{margin-left:6px}
.tm-shell .tml-list{display:grid;gap:10px;grid-template-columns:minmax(0,1fr)}
.tm-shell .tml-item{display:flex!important;align-items:center;gap:14px;padding:16px!important;background:#fff!important;border:1px solid var(--ds-line)!important;border-radius:var(--ds-r-lg)!important;flex-wrap:wrap}
.tm-shell .tml-item.tml-off{background:var(--ds-off)!important}
.tm-shell .tml-main{display:flex;flex-direction:column;gap:4px;flex:1 1 300px;min-width:0}
.tm-shell .tml-main b{font-size:15px;font-weight:700;color:var(--ds-charcoal)}
.tm-shell .tml-main small{font-size:12.5px;color:var(--ds-mid);overflow-wrap:anywhere}
.tml-url{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:500 12px ui-monospace,SFMono-Regular,Menlo,monospace;color:var(--ds-text-2);background:var(--ds-grey-50);border:1px solid var(--ds-line-soft);border-radius:8px;padding:5px 8px;margin-top:2px}
.tm-shell .tml-tags{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:2px}
.tm-shell .tml-acts{display:flex;gap:8px;flex-wrap:wrap}
.tm-shell .tml-acts .btn-outline{min-height:40px;display:inline-flex;align-items:center;gap:6px}
.tm-shell .fb-list{display:grid;gap:8px;margin-top:16px}
.tm-shell .fb-row{display:grid!important;grid-template-columns:minmax(0,1fr) 130px 160px auto auto;gap:8px;align-items:center;padding:8px!important;background:var(--ds-off)!important;border:1px solid var(--ds-line-soft)!important;border-radius:var(--ds-r)!important}
.tm-shell .fb-row>*{min-width:0}
.tm-shell .fb-row .fb-type{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 10px;border-radius:999px;background:#fff;border:1px solid var(--ds-line);font-size:12px;color:var(--ds-mid);white-space:nowrap}
.tm-shell .fb-row button{min-height:36px;border-radius:8px}

/* ===== PENGATURAN ===== */
.tst{display:grid!important;grid-template-columns:260px minmax(0,1fr);gap:20px;align-items:start}
.tm-shell .tst-nav{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;gap:4px!important;height:auto!important;padding:8px!important;margin:0!important;background:#fff!important;border:1px solid var(--ds-line)!important;border-radius:var(--ds-r-lg)!important;position:sticky;top:16px}
.tm-shell .tst-tab{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:2px;width:100%;min-height:52px;padding:9px 12px!important;border-radius:10px!important;text-align:left;white-space:normal!important;background:transparent!important;box-shadow:none!important;color:var(--ds-text-2)!important;transition:background-color .18s var(--ds-ease)}
.tm-shell .tst-tab b{font-size:13.5px;font-weight:650;color:inherit}
.tm-shell .tst-tab small{font-size:11.5px;font-weight:500;color:var(--ds-mid);line-height:1.35}
.tm-shell .tst-tab:hover{background:var(--ds-grey-50)!important}
.tm-shell .tst-tab[data-state=active]{background:var(--ds-grey-100)!important;color:var(--ds-charcoal)!important}
.tm-shell .tst-panel{min-width:0}
.tst-h{margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid var(--ds-line-soft)}
.tst-h-t{margin:0;font-family:var(--ds-serif);font-size:26px;font-weight:600;color:var(--ds-charcoal);line-height:1.15}
.tst-h-s{margin:4px 0 0;font-size:13px;color:var(--ds-mid)}
.tst-info{display:grid;gap:14px}
.tst-sec{border:1px solid var(--ds-line-soft);border-radius:var(--ds-r);padding:14px 16px;background:var(--ds-off)}
.tst-sec h3{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ds-mid)}
.tst-kv{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 0;border-top:1px solid var(--ds-line-soft);font-size:14px;flex-wrap:wrap}
.tst-sec h3+.tst-kv{border-top:0}
.tst-kv>span:first-child{color:var(--ds-text-2)}
.tst-kv b{font-weight:650;color:var(--ds-charcoal);overflow-wrap:anywhere;text-align:right}
.tst-note{margin:4px 0 10px;font-size:13px;color:var(--ds-mid);line-height:1.55}
.tm-shell .tst-btn{display:inline-flex;align-items:center;justify-content:center;padding:0 16px}

/* ===== CATATAN ===== */
.tnt-new{display:grid;gap:10px;margin-bottom:18px}
.tnt-lbl{margin:0;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--ds-mid)}
.tnt-new-a{display:flex;justify-content:flex-end;gap:8px}
.tnt-new-a .btn-gold,.tnt-new-a .btn-outline{display:inline-flex;align-items:center;gap:6px;padding:0 16px}
.tnt-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:14px}
.tnt-tools .tbk-cnt{margin-left:6px}
.tnt-list{display:grid;gap:10px}
.tnt-item{display:flex;align-items:flex-start;gap:12px;padding:14px 14px 14px 16px;background:#fff;border:1px solid var(--ds-line);border-radius:var(--ds-r-lg);min-width:0;transition:border-color .18s var(--ds-ease)}
.tnt-item:hover{border-color:var(--ds-grey-300)}
.tnt-item.done{background:var(--ds-off)}
.tnt-item.done .tnt-top b{color:var(--ds-mid);text-decoration:line-through}
.tnt-ck{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex:none;cursor:pointer}
.tnt-ck input{width:18px;height:18px}
.tnt-body{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;text-align:left;background:none;border:0;padding:4px 0;cursor:pointer;color:inherit}
.tnt-top{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tnt-top b{font-size:15px;font-weight:650;color:var(--ds-charcoal);overflow-wrap:anywhere}
.tnt-c{font-size:13.5px;color:var(--ds-text-2);line-height:1.5;white-space:pre-line;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.tnt-body small{font-size:12px;color:var(--ds-mid)}
.tnt-a{display:flex;gap:4px;flex:none}
.tnt-edit{flex-direction:column;align-items:stretch;border-color:var(--ds-grey-400);box-shadow:var(--ds-sh-2)}

/* ===== Reminder / Upcoming / Impor polish (existing pages) ===== */
.tm-shell .tm-main .rounded-lg.border.p-4,.tm-shell .tm-main .rounded-xl.border.p-4{border-radius:var(--ds-r-lg)!important}

/* ===== TABLET ===== */
@media (max-width:1023px){
  .tpl-links{grid-template-columns:minmax(0,1fr)}
  .tpl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tst{grid-template-columns:minmax(0,1fr)}
  .tm-shell .tst-nav{flex-direction:row!important;overflow-x:auto;position:static;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tm-shell .tst-nav::-webkit-scrollbar{display:none}
  .tm-shell .tst-tab{flex:none!important;width:auto!important;min-height:44px!important;justify-content:center}
  .tm-shell .tst-tab small{display:none}
  .tm-shell .tst-tab b{white-space:nowrap}
}

/* ===== MOBILE (360 / 375 / 390 / 414) ===== */
@media (max-width:767px){
  .tp-linkform{grid-template-columns:minmax(0,1fr)!important}
  .tp-linkform .btn-gold{width:100%}
  .tpl-stats{gap:8px}
  .tpl-stat{padding:12px 14px!important}
  .tpl-stat .ds-stat-v{font-size:22px!important}
  .tpl-stat .tpl-stat-sm{font-size:15px!important}
  .tpl-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;margin-left:-2px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tpl-filter::-webkit-scrollbar{display:none}
  .tpl-filter .ds-chip-btn{flex:none;min-height:40px;white-space:nowrap}
  .tm-shell .tp-acat{padding:16px!important}
  .tm-shell .tp-acat-info p.font-serif{font-size:22px!important}
  .tm-shell .tp-acat-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}
  .tm-shell .tp-acat-actions>*{width:100%;justify-content:center;min-height:44px!important}
  .tpl-pk-a .btn-icon{min-width:44px;min-height:44px}
  .tm-shell [data-testid=permanent-links-card] .flex.gap-2>.btn-outline:first-child{flex:1}
  .tml-tools{flex-direction:column;align-items:stretch}
  .tml-tools .ds-search{max-width:none}
  .tml-tools .ds-filter{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:2px;min-width:0;max-width:100%}
  .tml-tools .ds-filter::-webkit-scrollbar{display:none}
  .tml-tools .ds-chip-btn{flex:none;min-height:40px;white-space:nowrap}
  .tm-shell .tml-mode{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%!important;border-radius:12px!important}
  .tm-shell .tml-mode button{min-height:44px;border-radius:9px!important}
  .tm-shell .tml-main{flex-basis:100%}
  .tm-shell .tml-acts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}
  .tm-shell .tml-acts .btn-outline{min-height:44px;justify-content:center;padding:0 6px;font-size:13px}
  .tm-shell .fb-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .tm-shell .fb-row .fb-label{grid-column:1/-1}
  .tm-shell .fb-row .fb-req{grid-column:1/-1}
  .tm-shell .fb-row button{min-height:44px;min-width:44px}
  .tst-h-t{font-size:22px}
  .tst-kv{flex-direction:column;align-items:flex-start;gap:4px}
  .tst-kv b{text-align:left}
  .tm-shell .tst-btn{width:100%}
  .tnt-tools{flex-direction:column;align-items:stretch}
  .tnt-tools .ds-search{max-width:none}
  .tnt-tools .ds-chip-btn{flex:1 1 auto;min-height:40px}
  .tnt-new-a .btn-gold,.tnt-new-a .btn-outline{flex:1;justify-content:center}
  .tnt-item{padding:12px;gap:8px}
  .tnt-a .btn-icon{min-width:44px;min-height:44px}
}
@media (max-width:380px){
  .tpl-stat .ds-stat-v{font-size:20px!important}
  .tm-shell .tml-acts{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tnt-item{flex-wrap:wrap}
  .tnt-a{margin-left:auto}
}
