.gd-page{max-width:1600px;margin:0 auto;padding:28px 32px;color:var(--ink,#161620)}
.gd-page *,.gd-dialog *{box-sizing:border-box}.gd-page h1{font-size:28px;line-height:1.35;margin:10px 0}.gd-page h2,.gd-dialog h2{font-size:16px;margin:0 0 20px}.gd-page h3,.gd-dialog h3{font-size:14px}.gd-crumb{font-size:11px;letter-spacing:.08em;color:#6f6f7b}.gd-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}.gd-heading p,.gd-privacy,.gd-note{font-size:12px;line-height:1.75;color:#6f6f7b}.gd-privacy{margin:24px 0}.gd-btn{display:inline-flex;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:9px 13px;background:#fff;border:1px solid #e5e5e9;border-radius:9px;font:inherit;font-size:12px;font-weight:600;color:#161620;cursor:pointer;text-decoration:none;white-space:nowrap}.gd-btn svg,.gd-drop svg,.gd-file svg{width:19px;height:19px;flex-shrink:0}.gd-btn:hover{background:#f4f4f6;color:#161620}.gd-btn.primary{background:#c7406d;color:#fff;border-color:#c7406d}.gd-btn.primary:hover{background:#a8365c;color:#fff;border-color:#a8365c}.gd-btn:disabled{opacity:.55;cursor:wait}.gd-btn.selected{background:#161620;color:#fff;border-color:#161620}.gd-page :focus-visible,.gd-dialog :focus-visible{outline:3px solid #c7406d;outline-offset:3px}.gd-toolbar,.gd-month,.gd-scope{display:flex;align-items:center;gap:8px}.gd-toolbar{justify-content:space-between;margin:24px 0 14px;flex-wrap:wrap}.gd-month label{font-size:12px;color:#6f6f7b}.gd-month input,.gd-filters input,.gd-filters select,.gd-form input,.gd-form select,.gd-form textarea,.gd-review select,.gd-review textarea{min-width:0;max-width:100%;background:#fff;color:#161620;border:1px solid #dedee3;border-radius:8px;padding:9px 10px;font:inherit;font-size:13px;min-height:38px}.gd-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);align-items:start;gap:22px}.gd-card{background:#fff;border:1px solid #e5e5e9;border-radius:14px;padding:22px;min-width:0}.gd-steps{display:flex;list-style:none;counter-reset:step;gap:18px;padding:4px 0 22px;margin:0;font-size:11px;color:#6f6f7b}.gd-steps li{display:flex;gap:8px;align-items:center;counter-increment:step}.gd-steps li:before{content:counter(step);border-radius:50%;background:#f5f5f7;padding:4px 8px;font-weight:700}.gd-steps li:first-child{color:#a8365c}.gd-steps li:first-child:before{background:#fdf1f6}.gd-drop{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:218px;background:#fdf3f7;border:1px dashed #ecd1da;border-radius:12px;color:#a8365c;cursor:pointer;padding:22px;font:inherit}.gd-drop:hover,.gd-drop.drag{background:#fbe9f0;border-color:#c7406d}.gd-drop strong{font-size:20px;color:#161620;line-height:1.5}.gd-drop span,.gd-drop small{font-size:11px;color:#6f6f7b}.gd-drop b{font-size:12px}.gd-note{margin:10px 0 0}.gd-totals{display:flex;justify-content:space-between;gap:18px;background:#f8f8fa;padding:20px;border-radius:12px;margin-top:18px}.gd-totals>div{min-width:0}.gd-totals>div:last-child{text-align:right}.gd-totals strong{display:block;font-size:27px;line-height:1.6;font-variant-numeric:tabular-nums}.gd-totals small{font-size:11px;color:#6f6f7b}.gd-pill{display:inline-flex;padding:4px 8px;font-size:10px;font-weight:600;line-height:1.3;border-radius:20px;background:#f3f3f5;color:#565660;white-space:nowrap}.gd-pill.green{background:#edf8f3;color:#1b7a53}.gd-pill.pink{background:#fdf1f6;color:#a8365c}.gd-history h2{display:flex;align-items:center;gap:8px}.gd-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}.gd-filters input{width:100%}.gd-filters select{flex:1;width:100%}.gd-list{max-height:620px;overflow:auto;overscroll-behavior:contain}.gd-row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:20px 0;gap:12px;text-align:left;background:none;border:0;border-bottom:1px solid #e5e5e9;border-radius:0;font:inherit;cursor:pointer}.gd-row:hover{background:#fdf6f9}.gd-row-main{min-width:0}.gd-row strong{display:block;color:#a8365c;font-size:13px;overflow-wrap:anywhere;line-height:1.6}.gd-row small{display:block;color:#6f6f7b;font-size:11px;margin-top:6px;line-height:1.6;overflow-wrap:anywhere}.gd-empty{padding:26px 2px;color:#6f6f7b;font-size:13px;line-height:1.9}.gd-members{margin-top:22px}.gd-table-wrap{overflow:auto}.gd-members table{width:100%;border-collapse:collapse;font-size:13px}.gd-members th,.gd-members td{padding:14px;border-bottom:1px solid #e5e5e9;text-align:right;white-space:nowrap}.gd-members th:first-child,.gd-members td:first-child{text-align:left}.gd-members th{color:#6f6f7b;font-weight:500}.gd-link{border:0;background:none;color:#a8365c;cursor:pointer;font:inherit;font-size:12px;padding:7px 0;text-align:left}.gd-dialog{padding:0;border:1px solid #e5e5e9;border-radius:16px;width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#161620;box-shadow:0 20px 80px #16162026}.gd-dialog::backdrop{background:#16162066}.gd-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:18px 22px;border-bottom:1px solid #e5e5e9;position:sticky;top:0;background:#fff;z-index:2}.gd-dialog-head h2{margin:0;overflow-wrap:anywhere}.gd-dialog-head .gd-btn{padding:6px;min-width:34px}.gd-form,.gd-detail{padding:22px}.gd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.gd-form label,.gd-review label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;min-width:0}.gd-form .wide{grid-column:1/-1}.gd-form small{font-size:11px;color:#6f6f7b;font-weight:400;line-height:1.6}.gd-form textarea{resize:vertical}.gd-form .gd-file{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap;border:1px dashed #d6b8c4;background:#fdf3f7;padding:14px;border-radius:10px;color:#a8365c}.gd-file input{width:100%;background:#fff;font-size:12px}.gd-file-name{font-size:12px;color:#6f6f7b;overflow-wrap:anywhere;margin-bottom:20px}.gd-form-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:18px}.gd-form-error,.gd-error{font-size:12px;color:#a8365c;line-height:1.8;margin-top:16px;white-space:pre-wrap;overflow-wrap:anywhere}.gd-form-error:empty{display:none}.gd-detail-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.gd-detail-top strong{font-size:28px;font-variant-numeric:tabular-nums}.gd-detail dl{font-size:13px;margin:24px 0}.gd-detail dt{color:#6f6f7b;font-size:11px;margin:16px 0 5px}.gd-detail dd{margin:0;overflow-wrap:anywhere;line-height:1.7}.gd-pre{white-space:pre-wrap}.gd-detail-actions{display:flex;flex-wrap:wrap;gap:8px}.gd-review{border-top:1px solid #e5e5e9;margin-top:24px;padding-top:12px;display:grid;gap:14px}.gd-review h3{margin:0}.gd-review textarea{resize:vertical}.gd-audit p{font-size:11px;line-height:1.7;border-left:2px solid #e5e5e9;padding-left:12px}.gd-skeleton{background:#eeeef1;border-radius:12px;height:70px;margin-bottom:24px}.gd-skeleton.tall{height:420px}[hidden].gd-included{display:none}
@media(max-width:1000px){.gd-page{padding:24px}.gd-layout{grid-template-columns:minmax(0,1fr)}.gd-list{max-height:none}.gd-history{width:100%}}
@media(max-width:600px){.gd-page{padding:20px 12px}.gd-page h1{font-size:23px}.gd-heading{align-items:flex-start;gap:10px;flex-wrap:wrap}.gd-heading .gd-btn{min-height:40px}.gd-privacy{margin:18px 0}.gd-toolbar{align-items:flex-start;gap:14px}.gd-month{width:100%}.gd-month input{flex:1}.gd-card{padding:18px 15px}.gd-steps{gap:10px;font-size:10px;justify-content:space-between}.gd-steps li{gap:5px}.gd-drop{padding:18px 12px;min-height:218px}.gd-drop strong{font-size:17px}.gd-totals{padding:14px;gap:12px;flex-wrap:wrap}.gd-totals strong{font-size:23px}.gd-totals small{font-size:10px}.gd-totals>div:last-child{text-align:left}.gd-dialog-head,.gd-form,.gd-detail{padding:18px 16px}.gd-form-grid{gap:14px 10px}.gd-form-grid input{width:100%}.gd-form-grid select{width:100%}.gd-detail-top strong{font-size:25px}.gd-members th,.gd-members td{padding:12px 9px}.gd-dialog input,.gd-dialog select,.gd-dialog textarea{font-size:16px}.gd-review .gd-btn{width:100%}}
.gd-finance-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid #e5e5e9;margin:0 0 26px;padding:0 0 12px}.gd-finance-tabs a{display:block;border-radius:8px;padding:10px 14px;font-size:13px;color:#565660;text-decoration:none}.gd-finance-tabs a[aria-current]{background:#fdf1f6;color:#a8365c;font-weight:600}.gd-finance-tabs a:hover{background:#f4f4f6}.gd-finance-frame>.gd-finance-tabs{margin:0;padding:12px 24px;background:#fff}.gd-finance-frame>.frame-wrap{height:calc(100dvh - 62px)}.gd-finance .gd-privacy{margin:16px 0}.gd-finance-totals{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #e5e5e9;margin:0;padding:24px;gap:24px}.gd-finance-totals>div:last-child{text-align:left}.gd-finance-totals strong{font-size:28px;font-weight:600;letter-spacing:-.025em}.gd-finance-totals strong span{font-size:13px;margin-left:4px}.gd-finance-totals>div:first-child strong{color:#a8365c}.gd-finance-basis{margin:14px 0 24px}.gd-finance .gd-filters{display:grid;grid-template-columns:2fr repeat(3,minmax(100px,1fr));gap:10px}.gd-finance .gd-list{max-height:650px}.gd-finance .gd-row{padding:18px 4px}.gd-finance .gd-row strong{font-size:14px}.gd-finance .gd-history{margin-top:24px}.gd-finance .gd-members{margin-bottom:20px}
@media(max-width:1100px){.gd-finance-totals{grid-template-columns:repeat(2,minmax(0,1fr))}.gd-finance .gd-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.gd-finance .gd-filters input{grid-column:1/-1}}
@media(max-width:600px){.gd-finance-totals{padding:18px 15px;gap:22px 14px}.gd-finance-totals strong{font-size:23px}.gd-finance-totals small{font-size:11px;line-height:1.7}.gd-finance-tabs{gap:2px;margin-bottom:22px}.gd-finance-tabs a{padding:10px;font-size:12px}.gd-finance .gd-filters{grid-template-columns:1fr 1fr}.gd-finance .gd-filters select[aria-label="メンバー"]{grid-column:1/-1}.gd-finance .gd-row{align-items:flex-start}.gd-finance-frame>.gd-finance-tabs{padding:12px}.gd-finance .gd-list{max-height:none}}

.gd-upload-preview,.gd-saved-preview{margin:16px 0;background:#f8f8fa;border:1px solid #e5e5e9;border-radius:10px;padding:12px;max-width:100%}.gd-upload-preview[hidden]{display:none}.gd-upload-preview img,.gd-saved-preview img{display:block;width:100%;height:auto;max-height:460px;object-fit:contain;image-orientation:from-image}.gd-upload-preview figcaption,.gd-saved-preview figcaption{font-size:11px;color:#6f6f7b;line-height:1.7;margin-top:10px}

.gd-read-status{padding:12px 14px;background:#f3f1fb;border:1px solid #e6e0f5;border-radius:10px;color:#554773;font-size:13px;line-height:1.6;overflow-wrap:anywhere}.gd-notice-anchor{padding:0 10px 8px}.gd-notice-bell{width:100%;display:flex;align-items:center;gap:10px;min-height:40px;border:0;border-radius:10px;background:#f4f0fc;color:#604582;font:inherit;font-size:12px;font-weight:600;text-align:left;padding:9px 10px;cursor:pointer}.gd-notice-bell svg{width:18px;height:18px;flex-shrink:0}.gd-notice-bell b{margin-left:auto;min-width:18px;border-radius:20px;padding:1px 5px;background:#b94a60;color:white;font-size:10px;text-align:center}.gd-notice-bell b[hidden]{display:none}.gd-notice-help{padding:0 24px;color:#6d6679;font-size:12px;line-height:1.7}.gd-notice-list{padding:0 24px 24px;display:grid;gap:10px}.gd-notice-item{display:grid;gap:6px;width:100%;text-align:left;border:1px solid #e9e3ed;border-radius:12px;background:white;padding:16px;font:inherit;cursor:pointer;overflow-wrap:anywhere}.gd-notice-item:hover{background:#faf7ff}.gd-notice-item strong{font-size:14px}.gd-notice-item span,.gd-notice-item small{font-size:12px;color:#686074}.gd-notice-item .gd-notice-date{font-size:11px;color:#906220;font-weight:600}.gd-notice-item .gd-notice-date.overdue{color:#b13f53}.gd-notice-item small{color:#735392}
/* Match Bloom's existing collapsed/expanded navigation rail. */
.rail .gd-notice-anchor{padding:0 10px 8px}.rail .gd-notice-bell{width:100%;position:relative;white-space:nowrap}.rail .gd-notice-bell>span{position:absolute;left:38px;opacity:0;transition:opacity .12s ease}.rail:hover .gd-notice-bell>span,.rail:focus-within .gd-notice-bell>span{opacity:1}body.rail-snap .rail .gd-notice-bell>span{opacity:0!important}.rail .gd-notice-bell b{position:absolute;top:2px;left:21px;font-size:9px;min-width:15px;padding:1px 4px;line-height:14px}
@media(max-width:1000px){.rail .gd-notice-anchor{padding:0}.rail .gd-notice-bell{width:40px;min-height:36px}.rail .gd-notice-bell>span{display:none}}

.gd-pdf-preview{margin:22px 0;border:1px solid #e3e4ea;border-radius:14px;overflow:hidden;background:#f4f4f7}.gd-pdf-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px;background:#fff;border-bottom:1px solid #e3e4ea}.gd-pdf-tools strong{margin-right:auto;font-size:14px}.gd-pdf-tools button,.gd-pdf-tools select{border:1px solid #dfe0e6;background:#fff;border-radius:7px;min-height:36px;padding:6px 10px;color:#20212a}.gd-pdf-tools button:disabled{opacity:.4}.gd-pdf-tools span{font-size:13px;font-variant-numeric:tabular-nums}.gd-pdf-sheet{padding:12px;overflow:auto;max-height:70vh;text-align:center}.gd-pdf-sheet canvas{display:block;margin:0 auto;background:white;box-shadow:0 2px 12px #20212a15}.gd-pdf-preview>[data-pdf-status]{padding:0 14px}.gd-pdf-preview [hidden]{display:none}

/* Deadline notifications belong to the finance workspace, not the global rail. */
.gd-finance-tabs{align-items:center}.gd-finance-notifications{margin-left:auto}.gd-finance-notifications .gd-notice-bell{width:auto;white-space:nowrap;padding:9px 13px;border:1px solid #e6e0f0;font-family:inherit}.gd-finance-notifications .gd-notice-bell:hover{background:#ebe4f6}.gd-finance-notifications .gd-notice-bell:focus-visible{outline:3px solid #c7406d;outline-offset:3px}
@media(max-width:600px){.gd-finance-notifications{margin-left:0;flex-basis:100%}.gd-finance-frame>.frame-wrap{height:calc(100dvh - 112px)}}
