/* Page components share theme.css tokens and the same base controls. */
.assist-panel{margin:24px 0;padding:20px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--soft);overflow-wrap:anywhere}.assist-panel h2{font-size:1.35rem;margin:0 0 12px}.assist-panel ul{padding-left:22px}.assist-panel li{margin:6px 0}.assist-panel details{margin-top:16px}.policy-change{padding:12px 14px;background:var(--white);border-left:3px solid var(--line)}.policy-change-added{border-left-color:var(--green)}.policy-change-removed{border-left-color:var(--danger)}.character-count{margin-top:5px;font-size:.72rem;text-align:right}.recovery-panel .button{margin-top:8px}
/* Structural classes used by retained pages; no Bootstrap theme is loaded. */
.container-section{padding:48px 0 64px}.container{width:100%;margin:0 auto;padding:0}.card-soft{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:26px}.kicker{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted);margin-bottom:12px}.text-muted,.muted-small,.form-text,.field-help{color:var(--muted)}.muted-small,.form-text,.field-help{font-size:.8rem;line-height:1.7}.lead{font-size:1.1rem;line-height:1.8}.text-center{text-align:center}.text-right{text-align:right}.text-uppercase{text-transform:uppercase}.d-flex{display:flex}.flex-wrap{flex-wrap:wrap}.flex-column{flex-direction:column}.flex-grow-1{flex-grow:1}.align-items-center{align-items:center}.align-items-start{align-items:flex-start}.align-self-start{align-self:flex-start}.justify-content-between{justify-content:space-between}.justify-content-end{justify-content:flex-end}.gap-2{gap:12px}.h-100{height:100%}.mx-auto{margin-left:auto;margin-right:auto}.mb-0{margin-bottom:0}.mb-1{margin-bottom:4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:24px}.mb-4{margin-bottom:32px}.mb-5{margin-bottom:48px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}.mt-5{margin-top:48px}.mr-2{margin-right:8px}.pr-3{padding-right:24px}.pt-3{padding-top:24px}.py-5{padding-top:48px;padding-bottom:48px}.border-top,hr{border:0;border-top:1px solid var(--line)}.row{display:flex;flex-wrap:wrap;gap:24px;margin-bottom:24px}.row>*{min-width:0;flex:1 1 0}.row>.col-lg-8{flex:2 1 0}.row>.col-lg-4{flex:1 1 0}.row>dt{flex:0 0 22%}.row>dd{flex:0 0 calc(78% - 24px);margin:0;overflow-wrap:anywhere}.form-group{margin-bottom:23px;min-width:0}.form-group>label{display:block;font-size:.84rem;font-weight:600;margin-bottom:7px}.form-control{max-width:100%}.form-text{display:block;margin-top:7px}.custom-control{display:flex;align-items:flex-start;gap:10px;margin:12px 0}.custom-control-input{flex:none;width:16px;height:16px;accent-color:var(--green);margin:5px 0 0}.custom-control-label{font-size:.85rem;line-height:1.7}.table{width:100%;border-collapse:collapse;font-size:.85rem}.table th,.table td{text-align:left;vertical-align:top;border-bottom:1px solid var(--line);padding:12px;overflow-wrap:anywhere}.table-responsive{max-width:100%;overflow-x:auto}.list-group{display:flex;flex-direction:column;gap:16px}.list-group-item{background:var(--white);border:1px solid var(--line);border-radius:var(--radius-card);padding:24px;min-width:0}.list-group-item-light{background:var(--soft)}.badge{display:inline-block;padding:4px 8px;border-radius:4px;font-size:.68rem;line-height:1.5;background:var(--soft);color:var(--ink);font-weight:600}.badge-info{color:var(--info);background:var(--info-soft)}.badge-warning{color:var(--warning);background:var(--warning-soft)}.badge-danger{color:var(--danger);background:var(--danger-soft)}.badge-primary,.badge-success,.badge-bug-fix{color:var(--green-dark);background:var(--soft)}.alert{padding:16px 20px;background:var(--soft);border:1px solid var(--line);border-left:3px solid var(--green);border-radius:4px;margin:20px 0}.alert-danger{background:var(--danger-soft);border-left-color:var(--danger)}.alert-warning{background:var(--warning-soft);border-left-color:var(--warning)}.btn-group{display:flex;flex-wrap:wrap;gap:10px}.btn.active{background:var(--green);border-color:var(--green);color:var(--white)}.button-danger,.btn-danger{background:var(--danger);border-color:var(--danger);color:var(--white)}button:disabled{opacity:.55;cursor:not-allowed}.legal-content,.policy-content{overflow-wrap:anywhere}.legal-content h2,.legal-content h3,.policy-content h2,.policy-content h3{margin-top:30px}.legal-content p,.policy-content p{line-height:1.85}.legal-gate{padding:48px 0 64px;max-width:820px;margin:0 auto}.legal-gate-card{border:1px solid var(--line);border-radius:var(--radius-card);background:var(--white);overflow:hidden}.legal-gate-head{padding:26px;background:var(--soft);border-bottom:1px solid var(--line)}.legal-gate-kicker{font-size:.7rem;text-transform:uppercase;letter-spacing:.09em;color:var(--muted)}.legal-gate-head h1{font-size:2.5rem;margin:16px 0}.legal-gate-head p{color:var(--muted);margin-bottom:0}.legal-gate-body{padding:26px}.legal-gate-policy{max-height:min(52vh,440px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--paper);font-size:.88rem;line-height:1.8}.legal-policy-content{margin-top:14px}.legal-gate-actions{margin-top:24px;border-top:1px solid var(--line);padding-top:24px}.legal-gate-check{display:flex;align-items:flex-start;gap:10px;font-size:.85rem;line-height:1.7}.legal-gate-check input{flex:none;width:16px;height:16px;accent-color:var(--green);margin:5px 0 0}.legal-gate-submit{margin-top:20px;width:100%}.legal-gate-note,.legal-full-link{font-size:.78rem;color:var(--muted);margin:14px 0 0}.legal-gate-note{text-align:center}.resource-editor:focus-visible{outline:3px solid var(--focus);outline-offset:4px}.resource-article{padding-top:48px;padding-bottom:64px}.resource-article-content table{display:block;max-width:100%;overflow:auto}.notification-message-preview{white-space:pre-wrap}.notification-detail-body{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){.row{display:block}.row>*{margin-bottom:24px}.row>dd{margin:0 0 18px}.row>dt{margin-bottom:5px}.container-section,.resource-article{padding-top:36px;padding-bottom:48px}.card-soft,.list-group-item{padding:20px}.list-group-item>.d-flex{flex-wrap:wrap;gap:16px}.legal-gate{padding:32px 0 48px}.legal-gate-head,.legal-gate-body{padding:20px}.legal-gate-head h1{font-size:2rem}.legal-gate-policy{padding:16px}.btn-group .btn{flex:1}.notification-detail-body{font-size:1rem}}@media(max-width:430px){.card-soft,.list-group-item{padding:16px}.pr-3{padding-right:0}}
/* resources.html */
.resources-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  width:100%;
}
.resources-grid-item{
  min-width:0;
  display:flex;
}
.resources-grid-item > .card-soft{
  width:100%;
}
.resource-featured-carousel{
  position:relative;
  margin-bottom:3rem;
}
.resource-featured-slide{
  display:none;
}
.resource-featured-slide.is-active{
  display:block;
}
.resource-featured-card{
  padding:32px;
  margin:0;
}
.resource-featured-image{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:20px;
}
.resource-featured-controls{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:14px;
  min-height:36px;
}
.resource-featured-arrow{
  width:34px;
  height:34px;
  border:1px solid var(--line);
  border-radius:999px;
  background:var(--white);
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:21px;
  line-height:1;
  cursor:pointer;
}
.resource-featured-arrow:hover,
.resource-featured-arrow:focus{
  background:var(--soft);
  border-color:var(--line);
  outline:none;
}
.resource-featured-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  flex-wrap:wrap;
}
.resource-featured-dot{
  width:9px;
  height:9px;
  padding:0;
  border:0;
  border-radius:999px;
  background:var(--line);
  cursor:pointer;
}
.resource-featured-dot.is-active{
  width:24px;
  background:var(--green);
}
.resource-featured-counter{
  min-width:42px;
  text-align:center;
  font-size:.78rem;
  color:var(--muted);
}
@media (max-width:991px){
  .resources-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:575px){
  .resources-grid{grid-template-columns:1fr;gap:18px;}
  .resource-featured-card{padding:22px;}
  .resource-featured-image{height:190px;}
}

/* Guide listing titles: clean links without underlines (including hover). */
.resource-featured-card h2 a,
.resources-grid-item h4 a {
  color: inherit;
  text-decoration: none;
}
.resource-featured-card h2 a:hover,
.resources-grid-item h4 a:hover {
  color: var(--green-dark, #3d6448);
  text-decoration: none;
}
.resource-featured-card h2 a:focus-visible,
.resources-grid-item h4 a:focus-visible {
  text-decoration: none;
  outline: 2px solid var(--green, #5e8458);
  outline-offset: 4px;
}

/* resource_article.html */
.resource-article-content{font-size:1.06rem;line-height:1.8;color:var(--ink)}
.resource-article-content h2{margin-top:2.2rem;margin-bottom:1rem}
.resource-article-content h3{margin-top:1.7rem;margin-bottom:.75rem}
.resource-article-content p{margin-bottom:1.15rem}
.resource-article-content li{margin-bottom:.45rem}
.resource-article-content a{color:var(--green);text-decoration:underline}
.resource-hero-image img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:var(--radius-card);border:1px solid var(--line);box-shadow:0 10px 30px var(--shadow-color)}
.resource-article-content img{max-width:100%;height:auto;border-radius:var(--radius-card)}

/* admin_article_form.html */
.resource-image-upload{border:2px dashed var(--line);border-radius:var(--radius-card);background:var(--paper);min-height:220px;padding:24px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer}
.resource-image-upload:hover,.resource-image-upload.is-dragover{border-color:var(--green);background:var(--soft)}
.resource-image-upload-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--soft);color:var(--green);font-size:25px;font-weight:700;margin-bottom:12px}
.resource-image-upload-title{font-weight:700;font-size:1.05rem;color:var(--ink)}
.resource-image-upload-text{color:var(--muted);margin-top:5px}
.resource-image-upload-link{border:0;background:none;padding:0;color:var(--green);font-weight:700;text-decoration:underline;cursor:pointer}
.resource-image-upload-hint{font-size:.78rem;color:var(--muted);margin-top:8px}
.resource-image-preview-wrap{width:100%;margin-top:18px}
.resource-image-preview{display:block;width:100%;max-height:330px;object-fit:cover;border-radius:var(--radius-card);border:1px solid var(--line)}
.resource-image-remove{margin-top:9px;border:0;background:transparent;color:var(--danger);font-weight:600;cursor:pointer}
.resource-editor{min-height:520px;border:1px solid var(--line);border-radius:var(--radius-card) 12px 0 0;background:var(--white);padding:24px;font-size:1.05rem;line-height:1.75;outline:none;overflow:auto;word-break:break-word;overflow-wrap:anywhere;white-space:normal}
.resource-editor:empty:before{content:attr(data-placeholder);color:var(--muted)}
.resource-editor:focus{border-color:var(--green);box-shadow:0 0 0 3px rgba(94,132,88,.10)}
.resource-editor h2{font-size:1.65rem;margin:1.5em 0 .55em}
.resource-editor h3{font-size:1.3rem;margin:1.3em 0 .5em}
.resource-editor p{margin:0 0 1em}
.resource-editor img{display:block;max-width:100%;width:auto;height:auto;border-radius:var(--radius-card);margin:18px auto}
.resource-editor-toolbar{display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid var(--line);border-top:0;border-radius:0 0 12px 12px;background:var(--soft)}
.resource-editor-toolbar button{border:1px solid var(--line);background:var(--white);border-radius:8px;padding:7px 10px;cursor:pointer;color:var(--ink)}
.resource-editor-toolbar button:hover{background:var(--soft)}
.resource-editor-drag{outline:3px dashed var(--green);outline-offset:-7px}

/* notifications.html */
.badge-bug-fix {
    background-color: var(--green);
    color: var(--white);
  }

  .notification-message-preview {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    overflow-wrap: anywhere;
  }

/* _share_button.html */
.share-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;min-width:96px}
.share-button-icon{font-size:1.05rem;line-height:1}
.share-button.is-copied{color:var(--green-dark)!important;border-color:var(--green)!important;background:var(--soft)!important}
.share-toast{position:fixed;left:50%;bottom:28px;transform:translateX(-50%) translateY(12px);z-index:2000;background:var(--ink);color:var(--white);padding:10px 15px;border-radius:10px;box-shadow:0 8px 28px var(--shadow-color);font-size:.9rem;opacity:0;pointer-events:none;transition:opacity .18s ease,transform .18s ease}.share-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

.contact-panel{margin-left:0;margin-bottom:64px}.legal-page{max-width:980px;margin-bottom:64px}.guide-editor-heading{padding-top:24px}.resource-article h1{font-size:clamp(2.4rem,4.2vw,3.8rem)}

.guide-editor-page{padding-top:0}.guide-editor-heading{padding-top:55px}

.d-flex>*{min-width:0}.notification-message-preview{max-width:100%}
