.gp24-office { color:#193858; min-width:0; padding:clamp(14px,2.4vw,28px); }
.gp24-office-head {
 display:flex; flex-wrap:wrap; justify-content:space-between; gap:12px; align-items:center;
 background:linear-gradient(120deg,#16468f,#1970db); color:white;
 border:1px solid #396fbe;border-radius:15px;padding:15px 18px;box-shadow:inset 0 1px 0 #ffffff55,0 4px 0 #174486;
}
.gp24-office-head :is(h2,p) { margin:0;color:#fff; }
.gp24-expert-code { display:grid; gap:3px; padding:8px 11px; border-radius:9px; background:#163c79; color:#fff; }
.gp24-expert-code strong { font-variant-numeric:tabular-nums; letter-spacing:.03em; }
.gp24-office-nav { display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:10px; margin:18px 0; }
.gp24-office-nav button,.gp24-template {
 display:grid; gap:5px; align-content:start; min-width:0; text-align:left;
 padding:12px;border:1px solid #cedff6;border-radius:12px;color:#17365f;
 background:linear-gradient(150deg,#fff,#eef5ff);box-shadow:inset 0 1px 1px #fff,0 3px 0 #c4d8f2,0 6px 10px #1c48861a;
}
.gp24-office-nav button[aria-pressed="true"],.gp24-template[aria-pressed="true"] { border-color:#5589d8;background:#e6f1ff;box-shadow:0 3px 0 #699ee8,inset 0 0 0 1px #79abe9; }
.gp24-office-nav button>span {
 width:30px;height:30px;display:grid;place-items:center;border-radius:8px;color:white;
 background:linear-gradient(#5d96eb,#235eae);box-shadow:inset 0 -3px 0 #113f7f,0 2px 4px #122d542d;
}
.gp24-office-nav button small,.gp24-template small { color:#435c7c;font-size:.76rem; }
.gp24-office-content { border:0;margin:0; padding:0;min-width:0; }
.gp24-layout-cards { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 15px; }
.gp24-template-paper {
 display:grid;gap:4px;align-content:start;width:min(95px,100%);height:96px;
 padding:9px 8px;background:white;border:1px solid #dae4ef;border-top:4px solid #235eae;border-radius:3px;
 box-shadow:0 4px 8px #223e6522;overflow:hidden;margin-bottom:6px;
}
.gp24-template-paper b { font-size:10px; }
.gp24-template-paper i { display:block;height:3px;background:#dae2ec;border-radius:3px; }
.gp24-template-paper i:nth-child(3n) { width:78%; }
.gp24-template[data-template="compact"] .gp24-template-paper { gap:3px; box-shadow:3px 4px 0 #d0deed; }
.gp24-office-two,.gp24-letter-compose { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px; align-items:start; }
.gp24-office-fields { display:grid; gap:8px; min-width:0; }
.gp24-office-fields :is(input,textarea),.gp24-office-content :is(input:not([type="color"]),textarea,select) { max-width:100%;min-width:0;width:100%; }
.gp24-office-content input[type="color"] { max-width:65px; min-height:42px; padding:3px; cursor:pointer; }
.gp24-office-paper {
 padding:16px;border:1px solid #cedcf0;border-top:4px solid #235eae;border-radius:8px;background:#fff;
 box-shadow:0 3px 0 #d4e2f5;color:#172d46;overflow-wrap:anywhere;
}
.gp24-office-paper :is(p,footer) { white-space:pre-wrap;font-size:.84rem; }
.gp24-office-paper header { margin:10px 0;border-bottom:1px solid #e6edf7; }
.gp24-office-paper img { display:block; max-width:130px; max-height:62px;object-fit:contain; }
.gp24-office-paper footer { border-top:1px solid #d2e0f2; }
.gp24-office-save { display:flex;justify-content:flex-end; margin:14px 0 0;padding-top:12px;border-top:1px solid #dae7f9; }
.gp24-office-detail { margin:8px 0;padding:10px;border-radius:8px;border:1px solid #d3e3f5;background:#f8fbff; }
.gp24-office-detail summary { font-weight:700;cursor:pointer; }
.gp24-office-note { color:#294e83;background:#edf5ff;border-radius:8px;padding:9px; }
.gp24-office[data-office-panel]:not([data-office-panel="profile"]) + details.panel { display:none; }
.gp24-letter-compose iframe { display:block;width:100%;min-height:530px;border:1px solid #c8dcf4;border-radius:10px;background:white; }
.gp24-layout-select { display:grid; min-width:105px;gap:1px;color:#284972;font-size:.73rem;text-align:left; }
.gp24-layout-select select { min-height:32px;padding:4px 8px; border-radius:7px; color:#163e73; background:#f4f8ff; }
@media(max-width:730px){
 .gp24-office-two,.gp24-letter-compose { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:430px){
 .gp24-office-nav { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .gp24-layout-cards { gap:6px; }
 .gp24-template { padding:7px; }
 .gp24-template small { font-size:.68rem; }
}
.gp24-office .field { margin-block:0 9px; }
.gp24-office .gp24-office-fields>.field { margin-block:0 4px; }
.gp24-type-settings{padding:1rem;border:1px solid #cbdcf1;border-radius:14px;background:#f5f9ff}
.gp24-type-settings h4{margin:0 0 .65rem;color:#173454}
.gp24-type-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:.6rem .8rem}
.gp24-type-controls .field{min-width:0;margin:0}
.gp24-type-controls select{width:100%;min-height:2.4rem;color:#173454}
.gp24-layout-controls{display:flex;flex-wrap:wrap;align-items:end;gap:.55rem .75rem}
.gp24-type-disclosure{position:relative;min-width:0}
.gp24-type-disclosure summary{width:max-content;max-width:100%;cursor:pointer;padding:.56rem .65rem;border:1px solid #cbdcf1;border-radius:8px;background:#f5f9ff;color:#173454;font-size:.8rem;font-weight:700}
.gp24-type-disclosure .gp24-type-controls{padding:.7rem;background:#fff;border:1px solid #cbdcf1;border-radius:10px}
.gp24-letter-compose .gp24-type-disclosure[open]{width:100%}
.report-head-actions .gp24-type-disclosure[open] .gp24-type-controls{position:absolute;z-index:12;top:calc(100% + .4rem);right:0;width:min(360px,86vw);box-shadow:0 8px 24px #16345126}
@media(max-width:600px){.report-head-actions .gp24-type-disclosure[open] .gp24-type-controls{right:auto;left:0;width:min(300px,80vw)}}
