
        body.toma36-flow-body{margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#f2f5f8;color:#1a1f28;}
        .toma36-flow-shell{max-width:1080px;width:100%;box-sizing:border-box;margin:0 auto;padding:16px 16px 80px;}
        .toma36-flow-header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:18px;}
        .toma36-flow-header h1{margin:0;font-size:1.6rem;letter-spacing:-0.04em;}
        .toma36-flow-header p{margin:6px 0 0;color:#5b6675;font-size:0.95rem;}
        .toma36-flow-logout{display:inline-block;padding:10px 14px;background:#ffffff;color:#1a1f28;border:1px solid #d4d8dd;border-radius:14px;text-decoration:none;font-size:0.95rem;}
        .toma36-flow-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-bottom:20px;}
        .toma36-flow-card{background:#ffffff;border-radius:22px;padding:18px 16px;box-shadow:0 12px 32px rgba(14,25,50,.06);min-height:120px;display:flex;flex-direction:column;justify-content:space-between;}
        .toma36-flow-card-label{margin:0 0 12px;font-size:0.95rem;color:#6c7585;}
        .toma36-flow-card-value{margin:0;font-size:2.1rem;font-weight:700;color:#111827;}
        .toma36-flow-section{margin-bottom:20px;}
        .toma36-flow-section h2{margin:0 0 14px;font-size:1.15rem;color:#111827;}
        .toma36-flow-form{display:grid;gap:12px;}
        .toma36-flow-form label{display:block;background:#ffffff;border:1px solid #d4d8dd;border-radius:18px;padding:14px 16px;font-size:0.95rem;color:#111827;}
        .toma36-flow-form input[type="text"], .toma36-flow-form input[type="number"], .toma36-flow-form select, .toma36-flow-form textarea{width:100%;border:none;outline:none;background:transparent;font-size:1rem;margin-top:6px;color:#111827;}
        .toma36-flow-form textarea{min-height:100px;resize:vertical;}
        .toma36-flow-button{width:100%;display:inline-flex;justify-content:center;align-items:center;padding:14px 18px;border:none;border-radius:18px;background:#111827;color:#ffffff;font-weight:700;font-size:1rem;cursor:pointer;}
        .toma36-flow-list{display:grid;gap:12px;}
        .toma36-flow-item{background:#ffffff;border-radius:22px;padding:18px;box-shadow:0 10px 24px rgba(14,25,50,.06);}
        .toma36-flow-item-link{display:block;color:inherit;text-decoration:none;}
        .toma36-flow-item-title{font-size:1rem;margin-bottom:10px;color:#111827;}
        .toma36-flow-item-meta{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;}
        .toma36-flow-status{display:inline-flex;padding:6px 10px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:0.85rem;}
        .toma36-flow-amount{font-size:0.95rem;font-weight:700;color:#111827;}
        .toma36-flow-date{font-size:0.85rem;color:#6c7585;}
        .toma36-flow-item-memo{margin-top:8px;font-size:0.9rem;color:#5b6675;}
        .toma36-flow-empty{margin:0;color:#5b6675;font-size:0.98rem;}

        .toma36-flow-form-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;}
        .toma36-flow-fieldset{background:#ffffff;border:1px solid #d4d8dd;border-radius:18px;padding:14px 16px;}
        .toma36-flow-fieldset legend{font-weight:700;color:#111827;padding:0 4px;}
        .toma36-flow-check{display:flex!important;align-items:center;gap:8px;min-height:auto!important;border:none!important;padding:8px 0!important;background:transparent!important;box-shadow:none!important;}
        .toma36-flow-check input{width:auto!important;margin:0!important;}
        .toma36-flow-notice{border-radius:16px;padding:12px 14px;margin:0 0 14px;font-weight:700;}
        .toma36-flow-notice-success{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0;}
        .toma36-flow-notice-error{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca;}
        .toma36-flow-month-nav{display:flex;align-items:center;justify-content:space-between;background:#ffffff;border-radius:18px;padding:14px 16px;box-shadow:0 10px 24px rgba(14,25,50,.05);}
        .toma36-flow-month-nav a{color:#111827;text-decoration:none;font-weight:700;}
        .toma36-flow-calendar-nav{display:flex;align-items:center;justify-content:space-between;background:#ffffff;border-radius:18px;padding:14px 16px;margin:0 0 12px;box-shadow:0 10px 24px rgba(14,25,50,.05);}
        .toma36-flow-calendar-nav a{color:#111827;text-decoration:none;font-weight:700;}
        .toma36-flow-calendar-grid,.toma36-flow-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;margin-bottom:16px;}
        .toma36-flow-calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:10px;margin-bottom:20px;}
        .toma36-flow-calendar-day{display:block;min-height:112px;background:#ffffff;border:1px solid #e5e7eb;border-radius:16px;padding:10px;box-shadow:0 8px 20px rgba(14,25,50,.04);overflow:hidden;color:inherit;text-decoration:none;}
        .toma36-flow-calendar-day.is-selected{border-color:#2563eb;box-shadow:0 0 0 2px rgba(37,99,235,.18),0 8px 20px rgba(14,25,50,.04);}
        .toma36-flow-calendar-date{font-weight:800;font-size:.95rem;margin-bottom:8px;color:#111827;}
        .toma36-flow-schedule-dot{display:flex;align-items:center;gap:5px;font-size:.72rem;line-height:1.25;color:#374151;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:4px 0;}
        .toma36-flow-schedule-dot span{width:8px;height:8px;border-radius:999px;display:inline-block;flex:0 0 auto;}
        .toma36-flow-schedule-dot em{font-style:normal;overflow:hidden;text-overflow:ellipsis;}
        .toma36-flow-schedule-dot.blue span{background:#2563eb;}
        .toma36-flow-schedule-dot.orange span{background:#f59e0b;}
        .toma36-flow-schedule-dot.red span{background:#dc2626;}
        .toma36-flow-schedule-more{font-size:.72rem;color:#6b7280;margin-top:4px;}
        .toma36-flow-day-detail{background:#ffffff;border-radius:20px;padding:16px;box-shadow:0 10px 24px rgba(14,25,50,.05);}
        .toma36-flow-list.compact{gap:8px;}
        .toma36-flow-schedule-list-item{background:#ffffff;border:1px solid #e5e7eb;border-left:5px solid #94a3b8;border-radius:16px;padding:12px 14px;}
        .toma36-flow-schedule-list-item.status-tentative{border-left-color:#f59e0b;}
        .toma36-flow-schedule-list-item.status-pending{border-left-color:#f59e0b;}
        .toma36-flow-schedule-list-item.status-approved{border-left-color:#2563eb;}
        .toma36-flow-schedule-list-item.status-returned{border-left-color:#64748b;}
        .toma36-flow-schedule-list-item.status-rejected{border-left-color:#dc2626;}
        .toma36-flow-schedule-list-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;margin-bottom:8px;}
        .toma36-flow-status-pill{display:inline-flex;align-items:center;white-space:nowrap;border-radius:999px;padding:4px 9px;font-size:.78rem;font-weight:800;background:#e5e7eb;color:#374151;}
        .toma36-flow-status-pill.status-tentative{background:#fef3c7;color:#92400e;}
        .toma36-flow-status-pill.status-pending{background:#fef3c7;color:#92400e;}
        .toma36-flow-status-pill.status-approved{background:#dbeafe;color:#1d4ed8;}
        .toma36-flow-status-pill.status-returned{background:#e5e7eb;color:#374151;}
        .toma36-flow-status-pill.status-rejected{background:#fee2e2;color:#b91c1c;}
        .toma36-flow-approval-form{display:grid;gap:10px;margin-top:12px;}
        .toma36-flow-approval-form textarea{width:100%;min-height:72px;border:1px solid #d4d8dd;border-radius:14px;padding:10px;font-size:1rem;box-sizing:border-box;}
        .toma36-flow-button-row{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;}
        .toma36-flow-button.small{padding:10px 8px;border-radius:14px;font-size:.9rem;}
        .toma36-flow-button.secondary{background:#4b5563;}
        .toma36-flow-button.danger{background:#b91c1c;}
        .toma36-flow-bottom-nav{position:fixed;left:0;right:0;bottom:0;display:flex;justify-content:space-around;padding:10px 0;background:#ffffff;border-top:1px solid #e5e7eb;box-shadow:0 -2px 16px rgba(15,23,42,.08);}
        .toma36-flow-bottom-nav{overflow-x:auto;}
        .toma36-flow-bottom-nav a{position:relative;color:#1a1f28;text-decoration:none;font-size:0.82rem;font-weight:600;padding:12px 6px;flex:1 0 auto;min-width:56px;text-align:center;}
        .toma36-flow-bottom-nav a.is-active{color:#0f172a;font-weight:800;}
        .toma36-flow-nav-label{display:inline-block;}
        .toma36-flow-nav-badge{position:absolute;top:2px;right:12px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#dc2626;color:#fff;font-size:11px;font-weight:800;line-height:18px;text-align:center;box-shadow:0 2px 6px rgba(220,38,38,.35);}
        .toma36-flow-bottom-nav a.mobile-hidden{display:inline-block;}

        .toma36-flow-asset-option{border:1px solid #bfdbfe;background:#eff6ff;border-radius:16px;padding:12px 14px;margin:8px 0;display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;}
        .toma36-flow-asset-option.is-disabled{background:#f3f4f6;border-color:#e5e7eb;color:#94a3b8;}
        .toma36-flow-asset-qty{display:inline-flex;align-items:center;gap:6px;font-size:12px;}
        .toma36-flow-asset-qty input{width:76px;padding:8px;border:1px solid #cbd5e1;border-radius:10px;}
        .toma36-flow-asset-available{color:#2563eb;font-size:12px;font-weight:700;}
        .toma36-flow-asset-unavailable{color:#dc2626;font-size:12px;font-weight:700;}
        .toma36-flow-mini-button{display:inline-block;margin-top:8px;padding:7px 12px;border-radius:999px;background:#0f172a;color:#fff!important;text-decoration:none;font-size:12px;font-weight:700;}
        .toma36-flow-inline-edit{margin-top:12px;border-top:1px solid #e5e7eb;padding-top:10px;}
        .toma36-flow-inline-edit summary{cursor:pointer;font-weight:700;color:#1d4ed8;margin-bottom:10px;}
        .toma36-flow-delete-form{margin-top:8px;}
        @media (max-width: 900px){.toma36-flow-calendar-grid,.toma36-flow-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;}.toma36-flow-calendar-day{min-height:74px;padding:7px;border-radius:12px;}.toma36-flow-schedule-dot em{display:none;}.toma36-flow-schedule-dot{display:inline-flex;margin:2px 1px;}.toma36-flow-schedule-more{font-size:.68rem;}}
        .t36-report-toolbar{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.t36-report-toolbar h2{margin:0 0 6px}.t36-report-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.t36-month-form{display:flex;gap:6px;align-items:center}.t36-month-form input{border:1px solid #cbd5e1;border-radius:10px;padding:8px}.t36-report-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0}.t36-report-card{background:#fff;border:1px solid #e2e8f0;border-radius:18px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.t36-report-card span{display:block;font-size:13px;color:#475569;font-weight:800;margin-bottom:7px}.t36-report-card strong{display:block;font-size:22px}.t36-report-card small{display:block;color:#64748b;margin-top:5px}.t36-report-card.is-alert{background:#fff7ed;border-color:#fed7aa}.t36-report-card.is-profit{background:#ecfdf5;border-color:#86efac}.t36-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:12px}.t36-section-head h2{margin:0 0 4px}.t36-section-head p{margin:0;color:#64748b}.t36-table-wrap{overflow-x:auto}.t36-report-table{width:100%;border-collapse:collapse;min-width:920px}.t36-report-table th,.t36-report-table td{border-bottom:1px solid #e2e8f0;padding:10px 8px;text-align:left;font-size:14px}.t36-report-table th{background:#f8fafc;color:#334155;font-weight:900}.t36-report-table .num{text-align:right;font-weight:900;white-space:nowrap}.t36-state{display:inline-block;border-radius:999px;background:#e2e8f0;padding:4px 9px;font-size:12px;font-weight:900}.t36-state.is-alert{background:#fee2e2;color:#991b1b}.t36-state.is-paid{background:#dcfce7;color:#166534}.t36-filter-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 14px}.t36-filter-tabs a{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:800;text-decoration:none;color:#0f172a}.t36-filter-tabs a.is-active{background:#0f172a;color:#fff;border-color:#0f172a}@media(max-width:768px){.t36-report-toolbar,.t36-section-head{display:block}.t36-report-actions{justify-content:flex-start;margin-top:12px}.t36-report-summary-grid{grid-template-columns:1fr 1fr}.t36-report-card{padding:13px}.t36-report-card strong{font-size:18px}}
        @media (max-width: 600px){.toma36-flow-shell{padding:14px 8px 90px;}.toma36-flow-header{flex-direction:column;align-items:flex-start;}.toma36-flow-card{padding:16px;}.toma36-flow-item{padding:16px;}.toma36-flow-calendar-grid,.toma36-flow-calendar{grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;}.toma36-flow-calendar-day{min-height:54px;padding:5px;border-radius:10px;}.toma36-flow-calendar-date{font-size:.8rem;margin-bottom:4px;}.toma36-flow-schedule-dot span{width:7px;height:7px;}.toma36-flow-form-two{grid-template-columns:1fr;}.toma36-flow-button-row{grid-template-columns:1fr;}.toma36-flow-schedule-list-head{flex-direction:column;gap:6px;}.toma36-flow-bottom-nav a.mobile-hidden{display:none!important;}.toma36-flow-pc-only{display:none!important;}.toma36-flow-expense-table th:nth-child(3),.toma36-flow-expense-table th:nth-child(5),.toma36-flow-expense-table th:nth-child(7),.toma36-flow-expense-table th:nth-child(8),.toma36-flow-expense-table th:nth-child(9),.toma36-flow-expense-table th:nth-child(10),.toma36-flow-expense-table td:nth-child(3),.toma36-flow-expense-table td:nth-child(5),.toma36-flow-expense-table td:nth-child(7),.toma36-flow-expense-table td:nth-child(8),.toma36-flow-expense-table td:nth-child(9),.toma36-flow-expense-table td:nth-child(10){display:none!important;} }
        .t36-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.t36-direct-work-form textarea{width:100%}.t36-direct-work-details{grid-column:1/-1;margin:18px 0;padding:14px;border:1px solid #d8e0ea;border-radius:14px;background:#f8fafc}.t36-direct-work-details h3{margin:0 0 6px;font-size:16px}.t36-direct-work-table-wrap{overflow-x:auto}.t36-direct-work-table{width:100%;border-collapse:collapse;min-width:720px;background:#fff}.t36-direct-work-table th,.t36-direct-work-table td{border:1px solid #d8e0ea;padding:7px}.t36-direct-work-table th{background:#eef2f7;font-size:13px;text-align:center}.t36-direct-work-table input{width:100%;box-sizing:border-box}.t36-direct-work-table .t36-dw-qty,.t36-direct-work-table .t36-dw-price,.t36-direct-work-table .t36-dw-amount{text-align:right}.t36-dw-clear{background:#b91c1c;color:#fff;border:0;border-radius:8px;padding:7px 10px;font-weight:800}.t36-direct-work-page .t36-direct-work-section{border-left:5px solid #0f766e;}.t36-direct-work-page .t36-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}.t36-direct-work-page .t36-grid-full{grid-column:1 / -1;}.t36-direct-work-page input,.t36-direct-work-page select,.t36-direct-work-page textarea{width:100%;box-sizing:border-box;}@media(max-width:720px){.t36-direct-work-page .t36-form-grid{grid-template-columns:1fr;}.t36-direct-work-page .t36-grid-full{grid-column:auto;}}.t36-project-doc-list{display:grid;gap:18px}.t36-project-doc-card{background:#fff;border:1px solid #d8e0ea;border-radius:18px;padding:18px;box-shadow:0 10px 28px rgba(15,23,42,.06)}.t36-project-doc-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e5e7eb;padding-bottom:14px;margin-bottom:12px}.t36-project-doc-head h3{margin:0 0 6px;font-size:20px}.t36-project-doc-head p{margin:2px 0;color:#475569}.t36-doc-base{font-size:13px}.t36-doc-total{font-size:20px;font-weight:900;white-space:nowrap}.t36-project-doc-rows{display:grid;gap:10px}.t36-project-doc-row{display:grid;grid-template-columns:220px 1fr;gap:12px;align-items:center;border:1px solid #e5e7eb;border-radius:14px;padding:12px;background:#f8fafc}.t36-project-doc-row strong{display:block}.t36-project-doc-row span{font-size:13px;color:#475569}.t36-project-doc-actions{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end;align-items:center}.t36-mini-btn{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:800;cursor:pointer}.t36-mini-btn:hover{background:#eef2f7}@media(max-width:768px){.t36-project-doc-head{display:block}.t36-doc-total{margin-top:8px}.t36-project-doc-row{grid-template-columns:1fr}.t36-project-doc-actions{justify-content:flex-start}.t36-mini-btn{padding:8px 12px}}.t36-doc-list{display:grid;gap:12px}.t36-doc-card{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;background:#fff;border:1px solid #d8e0ea;border-radius:16px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}.t36-pill{display:inline-block;border:1px solid #cbd5e1;background:#f8fafc;border-radius:999px;padding:4px 9px;margin:0 0 4px 4px;font-size:12px;font-weight:700}.t36-doc-amount{text-align:right;font-weight:800;margin:6px 0 0}.t36-pc-only-setting{display:block}@media (max-width:768px){.t36-form-grid{grid-template-columns:1fr}.t36-doc-card{display:block}.t36-doc-amount{text-align:left}.t36-pc-only-setting{display:none!important}.t36-direct-work-section .t36-help{font-size:13px}.toma36-flow-bottom-nav{overflow-x:auto}.toma36-flow-bottom-nav a{min-width:56px}.t36-font-toolbar,.t36-page-toolbar,.t36-cover-toolbar,.t36-sheet-head,.t36-sheet-continuation,.t36-print-cont-title,.t36-page-actions{display:none!important}}

        .t36-doc-compact-list{display:grid;gap:10px;}
        .t36-doc-compact-card{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;background:#fff;border:1px solid #d8e0ea;border-radius:16px;padding:12px 14px;box-shadow:0 8px 22px rgba(15,23,42,.04);}
        .t36-doc-compact-main{display:flex;align-items:center;gap:14px;min-width:0;}
        .t36-doc-compact-title{min-width:180px;max-width:240px;}
        .t36-doc-compact-title strong{display:block;font-size:16px;line-height:1.25;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
        .t36-doc-compact-title span{display:block;margin-top:3px;font-size:12px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
        .t36-doc-compact-buttons{display:flex;align-items:center;gap:7px;flex-wrap:wrap;}
        .t36-doc-status-btn{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900;text-decoration:none;border:1px solid transparent;white-space:nowrap;}
        .t36-doc-status-btn.is-submitted{background:#dbeafe;border-color:#93c5fd;color:#1d4ed8;}
        .t36-doc-status-btn.is-unsubmitted{background:#fee2e2;border-color:#fca5a5;color:#b91c1c;}
        .t36-doc-compact-amount{font-size:16px;font-weight:900;color:#0f172a;white-space:nowrap;text-align:right;}
        .t36-doc-status-note{margin:10px 0 0;font-size:12px;color:#64748b;}
        .is-submitted-sample,.is-unsubmitted-sample{display:inline-flex;align-items:center;justify-content:center;padding:2px 8px;border-radius:999px;font-weight:900;}
        .is-submitted-sample{background:#dbeafe;color:#1d4ed8;}
        .is-unsubmitted-sample{background:#fee2e2;color:#b91c1c;}
        .t36-document-detail-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:14px;margin-bottom:14px;}
        .t36-document-detail-head h2{margin:0 0 4px;}
        .t36-document-detail-head p{margin:0;color:#64748b;}
        .t36-document-detail-status{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end;}
        .t36-document-detail-status span{display:inline-flex;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:900;}
        .t36-document-detail-status .is-blue{background:#dbeafe;color:#1d4ed8;}
        .t36-document-detail-status .is-red{background:#fee2e2;color:#b91c1c;}
        .t36-document-detail-form label{display:block;font-weight:800;color:#0f172a;}
        .t36-document-detail-form input,.t36-document-detail-form textarea{width:100%;box-sizing:border-box;margin-top:6px;border:1px solid #d8e0ea;border-radius:12px;padding:10px;background:#fff;font-size:15px;}
        .t36-grid-full{grid-column:1/-1;}
        .t36-document-detail-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px;}
        @media(max-width:768px){.t36-doc-compact-card{grid-template-columns:1fr;}.t36-doc-compact-main{display:block;}.t36-doc-compact-title{max-width:none;margin-bottom:8px;}.t36-doc-compact-buttons{gap:6px;}.t36-doc-status-btn{font-size:11px;padding:6px 8px;}.t36-doc-compact-amount{text-align:left;}.t36-document-detail-head{display:block;}.t36-document-detail-status{justify-content:flex-start;margin-top:8px;}}
        .t36-map-btn{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:7px 12px;border-radius:999px;background:#0ea5e9;color:#fff!important;text-decoration:none;font-size:13px;font-weight:900;box-shadow:0 6px 14px rgba(14,165,233,.18);}
        .t36-map-btn.is-disabled{background:#cbd5e1;color:#64748b!important;box-shadow:none;cursor:not-allowed;}
        .t36-card-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}




        /* 2026-07-08: PC画面の余白が大きい機能ページは、勤怠管理と同程度の幅で表示する */
        @media (min-width: 901px){
            .toma36-flow-shell.t36-expense-mobile-page,
            .toma36-flow-shell.t36-schedule-page,
            .toma36-flow-shell.t36-approvals-page,
            .toma36-flow-shell.t36-direct-work-page,
            .toma36-flow-shell.t36-msg-shell,
            .toma36-flow-shell.t36-photo-page,
            .toma36-flow-shell.t36-assets-page{max-width:1080px;width:100%;box-sizing:border-box;}
            .t36-schedule-page .toma36-flow-calendar-grid{gap:12px;}
            .t36-schedule-page .toma36-flow-calendar-day{min-height:132px;}
            .t36-expense-mobile-page .toma36-flow-form,
            .t36-assets-page .toma36-flow-form{max-width:none;}
        }
        @media (max-width: 900px){
            .toma36-flow-shell.t36-expense-mobile-page,
            .toma36-flow-shell.t36-schedule-page,
            .toma36-flow-shell.t36-approvals-page,
            .toma36-flow-shell.t36-direct-work-page,
            .toma36-flow-shell.t36-msg-shell,
            .toma36-flow-shell.t36-photo-page,
            .toma36-flow-shell.t36-assets-page{max-width:100%;width:100%;box-sizing:border-box;}
        }

        /* 2026-06-19: 経費管理・月別管理は表の横幅が必要なため、PCではシェル幅を広げる */
        .toma36-flow-shell.t36-reports-page,
        .toma36-flow-shell.t36-expense-management-page{max-width:1180px;width:100%;}
        .t36-reports-page .toma36-flow-card,
        .t36-expense-management-page .toma36-flow-card{width:100%;box-sizing:border-box;}
        .t36-reports-page .t36-table-wrap,
        .t36-expense-management-page .t36-scroll-table{width:100%;box-sizing:border-box;}
        @media (min-width:1181px){
            .t36-reports-page .t36-report-table{min-width:0;}
            .t36-reports-page .t36-report-table th,
            .t36-reports-page .t36-report-table td{font-size:13px;padding:9px 8px;}
        }
        @media (max-width:1180px){
            .toma36-flow-shell.t36-reports-page,
            .toma36-flow-shell.t36-expense-management-page{max-width:calc(100vw - 32px);}
        }

    
        .t36-sup-help{margin:-4px 0 4px;font-size:.82rem;color:#6c7585;}
        .t36-sup-history-link{margin-top:16px;}
        .t36-sup-history-link a{color:#1d4ed8;font-weight:700;text-decoration:none;}
        .t36-sup-history-form{display:grid;gap:14px;}
        .t36-sup-history-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 16px;border:1px solid #dbe5ef;border-radius:14px;background:#fff;}
        .t36-sup-history-toolbar>div{display:grid;gap:4px;}
        .t36-sup-history-toolbar strong{font-size:.94rem;color:#0f172a;}
        .t36-sup-history-toolbar span{font-size:.8rem;color:#64748b;line-height:1.55;}
        .t36-sup-history-delete{flex:0 0 auto;border:1px solid #fecdd3;border-radius:11px;background:#fff1f2;color:#be123c;padding:10px 13px;font-weight:900;cursor:pointer;}
        .t36-sup-history-row{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:stretch;}
        .t36-sup-history-row .toma36-flow-item-link{min-width:0;}
        .t36-sup-history-check{display:flex;align-items:center;justify-content:center;gap:5px;min-width:62px;padding:8px;border:1px solid #dbe5ef;border-radius:12px;background:#fff;color:#475569;font-size:.75rem;font-weight:800;cursor:pointer;}
        .t36-sup-history-check input{width:18px;height:18px;margin:0;}
        .t36-sup-stage{display:inline-flex;padding:3px 9px;border-radius:999px;background:#eef2ff;color:#3730a3;font-size:.78rem;font-weight:700;}
        .t36-sup-unread-dot{color:#dc2626;font-weight:800;font-size:.82rem;}
        .t36-sup-priority-critical{display:inline-flex;margin-left:8px;padding:3px 9px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:.78rem;font-weight:800;}
        .t36-sup-thread{display:grid;gap:12px;margin:16px 0;}
        .t36-sup-diag-handoff-card{min-width:0;}
        .t36-sup-diag-handoff-card p{max-width:100%;}
        .t36-sup-diag-handoff-card .toma36-flow-button{box-sizing:border-box;max-width:100%;white-space:normal;text-align:center;overflow-wrap:anywhere;}
        @media(max-width:600px){.t36-sup-diag-handoff-card .toma36-flow-button{display:flex;width:100%;justify-content:center;}}
        .t36-sup-bubble{max-width:88%;padding:12px 14px;border-radius:16px;background:#ffffff;box-shadow:0 8px 20px rgba(14,25,50,.06);}
        .t36-sup-bubble-me{margin-left:auto;background:#dbeafe;}
        .t36-sup-bubble-other{margin-right:auto;background:#ffffff;}
        .t36-sup-bubble-internal{margin-right:auto;background:#fef9c3;border:1px dashed #ca8a04;max-width:100%;}
        .t36-sup-bubble-head{display:flex;justify-content:space-between;gap:10px;font-size:.78rem;color:#6c7585;margin-bottom:6px;flex-wrap:wrap;}
        .t36-sup-bubble-body{white-space:pre-wrap;word-break:break-word;font-size:.95rem;color:#111827;}
        .t36-sup-bubble-body.t36-sup-bubble-rich{white-space:normal;line-height:1.75;}
        .t36-sup-bubble-rich p{margin:0 0 8px;}
        .t36-sup-bubble-rich h2,.t36-sup-bubble-rich h3,.t36-sup-bubble-rich h4{font-size:1rem;margin:12px 0 6px;color:#0f172a;}
        .t36-sup-bubble-rich ul,.t36-sup-bubble-rich ol{margin:0 0 8px;padding-left:1.4em;}
        .t36-sup-bubble-rich hr{border:0;border-top:1px solid #e2e8f0;margin:10px 0;}
        .t36-sup-bubble-rich .t36-wai-doc-table-wrap{overflow-x:auto;margin:0 0 10px;}
        .t36-sup-bubble-rich .t36-wai-doc-table{border-collapse:collapse;font-size:.9rem;min-width:100%;}
        .t36-sup-bubble-rich .t36-wai-doc-table th,.t36-sup-bubble-rich .t36-wai-doc-table td{border:1px solid #cbd5e1;padding:5px 8px;text-align:left;vertical-align:top;}
        .t36-sup-bubble-rich .t36-wai-doc-table th{background:#f1f5f9;}
        .t36-sup-internal-tag{color:#92400e;font-weight:800;}
        .t36-sup-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
        .t36-sup-attachments img{width:96px;height:96px;object-fit:cover;border-radius:12px;border:1px solid #e5e7eb;}
        .t36-sup-action-row{display:grid;gap:10px;}
        .t36-sup-followup-form textarea{width:100%;min-height:80px;border:1px solid #d4d8dd;border-radius:14px;padding:10px;box-sizing:border-box;margin-top:6px;}
        .t36-sup-admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 16px;}
        .t36-sup-admin-tab{border:1px solid #cbd5e1;background:#fff;border-radius:999px;padding:7px 12px;font-size:13px;font-weight:800;text-decoration:none;color:#0f172a;}
        .t36-sup-admin-tab.is-active{background:#0f172a;color:#fff;border-color:#0f172a;}
        .t36-sup-admin-table-wrap{overflow-x:auto;}
        .t36-sup-admin-table{width:100%;border-collapse:collapse;min-width:1100px;background:#fff;}
        .t36-sup-admin-table th,.t36-sup-admin-table td{border-bottom:1px solid #e2e8f0;padding:9px 8px;text-align:left;font-size:13px;}
        .t36-sup-admin-table th{background:#f8fafc;color:#334155;font-weight:900;}
        .t36-sup-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 20px;}
        .t36-sup-detail-grid div{display:flex;flex-direction:column;gap:2px;font-size:13px;}
        .t36-sup-detail-grid strong{color:#334155;font-size:12px;}
        .t36-sup-break{word-break:break-all;}
        .t36-sup-refnote{grid-column:1/-1;margin:0 0 6px;padding:8px 10px;background:#fef9c3;border:1px solid #eab308;border-radius:10px;font-size:12px;color:#713f12;}

        /* 顧客側サポート詳細：送信・解決・担当者引き継ぎの役割を視覚的に分離 */
        .t36-sup-response-card{display:grid;gap:24px;}
        .t36-sup-section-head{display:grid;gap:7px;}
        .t36-sup-section-head h2{margin:0;color:#0f172a;font-size:clamp(1.35rem,2vw,1.75rem);line-height:1.4;}
        .t36-sup-section-head p{margin:0;color:#64748b;font-size:.92rem;line-height:1.75;}
        .t36-sup-response-block{padding:20px;border:1px solid #dbe5ef;border-radius:20px;background:#f8fbfe;}
        .t36-sup-response-block--question{box-shadow:inset 4px 0 0 #245f83;}
        .t36-sup-response-block--critical{box-shadow:inset 4px 0 0 #dc2626;background:#fffafa;border-color:#fecaca;}
        .t36-sup-critical-check-card{border:1px solid #fecaca!important;background:linear-gradient(180deg,#fff 0%,#fffafa 100%)!important;}
        .t36-sup-critical-check-head{display:grid;gap:8px;padding:2px 0 4px;}
        .t36-sup-critical-check-head h2{margin:0;color:#7f1d1d;font-size:clamp(1.3rem,2vw,1.7rem);line-height:1.45;}
        .t36-sup-critical-check-head p{margin:0;color:#64748b;font-size:.92rem;line-height:1.75;}
        .t36-sup-critical-check-badge{display:inline-flex;width:max-content;padding:5px 10px;border-radius:999px;background:#fee2e2;color:#991b1b;font-size:.74rem;font-weight:900;line-height:1.4;}
        .t36-sup-response-block-head{display:grid;gap:5px;margin-bottom:15px;}
        .t36-sup-response-block-head h3,.t36-sup-choice-card h3,.t36-sup-finish-area h3{margin:0;color:#0f172a;font-size:1.05rem;line-height:1.45;}
        .t36-sup-response-block-head p,.t36-sup-choice-card p,.t36-sup-finish-area p{margin:0;color:#64748b;font-size:.85rem;line-height:1.7;}
        .t36-sup-step-label,.t36-sup-choice-kicker{display:inline-flex;width:max-content;padding:4px 9px;border-radius:999px;background:#e8f3fa;color:#245f83;font-size:.72rem;font-weight:900;line-height:1.4;}
        .t36-sup-followup-form,.t36-sup-message-form{display:grid;gap:13px;}
        .t36-sup-field-label{display:block;color:#334155;font-size:.84rem;font-weight:900;}
        .t36-sup-followup-form textarea,.t36-sup-message-form textarea{width:100%;min-height:132px;border:1px solid #cbd5e1;border-radius:16px;padding:14px 15px;box-sizing:border-box;background:#fff;color:#0f172a;font-size:16px;line-height:1.7;resize:vertical;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;}
        .t36-sup-followup-form textarea:focus,.t36-sup-message-form textarea:focus{outline:none;border-color:#69b8df;box-shadow:0 0 0 4px rgba(105,184,223,.16);}
        .t36-sup-file-field{display:grid;gap:8px;padding:12px 14px;border:1px dashed #cbd5e1;border-radius:14px;background:#fff;color:#475569;font-size:.84rem;font-weight:800;}
        .t36-sup-file-field input[type=file]{max-width:100%;font-size:.84rem;}
        .t36-sup-send-button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px;width:100%;min-height:54px;margin:2px 0 0!important;border-radius:14px!important;background:#0f172a!important;color:#fff!important;border:1px solid #0f172a!important;font-size:1rem!important;font-weight:900!important;box-shadow:0 12px 24px rgba(15,23,42,.12);transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
        .t36-sup-send-button:hover{background:#245f83!important;border-color:#245f83!important;transform:translateY(-1px);box-shadow:0 16px 30px rgba(36,95,131,.18);}
        .t36-sup-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:4px;}
        .t36-sup-choice-card{display:grid;grid-template-rows:1fr auto;gap:16px;min-width:0;padding:18px;border:1px solid #e2e8f0;border-radius:18px;background:#fff;}
        .t36-sup-choice-card>div{display:grid;gap:6px;}
        .t36-sup-choice-card--resolved{background:#f4fbf7;border-color:#cde8d8;}
        .t36-sup-choice-card--resolved .t36-sup-choice-kicker{background:#dcfce7;color:#166534;}
        .t36-sup-choice-card--staff{background:#fffaf5;border-color:#f1dcc7;}
        .t36-sup-choice-card--staff .t36-sup-choice-kicker{background:#ffedd5;color:#9a3412;}
        .t36-sup-resolve-button,.t36-sup-staff-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:48px;padding:11px 16px;border-radius:13px;font-size:.92rem;font-weight:900;line-height:1.35;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease;}
        .t36-sup-resolve-button{border:1px solid #86c8a3;background:#fff;color:#166534;}
        .t36-sup-resolve-button:hover{background:#dcfce7;transform:translateY(-1px);box-shadow:0 10px 22px rgba(22,101,52,.10);}
        .t36-sup-staff-button{border:1px solid #e3a36b;background:#fff;color:#9a3412;}
        .t36-sup-staff-button:hover{background:#ffedd5;transform:translateY(-1px);box-shadow:0 10px 22px rgba(154,52,18,.10);}
        .t36-sup-limit-note{padding:14px 16px;border-radius:14px;background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;font-size:.86rem;line-height:1.7;font-weight:700;}
        .t36-sup-finish-area{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:20px;align-items:center;margin-top:6px;padding-top:24px;border-top:1px solid #e2e8f0;}
        .t36-sup-finish-area>div{display:grid;gap:6px;}
        .t36-sup-submit-status{margin-top:2px;padding:10px 12px;border-radius:12px;background:#eef6fb;color:#245f83;font-size:.82rem;font-weight:800;line-height:1.55;text-align:center;}
        .t36-sup-submit-status[hidden]{display:none!important;}
        .t36-sup-submit-form.is-submitting textarea,.t36-sup-submit-form.is-submitting input[type=file]{pointer-events:none;opacity:.72;}
        .t36-sup-submit-form button.is-loading{cursor:wait!important;transform:none!important;box-shadow:none!important;}
        .t36-sup-spinner{display:inline-block;width:18px;height:18px;flex:0 0 18px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:t36-sup-spin .75s linear infinite;}
        .t36-sup-loading-label{white-space:nowrap;}
        .t36-sup-loading-dots{display:inline-flex;min-width:30px;justify-content:flex-start;}
        .t36-sup-loading-dots span{display:inline-block;opacity:.2;animation:t36-sup-dot 1.05s ease-in-out infinite;}
        .t36-sup-loading-dots span:nth-child(2){animation-delay:.16s;}
        .t36-sup-loading-dots span:nth-child(3){animation-delay:.32s;}
        @keyframes t36-sup-spin{to{transform:rotate(360deg);}}
        @keyframes t36-sup-dot{0%,70%,100%{opacity:.2;transform:translateY(0);}35%{opacity:1;transform:translateY(-2px);}}
        @media(prefers-reduced-motion:reduce){.t36-sup-spinner,.t36-sup-loading-dots span{animation:none!important;}.t36-sup-send-button,.t36-sup-resolve-button,.t36-sup-staff-button{transition:none!important;}}
        @media(max-width:768px){.t36-sup-history-toolbar{align-items:stretch;flex-direction:column;}.t36-sup-history-delete{width:100%;}.t36-sup-history-row{grid-template-columns:1fr;gap:6px;}.t36-sup-history-check{justify-content:flex-start;min-width:0;}.t36-sup-detail-grid{grid-template-columns:1fr;}.t36-sup-choice-grid{grid-template-columns:1fr;}.t36-sup-finish-area{grid-template-columns:1fr;}.t36-sup-response-card{gap:20px;}.t36-sup-response-block{padding:16px;}}
    