body.page-id-107 .wp-block-post-content{max-width:none!important;width:100%!important;padding:0!important}
body.page-id-107 main.wp-block-group{max-width:none!important;margin-top:0!important}
body.nusa-legasi-workspace-page .wp-block-post-content{max-width:none!important;width:100%!important}
body.nusa-legasi-workspace-page main.wp-block-group{max-width:none!important}
.nusa-legasi{--legasi-ink:#26231f;--legasi-muted:#665e55;--legasi-paper:#fbf9f5;--legasi-sand:#e9e3d8;--legasi-line:#d9d1c4;--legasi-wine:#7d202b;box-sizing:border-box;max-width:1400px;margin:0 auto;padding:0 clamp(20px,4vw,64px) 72px;background:var(--legasi-paper);color:var(--legasi-ink);font-family:inherit}
.nusa-legasi *{box-sizing:border-box}
.nusa-legasi h1,.nusa-legasi h2,.nusa-legasi h3,.nusa-legasi-intro strong,.nusa-legasi-feature strong{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em;line-height:1.12}
.nusa-legasi h1{font-size:clamp(2.8rem,6vw,5.8rem);margin:12px 0 22px;max-width:820px}
.nusa-legasi h2{font-size:clamp(2rem,3.8vw,3.4rem);margin:9px 0 14px}
.nusa-legasi h3{font-size:1.5rem;margin:8px 0 12px}
.nusa-legasi p{line-height:1.65;color:var(--legasi-muted)}
.nusa-legasi a{color:inherit;text-decoration:none}
.nusa-legasi a:hover{color:var(--legasi-wine)}
.nusa-legasi a:focus-visible,.nusa-legasi button:focus-visible,.nusa-legasi input:focus-visible,.nusa-legasi select:focus-visible,.nusa-legasi textarea:focus-visible{outline:3px solid var(--legasi-wine);outline-offset:3px}
.nusa-legasi-eyebrow{font-size:.69rem!important;letter-spacing:.19em;color:var(--legasi-wine)!important;font-weight:700;text-transform:uppercase}
.nusa-legasi-hero{display:grid;grid-template-columns:1fr .9fr;min-height:560px;border-bottom:1px solid var(--legasi-line);padding:46px 0}
.nusa-legasi-hero-copy{padding:clamp(16px,4vw,64px) clamp(16px,4vw,72px) clamp(16px,4vw,64px) 0;align-self:center}
.nusa-legasi-hero-copy>p:not(.nusa-legasi-eyebrow){max-width:590px}
.nusa-legasi-lead{font-size:clamp(1.1rem,1.7vw,1.4rem);color:var(--legasi-ink)!important}
.nusa-legasi-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:28px;font-size:.76rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.nusa-legasi-actions a:not(.nusa-legasi-button){border-bottom:1px solid var(--legasi-wine);padding:10px 0;color:var(--legasi-wine)}
.nusa-legasi-button,.nusa-legasi-filters button,.nusa-legasi-workspace .nusa-legasi-actions>button{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--legasi-wine);background:var(--legasi-wine);color:white!important;padding:15px 20px;min-height:44px;font:700 .75rem inherit;letter-spacing:.08em;text-transform:uppercase;cursor:pointer}
.nusa-legasi-button:hover,.nusa-legasi-filters button:hover,.nusa-legasi-workspace .nusa-legasi-actions>button:hover{background:#5d111b}
.nusa-legasi-feature{position:relative;display:block;min-height:460px;overflow:hidden;background:repeating-linear-gradient(29deg,transparent 0 37px,rgba(255,255,255,.46) 38px 39px),repeating-linear-gradient(118deg,#cfc6b5 0 70px,#bdb3a2 71px 72px)}
.nusa-legasi-feature img{position:absolute;width:100%;height:100%;object-fit:cover}
.nusa-legasi-feature>span{position:absolute;left:0;right:0;bottom:0;padding:26px 30px;background:linear-gradient(transparent,rgba(30,24,20,.78));color:#fff}
.nusa-legasi-feature strong{display:block;font-size:2rem;max-width:440px}
.nusa-legasi-feature small,.nusa-legasi-feature em{display:block;font:700 .66rem inherit;letter-spacing:.12em;margin-bottom:10px}
.nusa-legasi-feature em{font-style:normal;margin:16px 0 0}
.nusa-legasi-feature-empty>span{background:none;text-transform:uppercase;letter-spacing:.2em;font-size:.7rem}
.nusa-legasi-intro{display:grid;grid-template-columns:.7fr 1fr;align-items:center;gap:6vw;padding:38px 0;border-bottom:1px solid var(--legasi-line)}
.nusa-legasi-intro strong{font-size:clamp(1.6rem,2.8vw,2.7rem)}
.nusa-legasi-intro p{margin:0;max-width:720px}
.nusa-legasi-section{padding:72px 0;border-bottom:1px solid var(--legasi-line)}
.nusa-legasi-section>p:not(.nusa-legasi-eyebrow){margin-top:0}
.nusa-legasi-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px}
.nusa-legasi-section-head>a,.nusa-legasi-single header>a,.nusa-legasi-empty>a{white-space:nowrap;color:var(--legasi-wine);font-size:.72rem;letter-spacing:.11em;text-transform:uppercase;font-weight:700;border-bottom:1px solid;padding-bottom:6px}
.nusa-legasi-paths{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin-top:30px;border-top:1px solid var(--legasi-line);border-left:1px solid var(--legasi-line)}
.nusa-legasi-paths>a{display:flex;flex-direction:column;justify-content:space-between;min-height:140px;padding:18px;border-right:1px solid var(--legasi-line);border-bottom:1px solid var(--legasi-line);font:1.35rem Georgia,serif}
.nusa-legasi-paths span{font:400 .76rem inherit;color:var(--legasi-muted);line-height:1.4}
.nusa-legasi-filters{display:flex;align-items:stretch;gap:8px;flex-wrap:wrap;margin:30px 0 15px}
.nusa-legasi-filters label:first-child{flex:2 1 280px}
.nusa-legasi-filters label{flex:1 1 145px}
.nusa-legasi-filters input,.nusa-legasi-filters select{width:100%;height:48px;border:1px solid var(--legasi-line);border-radius:0;background:#fff;padding:0 12px;color:var(--legasi-ink);font:inherit}
.nusa-legasi-filters>a{align-self:center;font-size:.75rem;text-decoration:underline}
.nusa-legasi-count{font-size:.78rem;margin:12px 0 18px}
.nusa-legasi-story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}
.nusa-legasi-card{min-width:0;background:#fff;border:1px solid var(--legasi-line)}
.nusa-legasi-card-media{display:grid;place-items:center;position:relative;aspect-ratio:4/3;background:repeating-linear-gradient(135deg,#e5dfd4 0 35px,#eee9e1 36px 70px);overflow:hidden}
.nusa-legasi-card-media img{width:100%;height:100%;object-fit:cover}
.nusa-legasi-card-media span{font:3rem Georgia,serif;color:#b4a994}
.nusa-legasi-card-body{padding:22px}
.nusa-legasi-card-meta{font-size:.7rem;letter-spacing:.08em;text-transform:uppercase}
.nusa-legasi-card-body>p:not(.nusa-legasi-card-meta){font-size:.88rem}
.nusa-legasi-card-byline{padding-top:15px;border-top:1px solid var(--legasi-line)}
.nusa-legasi-empty{border:1px solid var(--legasi-line);background:#f3efe8;padding:32px;margin-top:18px}
.nusa-legasi-terms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:28px}
.nusa-legasi-terms a{display:flex;flex-direction:column;justify-content:end;min-height:260px;padding:24px;background:repeating-linear-gradient(26deg,#d4cab9 0 46px,#c7bcab 47px 48px);color:#fff!important}
.nusa-legasi-terms small{font-size:.62rem;letter-spacing:.16em}
.nusa-legasi-terms strong{font:2rem Georgia,serif;margin:8px 0}
.nusa-legasi-terms span{font-size:.75rem}
.nusa-legasi-closing{display:flex;align-items:end;justify-content:space-between;gap:24px;padding:65px 0 10px}
.nusa-legasi-closing>div:first-child{max-width:650px}
.nusa-legasi-archive{padding-top:55px}
.nusa-legasi-pages{display:flex;gap:10px;margin-top:28px}.nusa-legasi-pages a{padding:8px 12px;border:1px solid var(--legasi-line)}.nusa-legasi-pages a[aria-current]{background:var(--legasi-wine);color:white}
.nusa-legasi-single{padding-top:40px}.nusa-legasi-single>header{max-width:900px;margin:auto;padding-top:24px}.nusa-legasi-single h1{font-size:clamp(2.6rem,5vw,5rem)}.nusa-legasi-cover img{width:100%;height:auto;max-height:660px;object-fit:cover}.nusa-legasi-prose{max-width:760px;margin:50px auto;font-size:1.08rem;line-height:1.8}.nusa-legasi-prose h2{margin-top:1.6em}.nusa-legasi-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.nusa-legasi-workspace{padding-top:40px}.nusa-legasi-workspace h1{font-size:3rem}.nusa-legasi-workspace-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:32px}.nusa-legasi-workspace section,.nusa-legasi-workspace aside{background:#fff;border:1px solid var(--legasi-line);padding:26px}.nusa-legasi-workspace form label{display:block;font-weight:600;margin:17px 0}.nusa-legasi-workspace input,.nusa-legasi-workspace textarea{display:block;width:100%;border:1px solid var(--legasi-line);padding:12px;margin-top:6px;font:inherit}.nusa-legasi-workspace li{list-style:none;border-top:1px solid var(--legasi-line);padding:12px 0}.nusa-legasi-workspace ul{padding:0}.nusa-legasi-workspace li span{display:block;font-size:.72rem;text-transform:uppercase;color:var(--legasi-wine)}.nusa-legasi-notice{padding:12px 16px;background:#e8eee4;border-left:3px solid #587348}
.nusa-legasi-review{margin-top:30px}.nusa-legasi-review article{border-top:1px solid var(--legasi-line);padding-top:20px;margin-top:24px}.nusa-legasi-review-copy{max-height:330px;overflow:auto;border:1px solid var(--legasi-line);padding:16px}.nusa-legasi-products{list-style:none;padding:0;margin:0}
.nusa-legasi-workspace select{display:block;width:100%;border:1px solid var(--legasi-line);background:#fff;padding:12px;margin-top:6px;font:inherit}.nusa-legasi-workspace input[type=checkbox]{display:inline-block;width:auto;margin:0 8px 0 0}.nusa-legasi-workspace input[type=file]{font-size:.85rem}.nusa-legasi-workspace .nusa-legasi-actions button{margin:0 8px 8px 0}
@media(max-width:900px){.nusa-legasi-hero{grid-template-columns:1fr 1fr;min-height:0}.nusa-legasi-hero-copy{padding:30px 24px 30px 0}.nusa-legasi-feature{min-height:380px}.nusa-legasi-story-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.nusa-legasi-paths{grid-template-columns:repeat(2,minmax(0,1fr))}.nusa-legasi-terms{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.nusa-legasi{padding:0 18px 50px}.nusa-legasi-hero{grid-template-columns:1fr;padding:24px 0 36px}.nusa-legasi-hero-copy{padding:10px 0 28px}.nusa-legasi h1{font-size:3rem}.nusa-legasi-feature{min-height:260px}.nusa-legasi-intro{grid-template-columns:1fr;gap:8px;padding:30px 0}.nusa-legasi-section{padding:45px 0}.nusa-legasi-section-head{display:block}.nusa-legasi-section-head>a{display:inline-block;margin-top:8px}.nusa-legasi-story-grid,.nusa-legasi-terms,.nusa-legasi-workspace-grid{grid-template-columns:1fr}.nusa-legasi-paths{grid-template-columns:repeat(2,minmax(0,1fr))}.nusa-legasi-paths>a{min-height:120px;font-size:1.12rem}.nusa-legasi-filters{display:grid;grid-template-columns:1fr 1fr}.nusa-legasi-filters label:first-child,.nusa-legasi-filters button{grid-column:1/-1}.nusa-legasi-filters label{min-width:0}.nusa-legasi-closing{display:block;padding:45px 0 0}.nusa-legasi-products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.nusa-legasi-paths,.nusa-legasi-filters,.nusa-legasi-products{grid-template-columns:1fr}.nusa-legasi-actions{gap:12px}.nusa-legasi-button{width:100%}}
@media(prefers-reduced-motion:reduce){.nusa-legasi *{scroll-behavior:auto!important;transition:none!important}}
/* Keep the Reference-library feature card's label and text card in separate layers. */
.nusa-legasi-feature-empty>.nusa-legasi-art-caption{inset:24px auto auto 24px;z-index:1;display:inline-flex;width:max-content;max-width:calc(100% - 48px);padding:9px 12px;background:rgba(251,249,245,.94);color:var(--legasi-muted);font-size:.6rem;letter-spacing:.12em}
.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay{left:16%;right:0;bottom:0;z-index:2;display:block;padding:24px 28px 26px;background:var(--legasi-paper);color:var(--legasi-ink);text-transform:none;letter-spacing:normal;font-size:inherit}
.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay small{display:block;margin:0 0 10px;color:var(--legasi-muted);font-size:.6rem;letter-spacing:.12em}
.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay strong{display:block;max-width:440px;font-size:clamp(1.55rem,3vw,2.2rem);line-height:1.1}
.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay em{display:block;margin:14px 0 0;color:var(--legasi-wine);font-size:.67rem;font-weight:700;font-style:normal;letter-spacing:.1em}
@media(max-width:650px){.nusa-legasi-feature-empty{min-height:380px}.nusa-legasi-feature-empty>.nusa-legasi-art-caption{inset:16px auto auto 16px;max-width:calc(100% - 32px)}.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay{left:0;right:0;padding:18px}.nusa-legasi-feature-empty>.nusa-legasi-feature-overlay strong{font-size:1.65rem}}



/* NUSATERA_STORY_EDITOR_PASS1 */
.nusa-story-workspace{
  padding-top:32px;
}
.nusa-story-workspace-head{
  max-width:760px;
  margin:0 0 28px;
}
.nusa-story-workspace-head h1{
  margin:4px 0 8px;
  font-size:clamp(38px,4vw,52px);
  line-height:1.04;
  letter-spacing:-.035em;
}
.nusa-story-workspace-head>p:last-child{
  margin:0;
  color:#6f6861;
  font-size:15px;
  line-height:1.55;
}
.nusa-story-workspace-grid{
  align-items:start;
  grid-template-columns:minmax(0,1.7fr) minmax(280px,.82fr);
  gap:24px;
}
.nusa-legasi-workspace .nusa-story-editor-panel,
.nusa-legasi-workspace .nusa-story-list-panel{
  padding:0;
  overflow:hidden;
  border-radius:14px;
  background:#fff;
}
.nusa-story-editor-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
  padding:24px 26px 20px;
  border-bottom:1px solid var(--legasi-line);
}
.nusa-story-editor-head h2,
.nusa-story-list-head h2{
  margin:4px 0 6px;
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:400;
  line-height:1.12;
}
.nusa-story-editor-head>div>p:last-child{
  max-width:600px;
  margin:0;
  color:#6f6861;
  font-size:13px;
  line-height:1.5;
}
.nusa-story-status-pill,
.nusa-story-list-status{
  display:inline-flex!important;
  align-items:center;
  width:auto!important;
  border-radius:999px;
  background:#f1ece4;
  color:#7a1e1e!important;
  font-size:11px!important;
  font-weight:600;
  line-height:1;
  text-transform:none!important;
}
.nusa-story-status-pill{
  flex:0 0 auto;
  min-height:28px;
  padding:7px 10px;
}
.nusa-story-editor-form{
  padding:24px 26px 0;
}
.nusa-story-field{
  margin-bottom:24px;
}
.nusa-story-field>label,
.nusa-story-field-head>label,
.nusa-story-section>label,
.nusa-story-taxonomy-grid>label{
  display:block;
  margin:0;
  color:#2f2a27;
  font-size:13px;
  font-weight:600;
}
.nusa-story-field input,
.nusa-story-section input:not([type=checkbox]):not([type=file]),
.nusa-story-section textarea,
.nusa-story-taxonomy-grid select{
  width:100%;
  min-height:46px;
  margin-top:8px;
  padding:11px 13px;
  border:1px solid #d9d0c5;
  border-radius:9px;
  background:#fff;
  color:#26221f;
  font:inherit;
  box-shadow:none;
}
.nusa-story-title-field input{
  min-height:52px;
  font-size:17px;
}
.nusa-story-field input:focus,
.nusa-story-section input:focus,
.nusa-story-section textarea:focus,
.nusa-story-taxonomy-grid select:focus{
  border-color:#9e766d;
  outline:3px solid rgba(122,30,30,.09);
  outline-offset:0;
}
.nusa-story-field-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:8px;
}
.nusa-story-field-head>span{
  max-width:420px;
  color:#807970;
  font-size:11px;
  line-height:1.45;
  text-align:right;
}
.nusa-story-body-field .wp-editor-wrap{
  overflow:hidden;
  border:1px solid #d9d0c5;
  border-radius:10px;
  background:#fff;
}
.nusa-story-body-field .wp-editor-tabs{
  display:none!important;
}
.nusa-story-body-field .wp-editor-container{
  border:0!important;
}
.nusa-story-body-field .mce-tinymce,
.nusa-story-body-field .mce-panel{
  border:0!important;
  box-shadow:none!important;
}
.nusa-story-body-field .mce-toolbar-grp{
  padding:6px 7px!important;
  border-bottom:1px solid #e5ddd3!important;
  background:#faf8f4!important;
}
.nusa-story-body-field .mce-toolbar .mce-btn{
  margin:2px!important;
  border:0!important;
  border-radius:6px!important;
  background:transparent!important;
  box-shadow:none!important;
}
.nusa-story-body-field .mce-toolbar .mce-btn:hover,
.nusa-story-body-field .mce-toolbar .mce-btn.mce-active{
  background:#eee7dc!important;
}
.nusa-story-body-field .mce-toolbar .mce-btn button{
  min-height:32px!important;
  padding:4px 7px!important;
  border:0!important;
  background:transparent!important;
  color:#3e3732!important;
  box-shadow:none!important;
}
.nusa-story-body-field .mce-toolbar .mce-btn .mce-ico{
  color:#5d5049!important;
}
.nusa-story-body-field iframe{
  min-height:420px!important;
  background:#fff;
}
.nusa-story-section{
  margin:0 -26px;
  padding:24px 26px 26px;
  border:0;
  border-top:1px solid var(--legasi-line);
}
.nusa-story-section legend,
.nusa-legasi-product-picker legend{
  display:block;
  width:100%;
  margin:0 0 6px;
  padding:0;
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:400;
  line-height:1.2;
}
.nusa-story-section-copy,
.nusa-legasi-product-picker>p{
  margin:0 0 18px;
  color:#756f68;
  font-size:12px;
  line-height:1.55;
}
.nusa-story-section>label{
  margin-top:16px;
}
.nusa-story-section label small{
  display:block;
  margin-top:4px;
  color:#817970;
  font-size:11px;
  font-weight:400;
  line-height:1.4;
}
.nusa-story-optional{
  color:#8a8179;
  font-size:11px;
  font-weight:400;
}
.nusa-story-taxonomy-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.nusa-story-current-image{
  display:flex;
  align-items:center;
  gap:12px;
  margin:16px 0;
  padding:10px;
  border:1px solid #e4dcd1;
  border-radius:10px;
  background:#faf8f4;
  color:#6f6861;
  font-size:12px;
}
.nusa-story-current-image img{
  width:72px;
  height:72px;
  border-radius:8px;
  object-fit:cover;
}
.nusa-story-upload{
  display:block;
  margin:16px 0 0!important;
}
.nusa-story-upload>span{
  display:block;
  margin-bottom:8px;
}
.nusa-story-upload input[type=file]{
  display:block;
  width:100%;
  margin:0;
  padding:14px;
  border:1px dashed #cfc2b4;
  border-radius:10px;
  background:#faf8f4;
  color:#6f6861;
  font-size:12px;
}
.nusa-story-upload input[type=file]::file-selector-button{
  margin-right:12px;
  padding:9px 12px;
  border:1px solid #c8b9aa;
  border-radius:7px;
  background:#fff;
  color:#7a1e1e;
  font-weight:600;
  cursor:pointer;
}
.nusa-story-check{
  display:flex!important;
  align-items:flex-start;
  gap:9px;
  margin-top:18px!important;
  font-weight:500!important;
}
.nusa-story-check input{
  flex:0 0 auto;
  margin:2px 0 0!important;
}
.nusa-story-products-section{
  margin:0 -26px;
  border-top:1px solid var(--legasi-line);
}
.nusa-story-products-section .nusa-legasi-product-picker{
  margin:0;
  padding:24px 26px 26px;
  border:0;
}
.nusa-story-products-section .nusa-legasi-product-picker label{
  font-size:13px;
}
.nusa-story-products-section .nusa-legasi-product-search{
  min-height:44px;
  margin-top:8px;
  border-radius:9px;
}
.nusa-story-actions{
  position:sticky;
  z-index:12;
  bottom:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 -26px;
  padding:16px 26px;
  border-top:1px solid var(--legasi-line);
  background:rgba(255,255,255,.97);
  backdrop-filter:blur(10px);
}
.nusa-story-actions>p{
  max-width:390px;
  margin:0;
  color:#756f68;
  font-size:11px;
  line-height:1.45;
}
.nusa-story-actions>div{
  display:flex;
  gap:10px;
}
.nusa-legasi-workspace .nusa-story-actions>button{
  min-height:42px;
  margin:0;
  padding:10px 15px;
  border-radius:8px;
  font-size:12px;
  font-weight:700;
}
.nusa-legasi-workspace .nusa-story-actions>.nusa-story-button-secondary,
.nusa-legasi-workspace .nusa-story-actions>div>.nusa-story-button-secondary{
  border:1px solid #b88e88;
  background:#fff;
  color:#7a1e1e!important;
}
.nusa-legasi-workspace .nusa-story-actions>.nusa-story-button-primary,
.nusa-legasi-workspace .nusa-story-actions>div>.nusa-story-button-primary{
  border:1px solid var(--legasi-wine);
  background:var(--legasi-wine);
  color:#fff!important;
}
.nusa-story-list-head{
  padding:22px 22px 14px;
  border-bottom:1px solid var(--legasi-line);
}
.nusa-story-list{
  margin:0!important;
  padding:0 22px 20px!important;
}
.nusa-legasi-workspace .nusa-story-list>li{
  position:relative;
  padding:16px 0;
}
.nusa-story-list>li>a{
  display:block;
  padding-right:82px;
  color:#2e2825;
  font-size:14px;
  font-weight:600;
  line-height:1.4;
  text-decoration:none;
}
.nusa-story-list-status{
  position:absolute;
  top:15px;
  right:0;
  padding:6px 8px;
}
.nusa-story-list>li>p{
  margin:8px 0 0;
  padding:10px 11px;
  background:#f7f3ec;
  color:#6f6861;
  font-size:11px;
  line-height:1.5;
}
.nusa-story-empty,
.nusa-story-readonly{
  padding:24px 26px;
}
.nusa-story-empty h3,
.nusa-story-readonly h3{
  margin:0 0 7px;
  font-family:Georgia,serif;
  font-size:21px;
  font-weight:400;
}
.nusa-story-empty p,
.nusa-story-readonly p{
  margin:0;
  color:#756f68;
  font-size:12px;
  line-height:1.55;
}

/* Repair WordPress' front-end link dialog so it behaves like a modal rather than flowing below the footer. */
#wp-link-backdrop{
  display:none;
  position:fixed!important;
  inset:0!important;
  z-index:100100!important;
  background:rgba(31,27,24,.48)!important;
}
#wp-link-wrap{
  display:none;
  position:fixed!important;
  top:50%!important;
  left:50%!important;
  right:auto!important;
  bottom:auto!important;
  width:min(520px,calc(100vw - 32px))!important;
  max-height:calc(100vh - 48px)!important;
  margin:0!important;
  transform:translate(-50%,-50%)!important;
  overflow:auto!important;
  z-index:100105!important;
  border:1px solid #ddd3c7!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 24px 70px rgba(31,27,24,.25)!important;
}
#wp-link-wrap #link-modal-title{
  min-height:50px;
  padding:14px 52px 12px 18px;
  border-bottom:1px solid #e6ded4;
  font-family:Georgia,serif;
  font-size:21px;
  line-height:1.15;
}
#wp-link-wrap #wp-link-close{
  top:11px!important;
  right:12px!important;
}
#wp-link-wrap #link-selector{
  padding:18px!important;
}
#wp-link-wrap input[type=text],
#wp-link-wrap input[type=url]{
  min-height:42px;
  border:1px solid #d8cec2;
  border-radius:8px;
  box-shadow:none;
}
#wp-link-wrap .submitbox{
  position:sticky;
  bottom:0;
  margin:18px -18px -18px;
  padding:12px 18px;
  border-top:1px solid #e6ded4;
  background:#fff;
}
#wp-link-wrap #wp-link-submit{
  min-height:38px;
  padding:8px 14px;
  border:0;
  border-radius:7px;
  background:#7a1e1e;
  color:#fff;
  font-weight:600;
}
#wp-link-wrap .query-results{
  max-height:180px!important;
}

@media(max-width:900px){
  .nusa-story-workspace-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .nusa-story-list-panel{
    order:-1;
  }
  .nusa-story-taxonomy-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:650px){
  .nusa-story-workspace{
    padding-top:24px;
  }
  .nusa-story-editor-head{
    padding:20px;
  }
  .nusa-story-editor-form{
    padding:20px 20px 0;
  }
  .nusa-story-section{
    margin:0 -20px;
    padding:22px 20px;
  }
  .nusa-story-products-section{
    margin:0 -20px;
  }
  .nusa-story-products-section .nusa-legasi-product-picker{
    padding:22px 20px;
  }
  .nusa-story-field-head{
    display:block;
  }
  .nusa-story-field-head>span{
    display:block;
    margin-top:5px;
    text-align:left;
  }
  .nusa-story-taxonomy-grid{
    grid-template-columns:1fr;
  }
  .nusa-story-actions{
    position:static;
    align-items:stretch;
    flex-direction:column;
    margin:0 -20px;
    padding:16px 20px 20px;
  }
  .nusa-story-actions>div{
    display:grid;
    grid-template-columns:1fr;
  }
  .nusa-legasi-workspace .nusa-story-actions>div>button{
    width:100%;
  }
  .nusa-story-body-field iframe{
    min-height:340px!important;
  }
}


/* NUSATERA_STORY_EDITOR_COMPOSER_V1 */
.nusa-story-composer{overflow:hidden;border:1px solid #d9d0c5;border-radius:10px;background:#fff}
.nusa-story-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;min-height:48px;padding:6px 8px;border-bottom:1px solid #e5ddd3;background:#faf8f4}
.nusa-story-toolbar button,.nusa-story-format{min-height:34px;margin:0!important;padding:6px 9px;border:1px solid transparent!important;border-radius:6px;background:transparent!important;color:#403832!important;font:inherit;font-size:12px;line-height:1;box-shadow:none!important}
.nusa-story-toolbar button{cursor:pointer}
.nusa-story-toolbar button:hover,.nusa-story-toolbar button:focus-visible,.nusa-story-format:hover,.nusa-story-format:focus-visible{border-color:#d8cec2!important;background:#eee7dc!important;outline:none}
.nusa-story-format{min-width:112px;background:#fff!important;border-color:#ddd3c8!important}
.nusa-story-toolbar-divider{width:1px;height:22px;margin:0 3px;background:#ded5ca}
.nusa-story-toolbar-spacer{flex:1 1 auto}
.nusa-story-editor-surface{min-height:420px;padding:20px 22px;color:#26221f;font-size:16px;line-height:1.72;outline:none;overflow-wrap:anywhere}
.nusa-story-editor-surface:empty::before{content:attr(data-placeholder);color:#9a928a;pointer-events:none}
.nusa-story-editor-surface h2,.nusa-story-editor-surface h3{margin:1.35em 0 .55em;font-family:Georgia,serif;font-weight:400;line-height:1.2}
.nusa-story-editor-surface h2{font-size:1.65em}.nusa-story-editor-surface h3{font-size:1.35em}
.nusa-story-editor-surface blockquote{margin:1.5em 0;padding:.25em 0 .25em 1.2em;border-left:3px solid #8f1e28;color:#5f5953}
.nusa-story-editor-surface ul,.nusa-story-editor-surface ol{padding-left:1.4em}
.nusa-story-link-dialog{width:min(440px,calc(100vw - 32px));padding:0;border:1px solid #ddd3c7;border-radius:14px;background:#fff;color:#2c2724;box-shadow:0 24px 70px rgba(31,27,24,.25)}
.nusa-story-link-dialog::backdrop{background:rgba(31,27,24,.5)}
.nusa-story-link-form{padding:0}
.nusa-story-link-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-bottom:1px solid #e6ded4}
.nusa-story-link-head h3{margin:0;font-family:Georgia,serif;font-size:21px;font-weight:400}
.nusa-story-link-head button{width:34px;min-height:34px;padding:0;border:0;background:transparent;color:#6f6861;font-size:22px;cursor:pointer}
.nusa-story-link-form>label{display:block;margin:18px!important}
.nusa-story-link-form input{width:100%;min-height:44px;margin-top:7px;border:1px solid #d8cec2;border-radius:8px;padding:10px 12px}
.nusa-story-link-actions{display:flex;justify-content:flex-end;gap:8px;padding:12px 18px 18px}
.nusa-story-link-actions button{min-height:40px;padding:9px 14px;border-radius:7px;font-weight:600;cursor:pointer}
.nusa-story-link-actions .nusa-story-button-secondary{border:1px solid #c7b8aa;background:#fff;color:#7a1e1e}
.nusa-story-link-actions .nusa-story-button-primary{border:1px solid #7a1e1e;background:#7a1e1e;color:#fff}
@media(max-width:650px){.nusa-story-toolbar-spacer{display:none}.nusa-story-editor-surface{min-height:320px;padding:16px}}


/* NUSATERA_AUTHORING_APP_V2 */

/* Publishing is a workspace, not a personal-account page. */
body.woocommerce-publishing .woocommerce-MyAccount-navigation{
  display:none!important;
}
body.woocommerce-publishing .nusa-account-sidebar-shell{
  align-self:start;
}
body.woocommerce-publishing .woocommerce-MyAccount-content{
  min-width:0;
}

/* Library */
.nusa-publishing-library{
  max-width:1120px;
  padding-top:14px;
}
.nusa-publishing-library-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:28px;
  margin-bottom:24px;
}
.nusa-publishing-library-head h1{
  margin:4px 0 8px;
  font-size:clamp(40px,4vw,54px);
  line-height:1;
}
.nusa-publishing-library-head>div>p:last-child{
  margin:0;
  color:#716a63;
  font-size:14px;
}
.nusa-publishing-primary-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 16px;
  border-radius:8px;
  background:#7a1e1e;
  color:#fff!important;
  font-size:13px;
  font-weight:700;
  text-decoration:none!important;
}
.nusa-publishing-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-bottom:18px;
}
.nusa-publishing-stats>div{
  padding:18px 20px;
  border:1px solid #e1d8ce;
  border-radius:12px;
  background:#fff;
}
.nusa-publishing-stats span,
.nusa-publishing-stats small{
  display:block;
}
.nusa-publishing-stats span{
  font-family:Georgia,serif;
  font-size:30px;
  line-height:1;
}
.nusa-publishing-stats small{
  margin-top:7px;
  color:#7d756d;
  font-size:11px;
}
.nusa-publishing-list-panel,
.nusa-publishing-review{
  overflow:hidden;
  border:1px solid #dfd5ca;
  border-radius:14px;
  background:#fff;
}
.nusa-publishing-list-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:20px;
  padding:22px 24px 18px;
  border-bottom:1px solid #e6ded4;
}
.nusa-publishing-list-head h2{
  margin:4px 0 0;
  font-family:Georgia,serif;
  font-size:27px;
  font-weight:400;
}
.nusa-publishing-list-head>span{
  color:#8a8178;
  font-size:11px;
}
.nusa-publishing-list{
  padding:0 24px;
}
.nusa-publishing-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  align-items:center;
  gap:18px;
  min-height:82px;
  border-top:1px solid #eee7de;
}
.nusa-publishing-row:first-child{border-top:0}
.nusa-publishing-row-main>a{
  display:block;
  color:#2e2825!important;
  font-size:14px;
  font-weight:650;
  text-decoration:none!important;
}
.nusa-publishing-row-main>small{
  display:block;
  margin-top:5px;
  color:#8a8178;
  font-size:10px;
}
.nusa-publishing-row-main>p{
  margin:8px 0 0;
  padding:8px 10px;
  border-left:2px solid #c9a227;
  background:#faf7f0;
  color:#716a63;
  font-size:11px;
}
.nusa-publishing-row-action{
  color:#7a1e1e!important;
  font-size:12px;
  font-weight:650;
  text-decoration:none!important;
}
.nusa-publishing-empty{
  padding:42px 24px;
  text-align:center;
}
.nusa-publishing-empty h3{
  margin:0 0 8px;
  font-family:Georgia,serif;
  font-size:24px;
  font-weight:400;
}
.nusa-publishing-empty p{
  margin:0 0 18px;
  color:#7d756d;
}
.nusa-publishing-review{
  margin-top:18px;
  padding:0 24px 24px;
}

/* Dedicated authoring screen */
.nusa-authoring-app{
  max-width:1180px;
  padding-top:4px;
}
.nusa-authoring-topbar{
  position:sticky;
  top:0;
  z-index:30;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
  padding:12px 0;
  background:rgba(247,244,238,.96);
  backdrop-filter:blur(10px);
}
.nusa-authoring-breadcrumb{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.nusa-authoring-breadcrumb a{
  color:#7a1e1e!important;
  font-size:12px;
  font-weight:650;
  text-decoration:none!important;
}
.nusa-authoring-breadcrumb span{
  color:#7f776f;
  font-size:12px;
}
.nusa-authoring-actions{
  display:flex;
  align-items:center;
  gap:8px;
}
.nusa-authoring-actions button{
  min-height:40px;
  margin:0!important;
  padding:9px 13px!important;
  border-radius:7px!important;
  font-size:12px!important;
  font-weight:700!important;
  cursor:pointer;
}
.nusa-authoring-save{
  border:1px solid #c9b9aa!important;
  background:#fff!important;
  color:#7a1e1e!important;
}
.nusa-authoring-submit{
  border:1px solid #7a1e1e!important;
  background:#7a1e1e!important;
  color:#fff!important;
}
.nusa-authoring-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) 310px;
  gap:22px;
  align-items:start;
}
.nusa-authoring-canvas{
  overflow:hidden;
  border:1px solid #dfd5ca;
  border-radius:14px;
  background:#fff;
}
.nusa-authoring-title{
  display:block!important;
  width:100%!important;
  min-height:82px!important;
  margin:0!important;
  padding:22px 24px 16px!important;
  border:0!important;
  border-bottom:1px solid #eee7de!important;
  border-radius:0!important;
  background:#fff!important;
  color:#241f1c!important;
  font-family:Georgia,serif!important;
  font-size:clamp(30px,3vw,42px)!important;
  font-weight:400!important;
  line-height:1.15!important;
  box-shadow:none!important;
  outline:none!important;
}
.nusa-authoring-title::placeholder{color:#a49b92}
.nusa-authoring-canvas .nusa-story-composer{
  border:0;
  border-radius:0;
}
.nusa-authoring-canvas .nusa-story-toolbar{
  padding:7px 14px;
  border-bottom:1px solid #eee7de;
  background:#faf8f4;
}
.woocommerce-publishing .nusa-story-toolbar button{
  min-height:32px!important;
  margin:0!important;
  padding:5px 7px!important;
  border:1px solid transparent!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#4a423c!important;
  font-size:11px!important;
  font-weight:600!important;
  box-shadow:none!important;
}
.woocommerce-publishing .nusa-story-toolbar button:hover,
.woocommerce-publishing .nusa-story-toolbar button:focus-visible{
  border-color:#ddd2c6!important;
  background:#eee8df!important;
}
.nusa-authoring-canvas .nusa-story-format{
  min-width:106px;
  min-height:32px;
  padding:5px 8px;
  border:1px solid #ddd2c6!important;
  border-radius:5px;
  background:#fff!important;
  color:#4a423c!important;
  font-size:11px;
}
.nusa-authoring-canvas .nusa-story-editor-surface{
  min-height:520px;
  padding:24px;
  font-size:16px;
  line-height:1.75;
}
.nusa-story-composer textarea[hidden]{
  display:none!important;
}
.nusa-authoring-summary{
  padding:18px 24px 24px;
  border-top:1px solid #eee7de;
}
.nusa-authoring-summary label{
  display:block;
  margin:0!important;
  color:#3c3531;
  font-size:12px;
  font-weight:650;
}
.nusa-authoring-summary label span{
  color:#91887f;
  font-weight:400;
}
.nusa-authoring-summary textarea{
  display:block;
  width:100%;
  min-height:88px;
  margin:8px 0 0;
  padding:12px 13px;
  border:1px solid #ddd3c8;
  border-radius:8px;
  background:#fff;
  font:inherit;
  resize:vertical;
}
.nusa-authoring-settings{
  position:sticky;
  top:66px;
  display:grid;
  gap:12px;
}
.nusa-authoring-settings>section,
.nusa-authoring-settings>details{
  overflow:hidden;
  margin:0;
  border:1px solid #dfd5ca;
  border-radius:12px;
  background:#fff;
}
.nusa-authoring-settings>section{
  padding:18px;
}
.nusa-authoring-settings h2{
  margin:4px 0 14px;
  font-family:Georgia,serif;
  font-size:22px;
  font-weight:400;
}
.nusa-authoring-taxonomy{
  display:grid;
  gap:12px;
}
.nusa-authoring-taxonomy label{
  display:block;
  margin:0!important;
  color:#39322e;
  font-size:11px;
  font-weight:650;
}
.nusa-authoring-taxonomy select{
  display:block;
  width:100%;
  min-height:42px;
  margin-top:6px;
  padding:9px 10px;
  border:1px solid #ddd3c8;
  border-radius:7px;
  background:#fff;
  font:inherit;
  font-size:12px;
}
.nusa-authoring-settings details>summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  min-height:48px;
  padding:0 16px;
  color:#332d29;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  list-style:none;
}
.nusa-authoring-settings details>summary::-webkit-details-marker{display:none}
.nusa-authoring-settings details>summary::after{
  content:'+';
  color:#7a1e1e;
  font-size:17px;
  font-weight:400;
}
.nusa-authoring-settings details[open]>summary::after{content:'−'}
.nusa-authoring-settings details>summary span{
  margin-left:auto;
  margin-right:8px;
  color:#91887f;
  font-size:10px;
  font-weight:400;
}
.nusa-authoring-setting-body{
  padding:0 16px 16px;
  border-top:1px solid #eee7de;
}
.nusa-authoring-setting-body>label{
  display:block;
  margin:14px 0 0!important;
  color:#3b3430;
  font-size:11px;
  font-weight:650;
}
.nusa-authoring-setting-body input:not([type=checkbox]):not([type=file]){
  display:block;
  width:100%;
  min-height:40px;
  margin-top:6px;
  padding:9px 10px;
  border:1px solid #ddd3c8;
  border-radius:7px;
  background:#fff;
}
.nusa-authoring-setting-body .nusa-story-upload input[type=file]{
  padding:10px;
  font-size:10px;
}
.nusa-authoring-setting-body .nusa-story-current-image{
  margin:14px 0 0;
}
.nusa-authoring-setting-body .nusa-story-current-image img{
  width:100%;
  height:auto;
  max-height:150px;
  object-fit:cover;
}
.nusa-authoring-products .nusa-legasi-product-picker{
  margin:0;
  padding:0;
  border:0;
}
.nusa-authoring-products .nusa-legasi-product-picker>legend{
  display:none;
}
.nusa-authoring-products .nusa-legasi-product-picker>p{
  margin:14px 0 0;
  font-size:11px;
}
.nusa-authoring-readonly{
  padding:28px;
  border:1px solid #dfd5ca;
  border-radius:14px;
  background:#fff;
}
.nusa-authoring-readonly h1{
  margin:0 0 12px;
  font-size:36px;
}
.nusa-story-link-dialog .nusa-story-link-form{
  padding:0;
}

@media(max-width:980px){
  .nusa-authoring-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .nusa-authoring-settings{
    position:static;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .nusa-authoring-settings>section{
    grid-column:1/-1;
  }
}
@media(max-width:700px){
  .nusa-publishing-library-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .nusa-publishing-stats{
    grid-template-columns:1fr;
  }
  .nusa-publishing-row{
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px;
    padding:14px 0;
  }
  .nusa-publishing-row-action{
    grid-column:1/-1;
  }
  .nusa-authoring-topbar{
    align-items:flex-start;
    flex-direction:column;
  }
  .nusa-authoring-actions{
    width:100%;
  }
  .nusa-authoring-actions .nusa-authoring-submit{
    flex:1;
  }
  .nusa-authoring-settings{
    grid-template-columns:1fr;
  }
  .nusa-authoring-settings>section{
    grid-column:auto;
  }
  .nusa-authoring-canvas .nusa-story-editor-surface{
    min-height:400px;
    padding:18px;
  }
}


/* NUSATERA_AUTHORING_APP_V3_FOCUS */

/* Native personal-account pages are irrelevant inside the Publishing workspace. */
body.woocommerce-publishing .woocommerce-MyAccount-navigation,
body.woocommerce-publishing .nusa-account-mobile-nav{
  display:none!important;
}

/* During actual writing, remove the account rail entirely and give the document the screen. */
body.nusa-authoring-mode .nusa-account-sidebar-shell{
  display:none!important;
}
body.nusa-authoring-mode .woocommerce{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:1240px!important;
  width:min(1240px,calc(100% - 48px))!important;
  margin-inline:auto!important;
}
body.nusa-authoring-mode .woocommerce-MyAccount-content{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}

/* Library status badges belong to their rows, not the viewport. */
.nusa-publishing-row{
  position:relative;
}
.nusa-publishing-row .nusa-story-list-status{
  position:static!important;
  top:auto!important;
  right:auto!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:24px!important;
  width:auto!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:#f1ece4!important;
  color:#7a1e1e!important;
  font-size:10px!important;
  font-weight:650!important;
  line-height:1!important;
}

/* Let the story canvas dominate. */
.nusa-authoring-grid{
  grid-template-columns:minmax(0,1fr) 278px!important;
  gap:20px!important;
}
.nusa-authoring-title{
  min-height:70px!important;
  padding:18px 22px 14px!important;
  font-size:clamp(28px,2.5vw,36px)!important;
}
.nusa-authoring-canvas .nusa-story-editor-surface{
  min-height:clamp(380px,52vh,500px)!important;
  padding:22px!important;
}

/* Toolbar is utility chrome, not a primary action area. */
body.woocommerce-account.woocommerce-publishing .nusa-authoring-canvas .nusa-story-toolbar{
  gap:2px!important;
  min-height:44px!important;
  padding:5px 10px!important;
  background:#faf8f4!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-canvas .nusa-story-toolbar button{
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  padding:4px 7px!important;
  border:1px solid transparent!important;
  border-radius:5px!important;
  background:transparent!important;
  color:#4c443e!important;
  font-size:11px!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
  box-shadow:none!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-canvas .nusa-story-toolbar button:hover,
body.woocommerce-account.woocommerce-publishing .nusa-authoring-canvas .nusa-story-toolbar button:focus-visible{
  border-color:#d9cec2!important;
  background:#eee8df!important;
  color:#7a1e1e!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-canvas .nusa-story-format{
  min-width:104px!important;
  min-height:30px!important;
  margin:0!important;
  padding:4px 8px!important;
  border:1px solid #d9cec2!important;
  border-radius:5px!important;
  background:#fff!important;
  color:#4c443e!important;
  font-size:11px!important;
}

/* Save is secondary; Submit is the only dominant action. */
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-save{
  border:1px solid #cbbcaf!important;
  background:#fff!important;
  color:#7a1e1e!important;
  box-shadow:none!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-submit{
  border:1px solid #7a1e1e!important;
  background:#7a1e1e!important;
  color:#fff!important;
  box-shadow:none!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions .nusa-story-status-pill{
  margin-right:4px;
}

/* Keep metadata compact and secondary. */
.nusa-authoring-settings{
  top:62px!important;
}
.nusa-authoring-settings>section{
  padding:16px!important;
}
.nusa-authoring-settings h2{
  margin-bottom:12px!important;
  font-size:20px!important;
}
.nusa-authoring-taxonomy{
  gap:10px!important;
}
.nusa-authoring-settings details>summary{
  min-height:44px!important;
  padding-inline:14px!important;
}
.nusa-authoring-setting-body{
  padding:0 14px 14px!important;
}

/* Publishing library spacing and hierarchy. */
.nusa-publishing-library{
  max-width:1060px!important;
}
.nusa-publishing-library-head{
  align-items:center!important;
  margin-bottom:20px!important;
}
.nusa-publishing-stats{
  margin-bottom:16px!important;
}
.nusa-publishing-stats>div{
  padding:16px 18px!important;
}
.nusa-publishing-list-head{
  padding:20px 22px 16px!important;
}
.nusa-publishing-list{
  padding-inline:22px!important;
}

@media(max-width:1020px){
  body.nusa-authoring-mode .woocommerce{
    width:min(100% - 32px,980px)!important;
  }
  .nusa-authoring-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  .nusa-authoring-settings{
    position:static!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .nusa-authoring-settings>section{
    grid-column:1/-1!important;
  }
}
@media(max-width:700px){
  body.nusa-authoring-mode .woocommerce{
    width:min(100% - 20px,680px)!important;
  }
  .nusa-authoring-settings{
    grid-template-columns:1fr!important;
  }
  .nusa-authoring-settings>section{
    grid-column:auto!important;
  }
  .nusa-authoring-title{
    font-size:30px!important;
  }
  .nusa-authoring-canvas .nusa-story-editor-surface{
    min-height:360px!important;
  }
}


/* NUSATERA_AUTHORING_APP_V4_LOGIN_RESET */
/* The authenticated account route still carries nusa-account-login.
   Neutralize that split login grid only while composing a story. */
body.nusa-authoring-mode.nusa-account-login .wp-block-post-content,
body.nusa-authoring-mode.nusa-account-login .wp-block-post-content.is-layout-constrained,
body.nusa-authoring-mode.nusa-account-login .wp-block-post-content > .woocommerce{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
}
body.nusa-authoring-mode.nusa-account-login .woocommerce{
  display:block!important;
  grid-template-columns:none!important;
  min-height:0!important;
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
  margin:34px auto 72px!important;
  padding:0!important;
  background:transparent!important;
}
body.nusa-authoring-mode.nusa-account-login .woocommerce::before,
body.nusa-authoring-mode.nusa-account-login .woocommerce::after{
  content:none!important;
  display:none!important;
}
body.nusa-authoring-mode.nusa-account-login .woocommerce-MyAccount-content{
  display:block!important;
  float:none!important;
  grid-column:1 / -1!important;
  grid-row:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.nusa-authoring-mode .nusa-authoring-app{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.nusa-authoring-mode .nusa-authoring-topbar{
  width:100%!important;
}
body.nusa-authoring-mode .nusa-authoring-form,
body.nusa-authoring-mode .nusa-authoring-grid{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.nusa-authoring-mode .nusa-authoring-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 278px!important;
  gap:20px!important;
}
body.nusa-authoring-mode .nusa-authoring-canvas{
  display:block!important;
  min-width:0!important;
  width:auto!important;
}
body.nusa-authoring-mode .nusa-authoring-settings{
  min-width:0!important;
  width:278px!important;
}

/* Defensive reset for login-only children that should never influence authoring. */
body.nusa-authoring-mode.nusa-account-login #customer_login,
body.nusa-authoring-mode.nusa-account-login .nusa-account-hero,
body.nusa-authoring-mode.nusa-account-login .nusa-account-brand,
body.nusa-authoring-mode.nusa-account-login .nusa-account-tabs{
  display:none!important;
}

@media(max-width:1020px){
  body.nusa-authoring-mode.nusa-account-login .woocommerce{
    width:min(980px,calc(100% - 32px))!important;
    margin-top:24px!important;
  }
  body.nusa-authoring-mode .nusa-authoring-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.nusa-authoring-mode .nusa-authoring-settings{
    width:100%!important;
  }
}
@media(max-width:700px){
  body.nusa-authoring-mode.nusa-account-login .woocommerce{
    width:calc(100% - 20px)!important;
    margin-top:16px!important;
  }
}


/* NUSATERA_AUTHORING_APP_V5_AUTH_GRID_RESET */
body.woocommerce-account.nusa-authoring-mode.nusa-account-dashboard .woocommerce,
body.woocommerce-account.nusa-authoring-mode.nusa-account-login .woocommerce{
  display:block!important;
  grid-template-columns:none!important;
  width:min(1240px,calc(100% - 48px))!important;
  max-width:1240px!important;
  margin:34px auto 72px!important;
  padding:0!important;
}
body.woocommerce-account.nusa-authoring-mode.nusa-account-dashboard .woocommerce-MyAccount-content,
body.woocommerce-account.nusa-authoring-mode.nusa-account-login .woocommerce-MyAccount-content{
  display:block!important;
  float:none!important;
  grid-column:auto!important;
  grid-row:auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-account-sidebar-shell,
body.woocommerce-account.nusa-authoring-mode .woocommerce-MyAccount-navigation{
  display:none!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-app,
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-form{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 278px!important;
  gap:20px!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-canvas{
  display:block!important;
  width:auto!important;
  min-width:0!important;
  max-width:none!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-settings{
  width:278px!important;
  min-width:278px!important;
  max-width:278px!important;
}
@media(max-width:1020px){
  body.woocommerce-account.nusa-authoring-mode.nusa-account-dashboard .woocommerce,
  body.woocommerce-account.nusa-authoring-mode.nusa-account-login .woocommerce{
    width:min(980px,calc(100% - 32px))!important;
  }
  body.woocommerce-account.nusa-authoring-mode .nusa-authoring-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.woocommerce-account.nusa-authoring-mode .nusa-authoring-settings{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}
@media(max-width:700px){
  body.woocommerce-account.nusa-authoring-mode.nusa-account-dashboard .woocommerce,
  body.woocommerce-account.nusa-authoring-mode.nusa-account-login .woocommerce{
    width:calc(100% - 20px)!important;
  }
}


/* NUSATERA_STORY_COMPLETE_AUTHORING_PASS_A */
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview{
  border:1px solid transparent!important;
  background:transparent!important;
  color:#6f6861!important;
  box-shadow:none!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview:hover,
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview:focus-visible{
  background:#eee8df!important;
  color:#7a1e1e!important;
}

.nusa-story-image-dialog{
  width:min(520px,calc(100vw - 32px));
  max-height:calc(100vh - 48px);
  padding:0;
  border:1px solid #ddd3c7;
  border-radius:14px;
  background:#fff;
  color:#2c2724;
  box-shadow:0 24px 70px rgba(31,27,24,.25);
  overflow:auto;
}
.nusa-story-image-dialog::backdrop{
  background:rgba(31,27,24,.5);
}
.nusa-story-image-form{
  padding:0;
}
.nusa-story-image-fields{
  display:grid;
  gap:14px;
  padding:18px;
}
.nusa-story-image-fields>label{
  display:block;
  margin:0!important;
  color:#3b3430;
  font-size:12px;
  font-weight:650;
}
.nusa-story-image-fields input[type="text"],
.nusa-story-image-fields input[type="file"]{
  display:block;
  width:100%;
  min-height:42px;
  margin-top:7px;
  padding:9px 10px;
  border:1px solid #d8cec2;
  border-radius:8px;
  background:#fff;
  color:#2f2a27;
  font:inherit;
  box-sizing:border-box;
}
.nusa-story-image-fields input[type="file"]{
  padding:10px;
  font-size:11px;
}
.nusa-story-image-fields small{
  display:block;
  margin-top:5px;
  color:#847b73;
  font-size:10px;
  font-weight:400;
}
.nusa-story-image-fields .nusa-story-check{
  display:flex!important;
  align-items:flex-start;
  gap:8px;
}
.nusa-story-image-fields .nusa-story-check input{
  flex:0 0 auto;
  width:auto!important;
  min-height:0!important;
  margin:2px 0 0!important;
}
.nusa-story-image-error{
  margin:0;
  padding:9px 10px;
  border-radius:7px;
  background:#fff0f0;
  color:#8a1f1f;
  font-size:11px;
  line-height:1.4;
}
.nusa-story-image-dialog .nusa-story-link-actions{
  border-top:1px solid #e6ded4;
  background:#faf8f4;
}

/* Inline images as they appear while writing. */
.nusa-story-editor-surface figure.nusa-story-inline-image{
  margin:28px 0;
}
.nusa-story-editor-surface figure.nusa-story-inline-image img{
  display:block;
  width:100%;
  max-height:520px;
  border-radius:8px;
  object-fit:cover;
}
.nusa-story-editor-surface figure.nusa-story-inline-image figcaption{
  margin-top:8px;
  color:#756d66;
  font-size:12px;
  line-height:1.45;
}

/* Same semantic markup rendered in the existing customer-facing Story. */
.nusa-legasi-reading-copy figure.nusa-story-inline-image{
  margin:clamp(28px,5vw,48px) 0;
}
.nusa-legasi-reading-copy figure.nusa-story-inline-image img{
  display:block;
  width:100%;
  height:auto;
  max-height:720px;
  border-radius:2px;
  object-fit:cover;
}
.nusa-legasi-reading-copy figure.nusa-story-inline-image figcaption{
  margin-top:10px;
  color:#756d66;
  font-size:12px;
  line-height:1.5;
}

/* Cover configuration has one more field but should remain compact. */
.nusa-authoring-setting-body input[name="story_image_caption"]{
  width:100%;
}

@media(max-width:700px){
  .nusa-story-image-dialog{
    width:calc(100vw - 20px);
  }
}


/* NUSATERA_STORY_COMPLETE_AUTHORING_PASS_B */
.nusa-authoring-readiness{padding:16px!important}
.nusa-authoring-readiness-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.nusa-authoring-readiness-head h2{margin:4px 0 0!important}
.nusa-authoring-readiness-head>span{flex:0 0 auto;min-width:40px;padding:5px 7px;border-radius:999px;background:#f1ece4;color:#6f6861;font-size:10px;font-weight:700;text-align:center}
.nusa-authoring-readiness.is-ready .nusa-authoring-readiness-head>span{background:#edf5eb;color:#41673c}
.nusa-authoring-readiness-bar{height:4px;margin:12px 0 14px;overflow:hidden;border-radius:999px;background:#eee7de}
.nusa-authoring-readiness-bar>span{display:block;width:0;height:100%;border-radius:inherit;background:#7a1e1e;transition:width .2s ease}
.nusa-authoring-readiness.is-ready .nusa-authoring-readiness-bar>span{background:#547a4e}
.nusa-authoring-readiness ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px;margin:0;padding:0;list-style:none}
.nusa-authoring-readiness li{position:relative;margin:0;padding-left:16px;color:#847b73;font-size:10px;line-height:1.35}
.nusa-authoring-readiness li::before{content:'○';position:absolute;left:0;top:0;color:#aaa198}
.nusa-authoring-readiness li.is-complete{color:#4f624c}
.nusa-authoring-readiness li.is-complete::before{content:'✓';color:#547a4e;font-weight:700}
.nusa-authoring-readiness>p:last-child{margin:12px 0 0;color:#7a726a;font-size:10px;line-height:1.45}
.nusa-authoring-readiness.is-ready>p:last-child{color:#4f624c}

body.woocommerce-account.woocommerce-publishing .nusa-authoring-submit:disabled{cursor:not-allowed!important;border-color:#d4c8bc!important;background:#d4c8bc!important;color:#fff!important;opacity:.72!important}

.nusa-authoring-people>p{margin:14px 0 0;color:#756d66;font-size:11px;line-height:1.45}
.nusa-authoring-people>label{display:block;margin:14px 0 0!important;color:#3b3430;font-size:11px;font-weight:650}
.nusa-authoring-people input[type="search"]{display:block;width:100%;min-height:40px;margin-top:6px;padding:9px 10px;border:1px solid #ddd3c8;border-radius:7px;background:#fff;font:inherit}
.nusa-authoring-maker-list{display:grid;gap:5px;max-height:210px;margin-top:10px;overflow:auto}
.nusa-authoring-maker-list>label{display:flex;align-items:center;gap:8px;min-height:34px;margin:0!important;padding:6px 8px;border-radius:7px;color:#3d3632;font-size:11px;font-weight:500;cursor:pointer}
.nusa-authoring-maker-list>label:hover{background:#f6f1ea}
.nusa-authoring-maker-list input{flex:0 0 auto;margin:0!important}
.nusa-authoring-maker-auto{display:grid;gap:3px;margin-top:14px;padding:11px 12px;border:1px solid #e3d9ce;border-radius:8px;background:#faf8f4}
.nusa-authoring-maker-auto strong{color:#3b3430;font-size:11px}
.nusa-authoring-maker-auto span{color:#7c746d;font-size:10px;line-height:1.4}

@media(max-width:700px){.nusa-authoring-readiness ul{grid-template-columns:1fr}}


/* NUSATERA_STORY_AUTHORING_FINAL_POLISH */

/* Preview is clearly actionable but remains quieter than Save/Submit. */
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview{
  min-height:40px!important;
  padding:8px 14px!important;
  border:1px solid #d8cec2!important;
  border-radius:6px!important;
  background:#faf8f4!important;
  color:#655e58!important;
  font-weight:650!important;
}
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview:hover,
body.woocommerce-account.woocommerce-publishing .nusa-authoring-actions button.nusa-authoring-preview:focus-visible{
  border-color:#bdaea1!important;
  background:#fff!important;
  color:#7a1e1e!important;
}

/* Start with a focused but not oversized writing surface; it grows naturally with content. */
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-canvas .nusa-story-editor-surface{
  min-height:clamp(300px,34vh,360px)!important;
}

/* Summary is required for submission, so explain its role rather than calling it optional. */
.nusa-authoring-summary .nusa-story-field-hint{
  margin-left:6px;
  color:#8b837b;
  font-size:10px;
  font-weight:400;
}

/* Readiness is a utility, not the visual centre of the settings rail. */
.nusa-authoring-readiness{
  padding:14px!important;
}
.nusa-authoring-readiness-head{
  align-items:center!important;
}
.nusa-authoring-readiness-head>div{
  min-width:0;
}
.nusa-authoring-readiness-head .nusa-legasi-eyebrow{
  margin:0 0 4px!important;
}
.nusa-authoring-readiness-head strong{
  display:block;
  color:#312b27;
  font-family:inherit;
  font-size:13px;
  font-weight:650;
  line-height:1.25;
}
.nusa-authoring-readiness-head>span{
  min-width:38px!important;
  padding:5px 7px!important;
}
.nusa-authoring-readiness-bar{
  margin:10px 0 0!important;
}

.nusa-authoring-readiness-details{
  margin-top:10px;
  border-top:1px solid #e5ddd3;
}
.nusa-authoring-readiness-details>summary{
  display:flex!important;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-height:38px!important;
  padding:8px 0 0!important;
  border:0!important;
  background:transparent!important;
  color:#6f6861;
  cursor:pointer;
  list-style:none;
}
.nusa-authoring-readiness-details>summary::-webkit-details-marker{
  display:none;
}
.nusa-authoring-readiness-details>summary::after{
  content:'＋';
  flex:0 0 auto;
  margin-left:2px;
  color:#7a1e1e;
  font-size:12px;
}
.nusa-authoring-readiness-details[open]>summary::after{
  content:'−';
}
.nusa-authoring-readiness-details>summary span:first-child{
  font-size:10px;
  font-weight:600;
}
.nusa-authoring-readiness-link{
  margin-left:auto;
  color:#7a1e1e;
  font-size:10px;
  font-weight:650;
}
.nusa-authoring-readiness-body{
  padding:10px 0 2px;
}
.nusa-authoring-readiness-body ul{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px 10px;
  margin:0;
  padding:0;
  list-style:none;
}
.nusa-authoring-readiness-body>p:last-child{
  margin:12px 0 0;
  color:#7a726a;
  font-size:10px;
  line-height:1.45;
}
.nusa-authoring-readiness.is-ready .nusa-authoring-readiness-body>p:last-child{
  color:#4f624c;
}

/* Override the earlier always-expanded readiness list styles. */
.nusa-authoring-readiness>ul,
.nusa-authoring-readiness>p:last-child{
  display:none!important;
}

@media(max-width:700px){
  body.woocommerce-account.nusa-authoring-mode .nusa-authoring-canvas .nusa-story-editor-surface{
    min-height:300px!important;
  }
  .nusa-authoring-readiness-body ul{
    grid-template-columns:1fr;
  }
}


/* NUSATERA_STORY_AUTHORING_FOCUS_FINAL */

/* Give Story configuration enough room for media metadata without crowding the writing canvas. */
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-grid{
  grid-template-columns:minmax(0,1fr) 305px!important;
}
body.woocommerce-account.nusa-authoring-mode .nusa-authoring-settings{
  width:305px!important;
  min-width:305px!important;
  max-width:305px!important;
}

/* Composing is a focused workspace, not a public marketing page. */
body.nusa-authoring-mode footer.wp-block-template-part,
body.nusa-authoring-mode .nusa-footer-v6{
  display:none!important;
}

@media(max-width:1020px){
  body.woocommerce-account.nusa-authoring-mode .nusa-authoring-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.woocommerce-account.nusa-authoring-mode .nusa-authoring-settings{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
}
