/* Autoimmune360 v1.2.1 - HealthLoggerProvider mobile-first UI retained and extended */
#autoimmune360-app{max-width:480px;margin:32px auto;background:#222;color:#fff;border-radius:1.5rem;box-shadow:0 2px 24px rgba(0,0,0,.18);padding:20px 14px;font-family:'Segoe UI',Arial,sans-serif;box-sizing:border-box}
.hp-version{text-align:center;color:#bbb;font-size:.86em;margin-bottom:8px}.ai360-patient-row{text-align:center;margin-bottom:12px}.hp-app-title{text-align:center;margin-bottom:14px;font-size:1.7em;color:#fff!important}.hp-small-action{font-size:.9em;padding:6px 10px;border-radius:.7em;border:none;background:#00adb5;color:#111;cursor:pointer}#hp-patient-select{max-width:58%;padding:7px 9px;border-radius:.7em;border:none;background:#393e46;color:#fff}
.ai360-dashboard{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-bottom:10px}.ai360-card{background:#2d323a;border-radius:1rem;padding:11px;min-height:94px;box-sizing:border-box}.ai360-card-wide{grid-column:1/-1;min-height:105px}.ai360-card-kicker{font-size:.74em;letter-spacing:.06em;color:#bbb;font-weight:700;margin-bottom:5px}.ai360-card-value{font-size:1.22em;font-weight:750;color:#00adb5;line-height:1.18}.ai360-small-value{font-size:1.04em}.ai360-card-detail{font-size:.86em;line-height:1.32;color:#eee;margin-top:5px}.ai360-card-value.watch{color:#ffd166}.ai360-card-value.elevated{color:#ff9f43}.ai360-card-value.high{color:#ff6666}
.ai360-action-strip{display:flex;gap:7px;margin-bottom:14px}.ai360-action-strip button{flex:1;padding:9px 7px;border:0;border-radius:.8em;background:#393e46;color:#fff;font-weight:600;font-size:.86em;cursor:pointer}.ai360-action-strip button:hover{background:#00adb5;color:#111}.ai360-panel{background:#2d323a;border-radius:1rem;padding:12px;margin:-3px 0 14px;line-height:1.4}.ai360-panel h3{font-size:1.05em;margin:0 0 8px;color:#fff}.ai360-panel h4{font-size:.94em;margin:12px 0 6px;color:#00adb5}.ai360-panel ul{margin:6px 0 0 18px;padding:0}.ai360-panel li{margin-bottom:5px}.ai360-panel-note{font-size:.82em;color:#cfcfcf;margin-top:9px}.ai360-panel-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:10px}.ai360-panel button,.ai360-panel select,.ai360-panel input{font:inherit}.ai360-panel button{padding:9px 11px;border:none;border-radius:.75em;background:#393e46;color:#fff;cursor:pointer}.ai360-panel button:hover{background:#00adb5;color:#111}.ai360-treatment-form{display:grid;grid-template-columns:1fr;gap:7px;margin-top:8px}.ai360-treatment-form input,.ai360-treatment-form select{width:100%;box-sizing:border-box;padding:9px 10px;border:0;border-radius:.7em;background:#393e46;color:#fff}.ai360-treatment-list{margin-top:9px}.ai360-treatment-item{padding:8px 0;border-top:1px solid #454b55;font-size:.91em}
.hp-menu{display:flex;flex-wrap:wrap;justify-content:space-between;gap:14px;margin-bottom:22px}.hp-item{display:flex;flex-direction:column;align-items:center;background:#393e46;border-radius:1rem;padding:14px 10px 8px;width:120px;cursor:pointer;transition:background .2s,box-shadow .2s;font-size:1.05em;box-shadow:0 2px 6px rgba(0,0,0,.1);min-height:153px;position:relative;box-sizing:border-box}.hp-item.active,.hp-item:hover{background:#00adb5;color:#111;box-shadow:0 4px 16px rgba(0,173,181,.18)}.hp-icon{width:42px;height:42px;margin-bottom:8px;display:flex;align-items:center;justify-content:center}.hp-label{margin-bottom:7px;font-size:1.01em;font-weight:500;text-align:center;line-height:1.15}.hp-prediction{margin-top:auto;font-size:.84em;color:#00adb5;text-align:center;min-height:28px;width:100%;font-weight:600}.hp-prediction.hp-alert{color:#fff!important;background:#e53935;border-radius:.6em;font-weight:700;box-shadow:0 0 8px 3px #e5393580}
.hp-buttons{display:flex;align-items:center;gap:8px;margin-bottom:15px;flex-wrap:wrap}#hp-tap-btn{font-size:1.18em;padding:16px 29px;border-radius:1.2em;border:none;background:#00adb5;color:#111;font-weight:600;box-shadow:0 2px 10px rgba(0,173,181,.07);cursor:pointer;margin-bottom:10px;transition:background .2s}#hp-tap-btn:disabled{background:#444;color:#aaa;cursor:not-allowed}#hp-level-select,#ai360-context-select{font-size:1em;padding:8px 10px;border-radius:.6em;border:none;background:#393e46;color:#fff;cursor:pointer;margin-bottom:10px;max-width:100%}#hp-note-input{width:100%;min-height:62px;padding:10px 12px;border-radius:.9em;border:none;background:#393e46;color:#fff;resize:vertical;margin-top:-2px;margin-bottom:10px;box-sizing:border-box;font-family:inherit}#hp-advanced-btn{font-size:1em;padding:10px 16px;border-radius:.9em;border:none;background:#d32f2f;color:#fff;font-weight:500;cursor:pointer;transition:background .2s}#hp-advanced-btn:hover{background:#b71c1c}#hp-log-buttons{width:100%}#hp-log-buttons>button{font-size:1em;padding:12px 16px;border-radius:.9em;border:none;background:#393e46;color:#fff;font-weight:500;cursor:pointer;margin-top:5px;margin-right:6px;transition:background .18s}#hp-log-buttons>button:hover{background:#00adb5;color:#111}.hp-label-editor{margin-top:12px;background:#2d323a;border-radius:1rem;padding:12px}.hp-label-editor-title{font-weight:700;margin-bottom:10px;color:#fff}.hp-label-row{display:grid;grid-template-columns:1fr;gap:6px;margin-bottom:10px}.hp-label-row label{color:#fff;font-size:.95em}.hp-label-input{width:100%;padding:10px 12px;border-radius:.8em;border:none;background:#393e46;color:#fff;box-sizing:border-box}.hp-label-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}.hp-label-actions button{font-size:1em;padding:12px 16px;border-radius:.9em;border:none;background:#393e46;color:#fff;font-weight:500;cursor:pointer}.hp-label-actions button:hover{background:#00adb5;color:#111}#hp-status{text-align:center;margin-bottom:12px;font-size:1.06em;min-height:24px}#hp-log-table{margin-top:15px;max-height:240px;overflow:auto}#hp-log-table table{width:100%;border-collapse:collapse;background:#393e46;border-radius:.9em;overflow:hidden;font-size:.88em}#hp-log-table th,#hp-log-table td{padding:7px;text-align:center;vertical-align:top}#hp-log-table th{background:#00adb5;color:#111}#hp-log-table tr:nth-child(even) td{background:#333}.hp-safety-note{font-size:.86em;color:#cfcfcf;text-align:center;margin-top:12px;line-height:1.35}
@media(max-width:430px){#autoimmune360-app{margin:10px auto;padding:16px 10px;border-radius:1rem}.hp-menu{gap:9px;justify-content:center}.hp-item{width:calc(33.333% - 7px);min-width:96px;padding:11px 6px 7px;min-height:145px;font-size:.96em}#hp-tap-btn{width:100%}#hp-level-select,#ai360-context-select{width:100%;margin-left:0!important}.ai360-action-strip{gap:5px}.ai360-action-strip button{font-size:.79em;padding:9px 4px}}

/* Provider management and governance - v1.2.1 */
.ai360-provider-name{text-align:center;color:#cfcfcf;font-size:.9em;margin:-7px 0 13px}.ai360-governance-summary{margin-top:12px;padding:10px 12px;border-radius:.85em;background:#2d323a;color:#eee;font-size:.9em;line-height:1.35}.ai360-governance-form{display:grid;grid-template-columns:1fr;gap:9px;margin-top:10px}.ai360-governance-form label{display:grid;gap:5px;font-size:.9em;color:#fff}.ai360-governance-form select,.ai360-governance-form input,.ai360-governance-form textarea{width:100%;box-sizing:border-box;padding:9px 10px;border:0;border-radius:.7em;background:#393e46;color:#fff;font:inherit}.ai360-governance-form textarea{resize:vertical}.ai360-governance-form button{padding:10px 12px;border:0;border-radius:.8em;background:#00adb5;color:#111;font-weight:700;cursor:pointer}
